:root {
  --graphite-950: #0b0e11;
  --graphite-900: #11161b;
  --graphite-850: #171d23;
  --graphite-800: #1d252c;
  --ink: #14191e;
  --off-white: #f2efe9;
  --paper: #faf8f4;
  --text: #eef2f4;
  --muted: #aab5be;
  --muted-dark: #5d676f;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(20, 25, 30, 0.17);
  --accent: #69c7ef;
  --accent-dark: #17607f;
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--graphite-950);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-wrap: break-word;
  color: var(--text);
  background:
    radial-gradient(980px 560px at 88% 2%, rgba(77, 126, 151, 0.14), transparent 65%),
    linear-gradient(145deg, #151b21 0%, #0e1216 50%, #11161b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(255,255,255,0.025), transparent 28%, transparent 72%, rgba(255,255,255,0.018)),
    repeating-linear-gradient(90deg, transparent 0, transparent 159px, rgba(255,255,255,0.018) 160px);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 76px;
  background: #11161b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-header.scrolled {
  background: #11161b;
  box-shadow: 0 14px 38px rgba(0,0,0,0.26);
}

.topbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  background: #11161b;
}

.brand-lockup img {
  width: 176px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 12px 0;
  color: #dce3e7;
}

.nav a:not(.nav-cta)::after {
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transition: right 180ms var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }

.nav-cta {
  min-height: 44px;
  padding: 11px 17px !important;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
}

.nav-cta:hover { background: rgba(255,255,255,0.07); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.menu-btn span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  padding: 4px 0 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  min-height: 46px;
  padding: 12px 2px;
  color: #e5eaed;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
  font-weight: 650;
}

.section {
  position: relative;
  padding: 94px 0;
}

.section-rule { border-top: 1px solid rgba(255,255,255,0.1); }

.section-light {
  overflow: hidden;
  color: var(--ink);
  background: var(--off-white);
}

.section-light .eyebrow { color: var(--muted-dark); }
.section-light .lead,
.section-light p { color: #515c64; }

.watermark-dark::after {
  position: absolute;
  z-index: 0;
  top: -9%;
  right: -8%;
  width: min(47vw, 650px);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background: url("marca_dagua_simbolo_preto_transparente.png") center / contain no-repeat;
}

.watermark-dark > .site-shell { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow .num { color: var(--accent); }
.section-light .eyebrow .num { color: var(--accent-dark); }

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 650px;
  padding: 104px 0 124px;
  align-items: center;
  isolation: isolate;
}

.hero::after,
.page-hero::after {
  position: absolute;
  z-index: -1;
  right: clamp(-120px, -5vw, -44px);
  width: min(54vw, 720px);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  opacity: 0.075;
  background: url("marca_dagua_simbolo_branco_transparente.png") center / contain no-repeat;
}

.hero::after { top: 50%; transform: translateY(-50%); }

.hero-copy { position: relative; z-index: 1; max-width: 880px; }

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(52px, 5.25vw, 76px);
  font-weight: 560;
  letter-spacing: -0.046em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero p,
.page-hero p {
  max-width: 710px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-lockup-note {
  display: inline-flex;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
  color: #c7d0d6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-lockup-note::before {
  width: 42px;
  height: 1px;
  content: "";
  background: var(--accent);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 760;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.07); }
.btn.primary { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.btn.primary:hover { background: #fff; border-color: #fff; }
.section-light .btn { color: var(--ink); border-color: rgba(20,25,30,0.24); }
.section-light .btn.primary { color: #fff; background: var(--ink); border-color: var(--ink); }

.h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(37px, 3.5vw, 52px);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.13;
  text-wrap: balance;
}

.lead { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.card {
  min-height: 226px;
  padding: 30px;
  background: rgba(255,255,255,0.54);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  box-shadow: 0 18px 45px rgba(35, 42, 47, 0.06);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.card:hover { transform: translateY(-4px); border-color: rgba(23,96,127,0.45); box-shadow: 0 24px 52px rgba(35,42,47,0.1); }
.card-num { color: var(--accent-dark); font-size: 11px; font-weight: 820; letter-spacing: 0.13em; }
.card h3 { margin: 26px 0 14px; font-size: 23px; line-height: 1.25; }
.card p { margin: 0; color: #515c64; font-size: 15px; }
.card-link { display: inline-flex; min-height: 44px; margin-top: 20px; align-items: center; color: #164e68; font-size: 13px; font-weight: 780; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.steps,
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.step,
.flow-item { padding-top: 20px; border-top: 1px solid var(--line); }
.step .n,
.flow-item .n { color: var(--accent); font-size: 11px; font-weight: 820; }
.step strong,
.flow-item strong { display: block; margin-top: 20px; font-size: 15px; line-height: 1.45; }

.leadership {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 58px;
  margin-top: 48px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(27,34,41,0.95), rgba(15,20,25,0.92));
  border: 1px solid var(--line);
  border-radius: 3px;
}

.portrait-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #11171c;
  border: 1px solid var(--line);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.leadership h3 { margin: 4px 0 0; font-size: 36px; letter-spacing: -0.03em; }
.role { margin-top: 10px; color: var(--accent); font-size: 13px; font-weight: 720; }
.leadership p { max-width: 720px; margin: 36px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: 72px;
  align-items: start;
}

.contact-copy h2 { margin: 0; font-size: clamp(40px, 4.2vw, 58px); letter-spacing: -0.04em; line-height: 1.08; }
.contact-copy p { max-width: 560px; margin-top: 22px; font-size: 17px; line-height: 1.75; }
.contact-email { display: inline-flex; min-height: 44px; margin-top: 24px; align-items: center; color: #164e68; font-weight: 780; text-decoration: underline; text-underline-offset: 5px; }
.contact-mail-only { grid-template-columns: minmax(0, 680px); }

.page-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 520px;
  padding: 100px 0 104px;
  align-content: center;
  isolation: isolate;
}

.page-hero::after { top: 50%; transform: translateY(-50%); width: min(46vw, 590px); }
.page-hero-content { position: relative; z-index: 1; }

.cap-list { margin-top: 42px; border-top: 1px solid var(--line-dark); }

.cap-row {
  display: grid;
  grid-template-columns: 160px 1fr 1.2fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-dark);
}

.cap-tag { color: var(--accent-dark); font-size: 11px; font-weight: 820; letter-spacing: 0.13em; text-transform: uppercase; }
.cap-row h2 { margin: 0 0 14px; font-size: 29px; line-height: 1.2; }
.cap-row p { margin: 0; color: #515c64; font-size: 15px; line-height: 1.72; }
.cap-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.meta-title { margin: 0 0 9px !important; color: #374047 !important; font-size: 11px !important; font-weight: 820; letter-spacing: 0.11em; text-transform: uppercase; }
.cap-meta .meta-copy { color: #4e5961; font-size: 14px; line-height: 1.7; }

.flow-item { min-height: 128px; padding: 22px; background: rgba(255,255,255,0.035); border: 1px solid var(--line); }

.boundaries { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.boundary { padding: 30px; background: rgba(255,255,255,0.52); border: 1px solid var(--line-dark); }
.boundary h3 { margin: 0 0 18px; font-size: 21px; }
.boundary ul { margin: 0; padding-left: 20px; color: #515c64; font-size: 15px; line-height: 1.85; }

.about-stack { margin-top: 38px; }
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 70px; padding: 52px 0; border-top: 1px solid var(--line-dark); }
.about-label { color: var(--accent-dark); font-size: 11px; font-weight: 820; letter-spacing: 0.14em; text-transform: uppercase; }
.about-grid h2 { margin: 0 0 20px; font-size: clamp(34px, 3.3vw, 46px); letter-spacing: -0.034em; line-height: 1.16; }
.about-grid p { max-width: 820px; margin: 0; color: #515c64; font-size: 17px; line-height: 1.8; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.principle { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.principle b { display: block; margin-bottom: 8px; font-size: 15px; }
.principle span { color: #566169; font-size: 14px; line-height: 1.65; }

.privacy-content { max-width: 900px; }
.privacy-content h2 { margin: 46px 0 14px; font-size: 28px; letter-spacing: -0.02em; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p,
.privacy-content li { color: #515c64; font-size: 16px; line-height: 1.8; }
.privacy-content ul { padding-left: 22px; }
.privacy-contact { font-weight: 780; text-decoration: underline; text-underline-offset: 4px; }

.closing-cta { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: end; }
.closing-cta h2 { margin: 0; font-size: clamp(40px, 4vw, 54px); letter-spacing: -0.038em; line-height: 1.1; }
.closing-cta p { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }

.site-footer {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  padding: 50px 0 58px;
  align-items: end;
  color: #566169;
  font-size: 12px;
}

.footer-lockup { display: inline-flex; background: #faf8f4; }
.footer-lockup img { width: 180px; height: auto; }
.footer-tagline { margin-top: 16px; }
.footer-links { display: flex; justify-content: flex-end; gap: 26px; color: var(--ink); font-weight: 700; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.linkedin-link { gap: 8px; }
.linkedin-link svg { width: 16px; height: 16px; flex: 0 0 auto; color: #0a66c2; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin-top: 12px; text-align: right; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .site-shell { width: min(var(--max), calc(100% - 36px)); }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { min-height: 590px; padding: 86px 0 100px; }
  .hero::after { right: -18%; width: 70vw; opacity: 0.06; }
  .cards { grid-template-columns: 1fr; }
  .steps, .flow { grid-template-columns: 1fr 1fr; }
  .leadership { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .cap-row { grid-template-columns: 130px 1fr; }
  .cap-meta { grid-column: 2; }
  .about-grid { grid-template-columns: 170px 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-shell { width: min(var(--max), calc(100% - 28px)); }
  .site-header, .topbar { min-height: 62px; }
  .topbar { gap: 14px; }
  .brand-lockup { min-height: 40px; }
  .brand-lockup img { width: 118px; }
  .menu-btn { width: 44px; height: 44px; }
  .section { padding: 68px 0; }
  .hero { min-height: 560px; padding: 70px 0 82px; }
  .hero h1, .page-hero h1 { font-size: clamp(41px, 12.5vw, 54px); }
  .hero::after, .page-hero::after { right: -34%; width: 96vw; opacity: 0.052; }
  .hero p, .page-hero p { font-size: 17px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .btn { width: 100%; }
  .h2 { font-size: 35px; }
  .lead { font-size: 16px; }
  .steps, .flow, .boundaries, .principles { grid-template-columns: 1fr; }
  .leadership { padding: 22px; }
  .leadership h3 { font-size: 31px; }
  .page-hero { min-height: 470px; padding: 76px 0 82px; }
  .cap-row { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .cap-meta { grid-column: 1; grid-template-columns: 1fr; gap: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; padding: 42px 0; }
  .closing-cta { grid-template-columns: 1fr; align-items: start; }
  .footer { grid-template-columns: 1fr; align-items: start; }
  .footer-lockup img { width: 166px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .copyright { text-align: left; }
  .watermark-dark::after { right: -32%; width: 90vw; }
}

@media (max-width: 420px) {
  .brand-lockup img { width: 112px; }
  .hero h1, .page-hero h1 { font-size: 39px; }
  .card { padding: 24px; }
}

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