:root {
  --night: #022d2a;
  --deep: #053b34;
  --green: #0f8b78;
  --bright: #1ecd77;
  --paper: #f4f6f2;
  --paper-2: #e9eee8;
  --ink: #102521;
  --muted: #5e6d68;
  --line: rgba(16, 37, 33, .14);
  --white: #fff;
  --shell: min(1320px, calc(100vw - 72px));
  --shadow: 0 24px 80px rgba(2, 45, 42, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid #72f0a7;
  outline-offset: 4px;
}

::selection { background: var(--bright); color: var(--night); }

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(88px, 10vw, 150px); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--night);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 86px;
  color: var(--white);
  transition: background .35s ease, height .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  height: 74px;
  background: rgba(2, 45, 42, .94);
  box-shadow: 0 12px 42px rgba(2, 30, 28, .2);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 198px; height: auto; }

.primary-nav { display: flex; align-items: center; gap: clamp(22px, 2.2vw, 38px); }
.primary-nav a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--bright);
  transition: right .3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--white); }
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
}

.nav-cta:hover { background: var(--white); color: var(--night) !important; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 920px;
  height: max(920px, 100svh);
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero-media,
.hero-overlay,
.hero-grid { position: absolute; inset: 0; }

.hero-media {
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center 56%;
  transform: scale(1.025);
  animation: heroIn 1.8s var(--ease) both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,45,42,.95) 0%, rgba(2,45,42,.78) 40%, rgba(2,45,42,.18) 80%),
    linear-gradient(0deg, rgba(2,31,29,.78) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0,18,17,.56) 0%, transparent 25%);
}

.hero-grid {
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(90deg, black 0%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 132px);
  padding-top: 112px;
}

.eyebrow {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-eyebrow { color: rgba(255,255,255,.76); }
.hero-eyebrow span { width: 34px; height: 2px; background: var(--bright); }

.hero h1 {
  max-width: 1500px;
  margin: 0;
  font-family: "Segoe UI Light", "Segoe UI", sans-serif;
  font-size: clamp(52px, 4.8vw, 90px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero h1 > span,
.hero h1 em { display: block; }
.hero h1 em { color: #a9f5c8; font-style: normal; }

@media (min-width: 781px) {
  .hero h1 > span,
  .hero h1 em { white-space: nowrap; }
}

.hero-lead {
  max-width: 700px;
  margin: 32px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--bright); color: var(--night); }
.button-primary:hover { background: #a9f5c8; }
.button-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.button-dark { background: var(--night); color: var(--white); }

.hero-footer {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) 160px;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-footer > div { display: flex; align-items: baseline; gap: 12px; }
.hero-footer strong { font-size: 28px; font-weight: 300; }
.hero-footer span { color: rgba(255,255,255,.58); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.scroll-cue {
  justify-self: end;
  width: 108px;
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  text-decoration: none;
}

.scroll-cue i { display: block; width: 1px; height: 22px; background: var(--bright); }

.kicker {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker-light { color: #8beab1; }

.statement { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 7vw; align-items: start; }
.statement-copy { max-width: 970px; }
.statement h2,
.section-heading h2,
.integrated h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Segoe UI Light", "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: -.042em;
  line-height: 1.05;
}

.statement h2 { font-size: clamp(46px, 5.7vw, 88px); }
.statement-copy > p { max-width: 770px; margin: 34px 0 0; color: var(--muted); font-size: 20px; }

.services { padding-top: 22px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 7vw;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .kicker { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(42px, 4.3vw, 68px); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 17px; }
.section-heading.compact { margin-bottom: 42px; }

.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card {
  --accent: var(--bright);
  position: relative;
  min-height: 510px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
  isolation: isolate;
}

.service-card:nth-child(1) { grid-column: span 7; }
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(5) { grid-column: span 4; min-height: 480px; }
.service-card:nth-child(6) { grid-column: span 12; min-height: 480px; }

.service-image,
.service-shade { position: absolute; inset: 0; }
.service-image {
  z-index: -2;
  background-image: var(--service-image);
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease), filter .8s ease;
}

.service-card--regularizacao .service-image { background-position: 58% center; }
.service-card--licenciamento .service-image { background-position: 62% center; }
.service-card--geo .service-image { background-position: center 55%; }

.service-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2,30,28,.24), rgba(2,30,28,.88)),
    linear-gradient(90deg, rgba(2,30,28,.42), transparent 70%);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(.12);
  transform-origin: left;
  transition: transform .6s var(--ease);
}

.service-card:hover .service-image { transform: scale(1.045); filter: saturate(1.06); }
.service-card:hover::after { transform: scaleX(1); }

.service-top {
  position: absolute;
  inset: 26px 28px auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-top i { flex: 1; height: 1px; background: rgba(255,255,255,.24); }
.service-content { position: absolute; inset: auto 30px 34px; }
.service-content > p { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.service-content h3 { max-width: 650px; margin: 0; font-size: clamp(27px, 2.4vw, 40px); font-weight: 450; line-height: 1.08; letter-spacing: -.035em; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.74); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.service-link {
  margin-top: 24px;
  padding: 0 0 5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.44);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.service-link:hover,
.service-link:focus-visible { border-color: var(--accent); }

.integrated {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.integrated::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: radial-gradient(circle at center, transparent 0 3px, rgba(255,255,255,.45) 3.5px 4px, transparent 4.5px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 48%);
}

.integrated-orbit { position: absolute; width: 740px; height: 740px; left: -280px; top: 50%; transform: translateY(-50%); opacity: .22; }
.integrated-orbit i { position: absolute; inset: 0; border: 1px solid rgba(116,244,168,.42); border-radius: 50%; }
.integrated-orbit i:nth-child(2) { inset: 90px; }
.integrated-orbit i:nth-child(3) { inset: 190px; }

.integrated-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: center; }
.integrated-copy h2 { max-width: 720px; margin-top: 20px; font-size: clamp(50px, 5.3vw, 84px); }
.integrated-copy > p:not(.kicker) { max-width: 660px; margin: 30px 0 0; color: rgba(255,255,255,.67); font-size: 18px; }

.area-spectrum { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.area-spectrum span { position: relative; padding: 7px 10px 7px 24px; border: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.72); font-size: 11px; }
.area-spectrum span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--c); transform: translateY(-50%); }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-list > li > span { color: #8beab1; font-size: 12px; font-weight: 800; }
.process-list h3 { margin: 0; font-size: 20px; font-weight: 550; }
.process-list p { margin: 7px 0 0; color: rgba(255,255,255,.58); font-size: 14px; }

.capabilities { background: #eef2ed; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.35); transition: background .25s ease, transform .25s var(--ease); }
.capability:hover { z-index: 1; background: var(--white); transform: translateY(-5px); box-shadow: var(--shadow); }
.capability > span { color: var(--green); font-size: 11px; font-weight: 800; }
.capability h3 { margin: 82px 0 12px; font-size: 23px; font-weight: 550; letter-spacing: -.025em; }
.capability p { margin: 0; color: var(--muted); font-size: 14px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-visual { position: relative; margin: 0; min-height: 720px; overflow: hidden; background: var(--deep); }
.about-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,45,42,.75), transparent 45%); }
.about-visual figcaption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; color: var(--white); }
.about-visual figcaption span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-visual figcaption strong { font-size: 28px; font-weight: 350; }

.about-copy .kicker { margin-bottom: 22px; }
.about-copy h2 { font-size: clamp(46px, 5vw, 76px); }
.about-copy > p { color: var(--muted); }
.about-copy .about-lead { margin-top: 28px; color: var(--ink); font-size: 20px; }

.principles { margin-top: 38px; border-top: 1px solid var(--line); }
.principles > div { display: grid; grid-template-columns: 94px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.principles p { margin: 0; color: var(--muted); font-size: 14px; }

.partners {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}
.partners::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -330px;
  right: -160px;
  border: 1px solid rgba(130,255,199,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(130,255,199,.025), 0 0 0 180px rgba(130,255,199,.018);
  pointer-events: none;
}
.partners .section-heading { position: relative; z-index: 1; }
.partners .section-heading h2 { color: var(--white); }
.partners .section-heading > p { color: rgba(255,255,255,.68); }
.partner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.partner-card {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(130,255,199,.55);
  background: rgba(255,255,255,.09);
}
.partner-logo {
  display: grid;
  place-items: center;
  min-height: 154px;
  padding: 24px 18px;
  background: #fff;
}
.partner-logo img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .3s ease, opacity .3s ease, transform .3s var(--ease);
}
.partner-card:hover .partner-logo img { filter: none; opacity: 1; transform: scale(1.025); }
.partner-card figcaption {
  margin-top: 13px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.team { background: #e6ece7; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { position: relative; display: flex; flex-direction: column; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.person-photo { position: relative; aspect-ratio: .78; overflow: hidden; background: var(--deep); }
.person-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .person-photo img { transform: scale(1.035); }
.person-index { margin-top: 18px; color: var(--green); font-size: 11px; font-weight: 800; }
.person h3 { margin: 7px 0 3px; font-size: 25px; font-weight: 520; letter-spacing: -.025em; }
.person-role { margin: 0 !important; color: var(--muted) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .06em; }
.person-role span { color: var(--bright); }
.person-specialty { min-height: 72px; margin: 13px 0 0; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.45; }
.person-services { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.person-tags span { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; }

.contact { background: var(--paper); }
.contact-panel { display: grid; grid-template-columns: .94fr 1.06fr; background: var(--deep); color: var(--white); box-shadow: var(--shadow); }
.contact-copy { padding: clamp(42px, 5.6vw, 76px); background: var(--night); }
.contact-copy h2 { margin-top: 18px; font-size: clamp(44px, 4.3vw, 68px); }
.contact-copy > p:not(.kicker) { margin-top: 24px; color: rgba(255,255,255,.64); }
.contact-direct { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-direct a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.contact-direct span { color: rgba(255,255,255,.48); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contact-direct strong { font-size: 14px; font-weight: 550; }

.contact-form { align-content: start; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: clamp(42px, 5.6vw, 76px); background: #f7f9f8; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.field input,
.field select,
.field textarea { width: 100%; border: 0; border-bottom: 1px solid #a9b5af; border-radius: 0; background: transparent; color: var(--ink); padding: 10px 0 12px; outline: 0; }
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.form-submit { justify-self: start; margin-top: 5px; border: 0; }
.form-note { align-self: center; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.form-note.is-active { color: var(--deep); font-weight: 700; }

.site-footer { padding-top: 68px; background: var(--night); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-brand img { width: 190px; height: auto; }
.footer-top > p { justify-self: center; margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }
.back-top { justify-self: end; text-decoration: none; font-size: 12px; font-weight: 700; }
.back-top span { margin-left: 12px; color: var(--bright); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 6vw; padding-block: 48px; }
.footer-grid span { color: #8beab1; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p { margin: 12px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: 11px; }
.footer-bottom a { color: inherit; }

.legal-page { background: var(--paper); color: var(--ink); }
.legal-page .site-header { background: rgba(2,45,42,.98); }
.legal-main { min-height: 70vh; }
.legal-shell { width: min(860px, calc(100vw - 40px)); margin-inline: auto; padding: 160px 0 110px; }
.legal-shell .kicker { color: var(--green); }
.legal-shell h1 { max-width: 760px; margin: 18px 0 32px; font-size: clamp(44px, 7vw, 78px); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.legal-shell h2 { margin: 46px 0 14px; font-size: 24px; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-shell a { color: var(--deep); font-weight: 650; }
.legal-shell .legal-updated { margin-bottom: 34px; font-size: 13px; }
.not-found { display: grid; min-height: 100svh; place-items: center; background: var(--night); color: var(--white); text-align: center; }
.not-found-inner { width: min(720px, calc(100vw - 40px)); }
.not-found strong { display: block; color: var(--bright); font-size: 15px; letter-spacing: .15em; text-transform: uppercase; }
.not-found h1 { margin: 20px 0; font-size: clamp(64px, 18vw, 170px); font-weight: 300; line-height: .8; }
.not-found p { margin: 0 auto 34px; max-width: 560px; color: rgba(255,255,255,.72); }

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bright);
  color: var(--night);
  box-shadow: 0 12px 32px rgba(2,45,42,.26);
  transition: transform .25s var(--ease), background .25s ease;
}
.whatsapp-float:hover { transform: translateY(-4px); background: #8beab1; }
.whatsapp-float svg { width: 26px; fill: currentColor; }

.service-dialog {
  width: min(1040px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 120px rgba(0,20,18,.46);
  overflow: auto;
}
.service-dialog::backdrop { background: rgba(0,24,22,.76); backdrop-filter: blur(9px); }
.dialog-close { position: fixed; z-index: 3; top: max(28px, calc((100svh - min(100svh - 40px, 860px)) / 2 + 14px)); right: max(28px, calc((100vw - min(1040px, 100vw - 40px)) / 2 + 14px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(2,45,42,.92); color: var(--white); font-size: 28px; cursor: pointer; }
.dialog-gallery { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); grid-template-rows: 1fr 1fr; gap: 2px; height: 500px; background: var(--night); }
.dialog-gallery-item { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; margin: 0; overflow: hidden; background: #061f1d; }
.dialog-gallery-item-cover { grid-row: 1 / -1; }
.dialog-gallery-item img { display: block; width: 100%; height: 100%; object-fit: contain; background: #061f1d; }
.dialog-gallery-item figcaption { padding: 9px 12px 10px; background: var(--night); color: rgba(255,255,255,.76); font-size: 10px; font-weight: 700; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; }
.dialog-gallery-item figcaption[hidden] { display: none; }
.dialog-content { padding: clamp(34px, 5vw, 68px); }
.dialog-label { margin: 0 0 11px; color: var(--dialog-accent, var(--green)); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.dialog-content h2 { max-width: 820px; margin: 0; font-family: "Segoe UI Light", "Segoe UI", sans-serif; font-size: clamp(37px, 5vw, 62px); font-weight: 300; line-height: 1.04; letter-spacing: -.04em; }
.dialog-intro { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.dialog-hint { max-width: 760px; margin: 18px 0 0; color: var(--green); font-size: 12px; font-weight: 700; }
.dialog-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.dialog-columns h3 { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.dialog-columns ul { margin: 0; padding: 0; list-style: none; }
.dialog-explainer { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dialog-explainer summary { position: relative; padding: 13px 34px 13px 0; color: var(--ink); font-weight: 650; line-height: 1.4; list-style: none; cursor: pointer; }
.dialog-explainer summary::-webkit-details-marker { display: none; }
.dialog-explainer summary::after { content: "+"; position: absolute; top: 11px; right: 2px; color: var(--dialog-accent, var(--green)); font-size: 20px; font-weight: 400; line-height: 1; }
.dialog-explainer details[open] summary::after { content: "−"; }
.dialog-explainer summary:focus-visible { outline: 2px solid var(--dialog-accent, var(--green)); outline-offset: 4px; }
.dialog-explainer-copy { padding: 0 22px 16px 0; }
.dialog-explainer-copy p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dialog-explainer-copy strong { color: var(--deep); font-weight: 750; }
.dialog-content .button { margin-top: 38px; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes heroIn { from { opacity: .4; transform: scale(1.1); } to { opacity: 1; transform: scale(1.025); } }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 1320px); }
  .menu-button { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border: 0; background: none; color: var(--white); cursor: pointer; }
  .menu-button-label { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
  .menu-button-lines { width: 28px; display: grid; gap: 6px; }
  .menu-button-lines i { display: block; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] .menu-button-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 100px max(28px, calc((100vw - var(--shell)) / 2)); background: rgba(2,45,42,.985); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .3s ease, visibility .3s ease, transform .3s var(--ease); }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { font-size: clamp(28px, 5vw, 46px); font-weight: 300; }
  .nav-cta { margin-top: 14px; font-size: 16px !important; font-weight: 700 !important; }
  .hero-footer { grid-template-columns: repeat(3, 1fr); }
  .scroll-cue { display: none; }
  .service-card:nth-child(n) { grid-column: span 6; min-height: 490px; }
  .integrated-grid { grid-template-columns: 1fr 1fr; gap: 7vw; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  :root { --shell: calc(100vw - 36px); }
  .section-pad { padding-block: 88px; }
  .site-header { height: 74px; }
  .brand img { width: 166px; }
  .hero { min-height: 820px; height: max(820px, 100svh); }
  .hero-media { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(2,45,42,.94), rgba(2,45,42,.56)), linear-gradient(0deg, rgba(2,31,29,.72), transparent 60%); }
  .hero-content { padding-top: 96px; justify-content: center; }
  .hero h1 { max-width: 100%; font-size: clamp(40px, 10.8vw, 56px); line-height: 1; }
  .hero-lead { font-size: 16px; }
  .hero-actions { margin-top: 30px; }
  .hero-footer { min-height: 98px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-footer > div { display: block; }
  .hero-footer strong { display: block; font-size: 20px; }
  .hero-footer span { font-size: 9px; line-height: 1.2; }
  .statement-grid,
  .section-heading,
  .integrated-grid,
  .about-grid,
  .contact-panel { grid-template-columns: 1fr; }
  .statement-grid { gap: 28px; }
  .statement h2 { font-size: 48px; }
  .statement-copy > p { font-size: 17px; }
  .section-heading { gap: 22px; margin-bottom: 38px; }
  .section-heading h2 { font-size: 44px; }
  .service-grid { display: block; }
  .service-card:nth-child(n) { min-height: 470px; margin-bottom: 16px; }
  .service-content { inset: auto 22px 26px; }
  .service-content h3 { font-size: 30px; }
  .integrated-copy h2 { font-size: 51px; }
  .process-list { margin-top: 52px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 220px; }
  .capability h3 { margin-top: 48px; }
  .about-visual { min-height: 560px; }
  .about-grid { gap: 56px; }
  .about-copy h2 { font-size: 48px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-logo { min-height: 138px; padding: 20px 16px; }
  .partner-logo img { height: 76px; }
  .team-grid { grid-template-columns: 1fr; }
  .person-photo { aspect-ratio: .88; }
  .person-specialty { min-height: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-direct a { display: block; }
  .contact-direct strong { display: block; margin-top: 5px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 24px; }
  .footer-top > p { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 5px; }
  .dialog-gallery { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .dialog-gallery-item-cover { grid-column: 1 / -1; grid-row: auto; height: 280px; }
  .dialog-gallery-item:not(.dialog-gallery-item-cover) { height: 220px; }
  .dialog-columns { grid-template-columns: 1fr; gap: 30px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 430px) {
  .dialog-gallery { grid-template-columns: 1fr; }
  .dialog-gallery-item-cover { grid-column: auto; }
  .dialog-gallery-item,
  .dialog-gallery-item:not(.dialog-gallery-item-cover) { height: 240px; }
  .hero-actions .button { width: 100%; }
  .hero-footer > div:nth-child(3) { display: none; }
  .hero-footer { grid-template-columns: 1fr 1fr; }
  .principles > div { grid-template-columns: 1fr; gap: 5px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-card { padding: 8px; }
  .partner-logo { min-height: 112px; padding: 14px 10px; }
  .partner-logo img { height: 68px; }
  .partner-card figcaption { font-size: 9px; letter-spacing: .045em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (max-width: 340px) {
  .partner-grid { grid-template-columns: 1fr; }
}

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