:root {
  --blue: #073a9b;
  --blue-dark: #041d51;
  --blue-deep: #03153b;
  --green: #08a43b;
  --green-dark: #078631;
  --ink: #10213d;
  --muted: #5f6e82;
  --surface: #f5f8fc;
  --line: #dfe7f1;
  --white: #fff;
  --shadow: 0 24px 60px rgba(4, 29, 81, .13);
  --radius: 22px;
  --header-height: 84px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { position: relative; width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 116px 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 12px 18px; color: var(--white); background: var(--blue); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { --current-header-height: var(--header-height); position: fixed; z-index: 100; inset: 0 0 auto; height: var(--current-header-height); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(9,40,88,.08); transition: box-shadow .4s ease, height .4s ease, background .4s ease; animation: header-enter .65s cubic-bezier(.2,.7,.2,1) both; backdrop-filter: blur(14px); }
.site-header.scrolled { --current-header-height: 66px; background: rgba(255,255,255,.985); box-shadow: 0 12px 38px rgba(4,29,81,.13); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand-logo-crop { position: relative; display: block; width: 230px; aspect-ratio: 732 / 220; overflow: hidden; transition: width .4s ease; }
.site-header.scrolled .brand-logo-crop { width: 190px; }
.brand img { position: absolute; inset: 0; width: 100%; max-width: none; height: auto; }
.brand-logo-mark { clip-path: inset(0 71.25% 0 0); }
.brand-logo-word { clip-path: inset(0 0 33.5% 28.75%); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 700; color: #33425a; }
.main-nav > a { position: relative; padding: 12px 0; transition: color .2s ease; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--green); transition: right .25s ease; }
.main-nav > a:hover, .main-nav > a.active { color: var(--blue); }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.main-nav .nav-cta { padding: 11px 19px; color: var(--white); background: var(--blue); border-radius: 999px; }
.main-nav .nav-cta:hover { color: var(--white); background: var(--green-dark); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px auto; background: var(--blue-dark); transition: transform .2s ease, opacity .2s ease; }

.hero { min-height: 760px; position: relative; display: flex; align-items: center; padding-top: var(--header-height); overflow: hidden; color: var(--white); background: linear-gradient(90deg, rgba(3,21,59,.96) 0%, rgba(5,42,107,.86) 52%, rgba(4,29,81,.52) 100%), url("assets/imagem-BG-topo.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-glow { position: absolute; width: 480px; height: 480px; top: 80px; right: 8%; border-radius: 50%; background: rgba(14,179,67,.18); filter: blur(90px); }
.hero-content { position: relative; z-index: 2; padding: 90px 0 170px; }
.eyebrow, .section-kicker { color: var(--green-dark); font-weight: 800; font-size: .78rem; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #8cf0ad; }
.eyebrow span { width: 42px; height: 2px; background: #39d96c; }
.hero h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(3.2rem, 6.7vw, 6.35rem); letter-spacing: -.065em; }
.hero h1 em { color: #54de80; font-style: normal; }
.hero-lead { max-width: 660px; margin-bottom: 38px; color: #d6e3f5; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.2; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 14px 36px rgba(8,164,59,.32); }
.button-primary:hover { background: #11b847; }
.button-ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(255,255,255,.06); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.hero-foot { position: absolute; z-index: 2; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(3,21,59,.54); backdrop-filter: blur(10px); }
.hero-highlights { display: grid; grid-template-columns: .75fr .75fr 1.5fr; }
.hero-highlights > div { display: flex; flex-direction: column; justify-content: center; min-height: 112px; padding: 20px 36px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-highlights > div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.hero-highlights strong { color: var(--white); font-size: 1.22rem; }
.hero-highlights span { color: #aebed5; font-size: .82rem; }

.section-kicker { margin-bottom: 17px; }
.section-kicker-light { color: #69ec94; }
.section h2, .cta h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 4vw, 4rem); color: var(--blue-dark); }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.section-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.02rem; }
.values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 31px; }
.values span { padding: 8px 13px; border: 1px solid #cfdbe9; border-radius: 999px; color: var(--blue); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.about-visual { position: relative; padding: 22px 0 36px 22px; }
.about-visual::before { content: ""; position: absolute; inset: 0 30% 0 0; z-index: -1; border-radius: var(--radius); background: var(--green); }
.about-visual img { width: 100%; min-height: 450px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.experience-card { position: absolute; right: -24px; bottom: 0; width: min(280px, 75%); padding: 23px 25px; color: var(--white); background: var(--blue); border-radius: 16px; box-shadow: var(--shadow); }
.experience-card strong, .experience-card span { display: block; }
.experience-card strong { font-size: 1.04rem; }
.experience-card span { color: #bfd0e9; font-size: .82rem; }

.services { color: var(--white); background: var(--blue-deep); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 50px; }
.services h2 { margin-bottom: 0; color: var(--white); }
.section-heading > p { max-width: 470px; margin: 0 0 8px auto; color: #aabbd5; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 318px; padding: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.045); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(84,222,128,.58); background: rgba(255,255,255,.075); }
.service-card img { width: 68px; height: 68px; object-fit: cover; border-radius: 50%; margin-bottom: 35px; }
.service-number { position: absolute; top: 28px; right: 29px; color: rgba(255,255,255,.26); font-weight: 800; font-size: .82rem; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 14px; font-size: 1.35rem; }
.service-card p { margin: 0; color: #aebed5; font-size: .91rem; }

.solutions { background: var(--surface); }
.solutions-intro { max-width: 760px; margin-bottom: 50px; }
.solutions-intro > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 66px; border-top: 1px solid #ccd8e7; }
.process-step { padding: 28px 28px 20px 0; border-right: 1px solid #ccd8e7; }
.process-step + .process-step { padding-left: 28px; }
.process-step:last-child { border-right: 0; }
.process-step > span { color: var(--green-dark); font-size: .77rem; font-weight: 900; }
.process-step h3 { margin: 17px 0 9px; font-size: 1.12rem; color: var(--blue-dark); }
.process-step p { margin: 0; color: var(--muted); font-size: .88rem; }
.project-gallery { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-template-rows: 235px 235px; gap: 16px; }
.project-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 12px 34px rgba(4,29,81,.08); }
.project-gallery .gallery-large { grid-row: 1 / 3; }
.project-gallery figure:last-child { grid-column: 2 / 4; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-gallery figure:hover img { transform: scale(1.035); }

.cta { position: relative; padding: 82px 0; overflow: hidden; color: var(--white); background: linear-gradient(100deg, rgba(5,42,107,.94), rgba(8,164,59,.85)), url("assets/imagem-01.jpg") center/cover; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -90px; top: -200px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 770px; margin: 0; color: var(--white); font-size: clamp(2rem, 4vw, 3.7rem); }
.button-white { flex: 0 0 auto; color: var(--blue); background: var(--white); }
.button-white:hover { color: var(--white); background: var(--blue-dark); }

.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-copy p:last-child { max-width: 540px; color: var(--muted); font-size: 1.04rem; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list > * { display: flex; align-items: center; gap: 19px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: color .2s ease, padding-left .2s ease; }
.contact-list > a:hover { color: var(--green-dark); padding-left: 10px; }
.contact-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 1.2rem; font-weight: 800; }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-list strong { overflow-wrap: anywhere; color: var(--ink); font-size: .96rem; }

.site-footer { padding: 58px 0 22px; color: #b9c7da; background: #020e28; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 40px; padding-bottom: 45px; }
.footer-main img { width: 180px; height: 114px; object-fit: cover; }
.footer-main p { margin: 0; text-align: center; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer-social a { color: var(--white); font-weight: 800; }
.footer-social a:hover { color: #69ec94; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.footer-bottom a { margin-right: 86px; color: var(--white); }
.whatsapp-float { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; color: var(--white); background: #25d366; box-shadow: 0 12px 30px rgba(0,0,0,.23); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

.js .reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.js .reveal-up { transform: translateY(40px); }
.js .reveal-down { transform: translateY(-40px); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-scale { transform: scale(.97); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s !important; }
.reveal-delay-2 { transition-delay: .24s !important; }
.reveal-delay-3 { transition-delay: .36s !important; }
.reveal-delay-4 { transition-delay: .48s !important; }
.reveal-delay-5 { transition-delay: .6s !important; }
.service-grid .reveal:nth-child(2), .process-grid .reveal:nth-child(2) { transition-delay: .12s; }
.service-grid .reveal:nth-child(3), .process-grid .reveal:nth-child(3) { transition-delay: .24s; }
.service-grid .reveal:nth-child(4), .process-grid .reveal:nth-child(4) { transition-delay: .36s; }
.service-grid .reveal:nth-child(5) { transition-delay: .48s; }
.service-grid .reveal:nth-child(6) { transition-delay: .6s; }

@keyframes header-enter {
  from { opacity: 0; transform: translateY(-28px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --header-height: 76px; }
  .site-header.scrolled { --current-header-height: 64px; }
  .container { width: min(calc(100% - 36px), 780px); }
  .section { padding: 88px 0; }
  .brand-logo-crop { width: 195px; }
  .site-header.scrolled .brand-logo-crop { width: 165px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: var(--current-header-height) 0 auto; display: grid; gap: 0; padding: 20px 28px 30px; visibility: hidden; opacity: 0; transform: translateY(-12px); background: var(--white); box-shadow: 0 25px 40px rgba(4,29,81,.12); transition: opacity .2s ease, transform .2s ease, visibility .2s, top .4s ease; }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .main-nav .nav-cta { margin-top: 14px; padding: 13px 18px; border-bottom: 0; text-align: center; }
  .hero { min-height: 800px; }
  .hero-content { padding-bottom: 225px; }
  .hero-highlights { grid-template-columns: repeat(3, 1fr); }
  .hero-highlights > div { padding: 15px 18px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { width: calc(100% - 20px); }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .section-heading > p { margin-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-top: 1px solid #ccd8e7; }
  .project-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 230px 230px; }
  .project-gallery .gallery-large { grid-column: 1 / 3; grid-row: auto; }
  .project-gallery figure:last-child { grid-column: 1 / 3; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), 520px); }
  .section { padding: 74px 0; }
  .brand-logo-crop { width: 174px; }
  .site-header.scrolled .brand-logo-crop { width: 150px; }
  .hero { min-height: 850px; background-position: 58% center; }
  .hero-content { padding-top: 60px; padding-bottom: 330px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; text-align: center; }
  .hero-highlights { grid-template-columns: 1fr; padding: 13px 0; }
  .hero-highlights > div { min-height: 60px; padding: 8px 14px; border: 0; }
  .hero-highlights > div:last-child { border: 0; }
  .about-visual { width: 100%; padding: 14px 0 50px 14px; }
  .about-visual img { min-height: 330px; }
  .experience-card { right: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 24px 4px; border-right: 0; border-top: 1px solid #ccd8e7; }
  .project-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 235px); }
  .project-gallery .gallery-large, .project-gallery figure:last-child { grid-column: auto; }
  .contact-grid { gap: 35px; }
  .contact-list > * { align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-main img { margin-inline: auto; }
  .footer-main p { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
  .footer-bottom a { margin-right: 0; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition-duration: .35s; }
  .js .reveal-up { transform: translateY(16px); }
  .js .reveal-down { transform: translateY(-16px); }
  .js .reveal-left { transform: translateX(-16px); }
  .js .reveal-right { transform: translateX(16px); }
  .js .reveal.visible { transform: none; }
  .site-header { animation-duration: .35s; }
}

:focus-visible { outline: 3px solid #58df82; outline-offset: 4px; }
