:root {
  --night: #1A1A1A;
  --night-2: #2A2A2A;
  --moonlight: #F2F2F2;
  --silver: #BDBDBD;
  --grey: #6E6E6E;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --mist: #F0F0EF;
  --line: #DEDEDE;

  /* Scale: 16 / 20 / 26 / 40 / 64 */
  --fs-small: .875rem;
  --fs-body: 1rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.625rem;
  --fs-h2: clamp(1.875rem, 3.2vw, 2.5rem);
  --fs-h1: clamp(2.5rem, 5.6vw, 4.25rem);

  --display: "DM Sans", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --block: clamp(88px, 11vw, 152px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.65 var(--text);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Type ---------- */
.title {
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 20ch;
}
.title--wide { max-width: 24ch; }
.body { color: var(--grey); font-size: 1.0625rem; max-width: 58ch; }
.body--night { color: var(--silver); }
.intro { margin-top: 20px; }

/* Brand signature from the existing "Quem somos" piece — used only there */
.kicker { font-size: var(--fs-small); font-weight: 400; letter-spacing: .4em; text-transform: uppercase; color: var(--grey); }
.kicker-rule { width: 80px; border: 0; border-top: 1.5px solid var(--ink); margin: 26px 0 34px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 .9375rem/1 var(--text);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn--sm { min-height: 42px; padding: 0 20px; }
.btn--moon, .btn--ink, .btn--cta {
  min-height: 46px; padding: 0 24px; border-radius: 3px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.btn--moon { background: var(--white); color: var(--ink); }
.btn--moon:hover { background: var(--moonlight); }
.btn--line { color: var(--moonlight); border-color: rgba(242,242,242,.35); }
.btn--line:hover { border-color: var(--moonlight); }
.btn--text { padding: 0 4px; color: var(--white); }
.btn--text:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 18px; color: var(--moonlight); }
.logo--ink { color: var(--ink); }
.logo__mark { width: 24px; height: 34px; }
.logo__text { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 1.25rem; letter-spacing: .55em; text-transform: uppercase; line-height: 1; margin-right: -.55em; }

/* ---------- Header: solid bar, centered uppercase nav, square CTA ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(22,22,22,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .3s;
}
.header.is-scrolled { background: rgba(18,18,18,.96); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.header__inner .logo { justify-self: start; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { color: rgba(255,255,255,.82); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--white); padding-bottom: 4px; margin-bottom: -5.5px; }
.nav__cta { display: none; }
.header__cta { justify-self: end; }
.btn--cta {
  min-height: 42px; padding: 0 20px;
  background: var(--white); color: var(--ink);
}
.btn--cta:hover { background: var(--moonlight); }
.nav-toggle { display: none; justify-self: end; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--moonlight); margin: 6px 0; transition: transform .3s; }

/* ---------- Hero: full-bleed video, copy centered left, chapter bar at the base ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--night); color: var(--white);
  padding: 140px 0 0;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.4s ease;
}
.hero__video.is-active { opacity: 1; }
.hero__video.is-zooming { animation: kenburns 12s linear forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,12,12,.82) 0%, rgba(12,12,12,.45) 50%, rgba(12,12,12,.15) 100%),
    linear-gradient(to top, rgba(12,12,12,.85) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(12,12,12,.5) 0%, transparent 20%);
}
.hero__copy { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 48px; }
.hero__title { margin-top: 0; font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 600; line-height: 1.02; letter-spacing: -.015em; max-width: 13ch; }
.hero__lead { margin-top: 24px; max-width: 48ch; font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 36px; }

/* Chapter bar: one entry per clip */
.hero__chapters { position: relative; padding-bottom: 32px; }
.chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.chapter { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.chapter__bar { display: block; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.chapter__bar span { position: absolute; inset: 0; background: var(--white); transform: scaleX(var(--p, 0)); transform-origin: left; }
.chapter.is-done .chapter__bar span { --p: 1; }
.chapter__question { font-size: .9375rem; font-weight: 500; line-height: 1.4; color: rgba(255,255,255,.5); transition: color .3s; }
.chapter.is-active .chapter__question, .chapter:hover .chapter__question { color: var(--white); }

/* ---------- Blocks ---------- */
.block { padding: var(--block) 0; }
.block--mist { background: var(--mist); }
.block--night { background: var(--night); color: var(--moonlight); }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: end; }
.about .body { margin-top: 28px; }
.quote { margin-top: 40px; padding-left: 20px; border-left: 1.5px solid var(--ink); font-size: 1.1875rem; font-weight: 500; line-height: 1.6; max-width: 46ch; }

/* Fronts */
.fronts { margin-top: 72px; }
.front { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.front:last-child { border-bottom: 1px solid var(--line); }
.front h3 { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.front p { color: var(--grey); max-width: 52ch; }
.front ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.front li { font-size: var(--fs-small); padding: 7px 14px; border-radius: 999px; background: var(--white); color: var(--ink); }

/* Method */
.phases { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.phases::before {
  content: ""; position: absolute; top: 60px; left: 60px; right: calc(25% - 60px + 10px);
  border-top: 1px dashed rgba(189,189,189,.3);
}
.phase { position: relative; }
.phase svg { width: 88px; height: 88px; display: block; position: relative; }
.phase__dark { fill: var(--night-2); stroke: rgba(242,242,242,.18); stroke-width: 1; }
.phase__lit { fill: var(--moonlight); }
.phase h3 { margin-top: 28px; font-size: 1.25rem; font-weight: 500; }
.phase p { margin-top: 12px; color: var(--silver); font-size: .9375rem; max-width: 30ch; }

/* The one orchestrated moment: phases light up in order when the method comes into view */
.js .phase__lit { opacity: 0; transition: opacity .7s var(--ease); }
.js .phase h3, .js .phase p { opacity: .35; transition: opacity .7s var(--ease); }
.js .phases.is-lit .phase__lit, .js .phases.is-lit .phase h3, .js .phases.is-lit .phase p { opacity: 1; }
.js .phases.is-lit .phase:nth-child(2) * { transition-delay: .35s; }
.js .phases.is-lit .phase:nth-child(3) * { transition-delay: .7s; }
.js .phases.is-lit .phase:nth-child(4) * { transition-delay: 1.05s; }

/* Sectors */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }


/* Starting point */
.start { padding: 40px; background: var(--mist); border-radius: 6px; }
.start__title { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.start__list { margin-top: 28px; }
.start__list div { padding: 18px 0; border-top: 1px solid var(--line); }
.start__list dt { font-weight: 500; }
.start__list dd { margin-top: 4px; color: var(--grey); font-size: .9375rem; }


/* Agent types */

/* Integration and security */
.meta { margin-top: 40px; padding-left: 20px; border-left: 1.5px solid var(--ink); max-width: 48ch; }
.meta h3 { font-size: 1.0625rem; font-weight: 500; }
.meta p { margin-top: 8px; color: var(--grey); }
.controls div { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.controls div:last-child { border-bottom: 1px solid var(--line); }
.controls dt { font-weight: 500; }
.controls dd { color: var(--grey); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.contact .body { margin-top: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); color: var(--silver); }
.form .full { grid-column: 1 / -1; }
.form input, .form select {
  background: transparent; border: 0; border-bottom: 1px solid rgba(189,189,189,.35); border-radius: 0;
  color: var(--white); font: 400 1rem var(--text); padding: 10px 0;
  transition: border-color .2s;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--moonlight); }
.form input[aria-invalid="true"] { border-color: #F2A7A7; }
.form select option { color: var(--ink); }
.form button { margin-top: 12px; }
.form__status { min-height: 1.6em; font-size: .9375rem; color: var(--moonlight); }

/* Footer */
.footer { padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__tag { margin-top: 20px; color: var(--grey); max-width: 36ch; }
.footer h4 { font-size: var(--fs-small); font-weight: 600; margin-bottom: 16px; }
.footer__grid a:not(.logo) { display: block; padding: 4px 0; color: var(--grey); transition: color .2s; }
.footer__grid a:not(.logo):hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: var(--fs-small); color: var(--grey); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__video.is-zooming { animation: none; }
  html { scroll-behavior: auto; }
  .js .phase__lit, .js .phase h3, .js .phase p { opacity: 1; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about, .contact, .split { grid-template-columns: 1fr; gap: 56px; }
  .phases { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .phases::before { display: none; }
}
@media (max-width: 860px) {
  .chapters { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__cta { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav__cta { display: inline-flex; margin-top: 12px; padding: 14px 22px; background: var(--white); color: var(--ink) !important; border-radius: 3px; }
  .nav {
    position: fixed; inset: 0; background: var(--night);
    flex-direction: column; justify-content: center; gap: 28px;
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  .nav a { font-size: 1.125rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { visibility: visible; opacity: 1; }
  body.menu-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .front { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 112px 0 40px; }
  .phases, .form { grid-template-columns: 1fr; }
  .phases { row-gap: 40px; }
  .phase { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .phase svg.moon { width: 72px; height: 72px; grid-row: span 4; }
    .footer__grid { grid-template-columns: 1fr; }
  .start { padding: 28px 20px; }
}

/* ======================================================
   Multi-page components
   ====================================================== */

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: 64px; }
.head-row .body { max-width: 44ch; }
.link { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link--light { color: var(--white); }
.intro-link { display: inline-block; margin-top: 28px; }

/* Integration tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiles li { padding: 18px 16px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; }

/* Subpage hero */
.page-hero { position: relative; background: var(--night) var(--hero-img, none) center / cover no-repeat; color: var(--white); padding: 200px 0 96px; }
.page-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::before { z-index: 1;  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,16,16,.88), rgba(16,16,16,.45)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero__title { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; max-width: 18ch; }
.page-hero__lead { margin-top: 28px; max-width: 56ch; font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,.82); }

/* Closing call to action */
.cta-band { background: var(--night); color: var(--white); padding: clamp(80px, 10vw, 128px) 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band .body { margin-top: 20px; }



/* Contact page */
.contact__info .body { margin-top: 16px; }
.contact__info .controls { margin-top: 40px; }
.contact__info a { border-bottom: 1px solid var(--line); }
.form--light label { color: var(--grey); }
.form--light input, .form--light select { color: var(--ink); border-bottom-color: var(--line); }
.form--light input:focus, .form--light select:focus { border-color: var(--ink); }
.form--light .form__status { color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }

@media (max-width: 1024px) {
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 150px 0 64px; }
}

/* ---------- Home: section rhythm (light / dark bands) ---------- */
.block--rule { border-top: 1px solid var(--line); }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 64px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.center-head .title { max-width: 22ch; }
.center-head .body { max-width: 56ch; }
.center-link { text-align: center; margin-top: 48px; }

.statement__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.statement__text { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; max-width: 16ch; }
.statement__sub { margin-top: 28px; }
.statement__reels { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.reel-frame {
  position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--night);
  transform: translate3d(0, calc(var(--shift, 0) * 1px), 0);
  clip-path: inset(0 0 0 0 round 12px);
}
.reel-frame:last-of-type { margin-top: 72px; }
.reel-frame video {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transform: translate3d(0, calc(var(--inner, 0) * 1px), 0);
}
.reel-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,12,.6), transparent 35%); pointer-events: none; }
.reel-frame:last-of-type figcaption { top: 14px; bottom: auto; }
.reel-frame:last-of-type::after { background: linear-gradient(to bottom, rgba(12,12,12,.55), transparent 30%); }
.reel-frame figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white); font-size: var(--fs-small); font-weight: 500; }

.agent-toast {
  position: absolute; left: 22%; bottom: -28px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 12px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05);
  color: var(--ink); max-width: 300px;
}
.agent-toast strong { display: block; font-size: .9375rem; font-weight: 600; }
.agent-toast small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--grey); }
.agent-toast__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); position: relative; }
.agent-toast__icon::after { content: ""; position: absolute; left: 10px; top: 9px; width: 10px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }

/* Reveal: frames open from the bottom, then the agent notification arrives */
.js .statement__reels .reel-frame { clip-path: inset(100% 0 0 0 round 12px); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.js .statement__reels .reel-frame:last-of-type { transition-delay: .18s; }
.js .statement__reels.is-in .reel-frame { clip-path: inset(0 0 0 0 round 12px); }
.js .agent-toast { opacity: 0; transform: translateY(16px); transition: opacity .6s ease 1.2s, transform .6s var(--ease) 1.2s; }
.js .statement__reels.is-in .agent-toast { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .statement__reels .reel-frame { clip-path: inset(0 0 0 0 round 12px); transition: none; }
  .js .agent-toast { opacity: 1; transform: none; transition: none; }
}

/* Fronts as large image cards on dark */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature { position: relative; display: block; aspect-ratio: 5 / 8; border-radius: 10px; overflow: hidden; background: var(--night-2); }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.96) 0%, rgba(14,14,14,.82) 38%, rgba(14,14,14,.2) 72%, rgba(14,14,14,.05) 100%); }
.feature__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; text-align: left; }
.feature__value { font-size: var(--fs-small); font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.feature h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.feature p { margin: 10px 0 0; max-width: 46ch; color: rgba(255,255,255,.82); font-size: .875rem; line-height: 1.5; }
.feature:hover img { transform: scale(1.03); }

/* Agent type cards */
.agent-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.agent-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.agent-card h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.agent-card p { font-size: .9375rem; }
.agent-card__where { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--grey); font-size: var(--fs-small) !important; }

/* Sector tabs */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: var(--mist); }
.tabs__btn { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 500 .9375rem var(--text); color: var(--grey); cursor: pointer; transition: background-color .2s, color .2s; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.sector-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.sector-panel[hidden] { display: none; }
.sector-panel__media { position: relative; border-radius: 10px; overflow: hidden; min-height: 420px; background: var(--night); }
.sector-panel__media img, .sector-media--plain { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sector-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,16,16,.85), transparent 60%); }
.sector-panel__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; color: var(--white); }
.sector-panel__caption h3 { font-family: var(--display); font-size: 2rem; font-weight: 600; letter-spacing: -.01em; }
.sector-panel__caption p { margin-top: 10px; max-width: 46ch; color: rgba(255,255,255,.82); }
.sector-media--plain { display: grid; place-items: center; background: var(--night); color: rgba(255,255,255,.12); }
.sector-media--plain svg { width: 30%; height: auto; }

/* Service cards per sector */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-card { padding: 24px; border-radius: 10px; background: var(--mist); display: flex; flex-direction: column; gap: 10px; }
.svc-card h4 { font-family: var(--display); font-size: 1.125rem; font-weight: 500; }
.svc-card p { color: var(--grey); font-size: .9375rem; }
.svc-card__tag { font-size: .75rem; font-weight: 600; color: var(--grey); }
.svc-card--entry { background: var(--night); color: var(--white); }
.svc-card--entry p, .svc-card--entry .svc-card__tag { color: var(--silver); }
.svc-grid--four { grid-template-columns: repeat(4, 1fr); }


/* Segments page */
.sector-nav { position: sticky; top: 72px; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sector-nav ul { display: flex; gap: 8px 28px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.sector-nav a { white-space: nowrap; font-size: .9375rem; color: var(--grey); }
.sector-nav a:hover { color: var(--ink); }
.sectors-list { display: grid; gap: 112px; }
.sector { scroll-margin-top: 140px; }
.sector__head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sector__media { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--night); }
.sector__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sector__head h2 { font-family: var(--display); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.sector__head .body { margin-top: 16px; }
.sector__label { margin: 40px 0 16px; font-size: var(--fs-small); font-weight: 500; color: var(--grey); }

@media (max-width: 1024px) {
  .statement__grid { grid-template-columns: 1fr; gap: 48px; }
  .agent-cards, .svc-grid--four { grid-template-columns: 1fr 1fr; }
  .sector-panel, .sector__head { grid-template-columns: 1fr; }
  .sector-panel__media { min-height: 340px; }
}
@media (max-width: 700px) {
  .reel-frame:last-of-type { margin-top: 40px; }
  .agent-toast { left: 8%; right: 8%; max-width: none; }
  .features, .agent-cards, .svc-grid, .svc-grid--four { grid-template-columns: 1fr; }
  .feature { aspect-ratio: 4 / 5; }
  .tabs { width: auto; border-radius: 14px; }
  .sector-nav { top: 72px; }
}


.checks li { position: relative; padding: 8px 0 8px 26px; font-size: .9375rem; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }

/* Solutions page */

@media (max-width: 1024px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
}

/* Realistic moon phases */
.sr-only { position: absolute; width: 0; height: 0; overflow: hidden; }
.phase svg.moon { width: 120px; height: 120px; overflow: visible; }
.moon__dark { fill: #222220; }
.moon__earthshine { opacity: .07; }
.phase__moon { display: block; margin-top: 24px; font-size: var(--fs-small); color: var(--grey); }
.phase .phase__moon + h3 { margin-top: 6px; }

/* Podcast episodes */
.episodes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.episode { display: flex; flex-direction: column; height: 100%; border-radius: 10px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: border-color .25s; }
.episode:hover { border-color: var(--ink); }
.episode__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.episode__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.episode:hover .episode__thumb img { transform: scale(1.03); }
.episode__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.12); }
.episode__placeholder svg { width: 22%; height: auto; }
.episode__play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.episode__play::after { content: ""; position: absolute; left: 17px; top: 14px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.episode:hover .episode__play { transform: scale(1.08); }
.episode__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.episode__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.episode__num { font-size: .75rem; font-weight: 600; color: var(--grey); }
.episode__logo { height: 24px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.episode__logo--mark { height: 32px; }
.episode:hover .episode__logo { filter: none; opacity: 1; }
.episode__guest { margin-top: 4px; font-size: var(--fs-small); color: var(--grey); }
.episodes > li { grid-column: span 2; }
.episodes > li:nth-child(-n+2) { grid-column: span 3; }
.episodes > li:nth-child(-n+2) h3 { font-size: 1.5rem; line-height: 1.2; }
.episode h3 { margin-top: 6px; font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.episode__body > p:not(.episode__guest):not(.episode__num) { margin-top: 10px; color: var(--grey); font-size: .9375rem; }
.episode__cta { margin-top: auto; padding-top: 20px; font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .episodes { grid-template-columns: 1fr 1fr; }
  .episodes > li, .episodes > li:nth-child(-n+2) { grid-column: auto; }
}
@media (max-width: 700px) {
  .episodes { grid-template-columns: 1fr; }
}

/* Solutions page: fronts and their agents */
.fronts-list { display: grid; gap: 120px; }
.front-sec { scroll-margin-top: 150px; }
.front-sec__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.front-sec__media { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--night); }
.front-sec__media img { width: 100%; height: 100%; object-fit: cover; }
.front-sec__value { font-size: var(--fs-small); font-weight: 600; color: var(--grey); }
.front-sec h2 { margin-top: 8px; font-family: var(--display); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.front-sec .body { margin-top: 16px; }
.agent-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.agent-grid:has(> li:nth-child(6)) { grid-template-columns: repeat(3, 1fr); }
.agent-item { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: 10px; }
.agent-item h3 { font-family: var(--display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.agent-item p { margin-top: 12px; color: var(--grey); font-size: .9375rem; }
.agent-item__out { margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink) !important; }
.agent-item > p:nth-of-type(1) { margin-bottom: 20px; }
.agent-item__out span { display: block; font-size: .75rem; font-weight: 600; color: var(--grey); margin-bottom: 4px; }
.base-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.base-card { padding: 32px 28px; border-radius: 10px; background: var(--white); }
.base-card h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.base-card p { margin-top: 12px; color: var(--grey); }
@media (max-width: 1024px) {
  .agent-grid:has(> li:nth-child(6)) { grid-template-columns: 1fr 1fr; }
  .front-sec__head { grid-template-columns: 1fr; gap: 28px; }
  .base-cards { grid-template-columns: 1fr; }
}

/* Home closing band */
.closing { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding: clamp(96px, 11vw, 144px) 0; }
.closing__moon { position: absolute; right: -60px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: .55; }
.closing__inner { position: relative; }
.closing .title { max-width: 16ch; }
.closing .body { margin-top: 20px; max-width: 52ch; }
.closing__points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; max-width: 640px; }
.closing__points li { position: relative; padding-left: 24px; font-size: .9375rem; color: var(--white); }
.closing__points li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 1.5px solid var(--white); border-bottom: 1.5px solid var(--white); transform: rotate(-45deg); }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.closing__link { font-size: .9375rem; font-weight: 500; color: var(--silver); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.closing__link:hover { color: var(--white); }
@media (max-width: 860px) {
  .closing__moon { width: 300px; height: 300px; right: -120px; top: auto; bottom: -110px; transform: none; opacity: .5; }
}


.front-sec__areas-label { margin-top: 24px; font-size: var(--fs-small); font-weight: 600; color: var(--grey); }
.front-sec__areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.front-sec__areas li { padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: var(--fs-small); }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { aspect-ratio: 16 / 10; } }

/* Two lines of service: AI Services and Estratégia e processos */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.line { padding: 24px; border-radius: 10px; }
.line--ai { background: var(--night); color: var(--white); }
.line--proc { background: var(--mist); }
.line__title { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.line ul { margin-top: 12px; }
.line li { padding: 14px 0; border-top: 1px solid var(--line); }
.line--ai li { border-color: rgba(255,255,255,.14); }
.line__name { font-weight: 600; font-size: 1rem; }
.line__tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .6875rem; font-weight: 600; vertical-align: 2px; }
.line li p { margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--grey); }
.line--ai li p { color: var(--silver); }
.sector .lines { margin-top: 40px; }

/* Solutions page: line headers */
.line-head { padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: -48px; }
.line-head .body { margin-top: 12px; }
.fronts-list > .line-head:not(:first-child) { margin-top: 24px; }

/* Home: group labels over the front cards */
.features__group { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.22); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.features__group--proc { grid-column: 1; }
.features__group--ai { grid-column: 2 / 5; }
.features__group--cap { grid-column: 5; }

@media (max-width: 1024px) {
  .lines { grid-template-columns: 1fr; }
  .features__group { display: none; }
}


/* Integration logos (about page) */
.integ-more { margin-top: 16px; font-size: .9375rem; color: var(--grey); }

/* About page: value proposition box and principles */
.start__list--top { margin-top: 0; }
.start__list--top div:first-child { border-top: 0; padding-top: 0; }
.start__list--top dt { font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--grey); }
.start__list--top dd { margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.principles { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.principle { padding: 28px 0; border-top: 1px solid var(--line); }
.principle h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.principle p { margin-top: 8px; color: var(--grey); }
@media (max-width: 1024px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* Service cards with a photo on top */
.agent-item--photo { padding-top: 0; overflow: hidden; }
.agent-item__img { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px 22px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Segments page: sector pains and starting point */
.sector__detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.sector__challenges li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); }
.sector__challenges li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 1.5px; background: var(--ink); }
.sector__start { padding: 28px; border-radius: 10px; background: var(--night); color: var(--white); }
.sector__start .sector__label { margin: 0 0 14px; color: var(--silver); }
.sector__start dl div { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sector__start dt { font-size: .8125rem; color: var(--silver); }
.sector__start dd { margin-top: 4px; font-size: 1.0625rem; font-weight: 600; }
.sector__label--links { margin-top: 20px !important; }
.sector__links { display: flex; flex-wrap: wrap; gap: 8px; }
.sector__links a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-size: var(--fs-small); transition: background-color .2s, color .2s; }
.sector__links a:hover { background: var(--white); color: var(--ink); }
@media (max-width: 1024px) { .sector__detail { grid-template-columns: 1fr; } }

/* Integration logos: two moving belts */
.marquee { margin-top: 56px; display: grid; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 14px; animation: marquee 40s linear infinite; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; width: 200px; height: 80px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.marquee__track img { max-height: 30px; max-width: 130px; width: auto; object-fit: contain; filter: grayscale(1) brightness(.75) contrast(1.4); opacity: .75; transition: filter .25s, opacity .25s; }
.marquee__track span { font-size: .9375rem; font-weight: 600; color: #555; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}

.footer__city { padding: 4px 0; color: var(--grey); }

/* Five front cards on the home: the group labels above replace the small value line */
.features .feature__value { display: none; }

/* Trainings delivered (solutions page, capacitação front) */
.trainings { margin-top: 48px; }
.trainings__title { font-size: var(--fs-small); font-weight: 600; color: var(--grey); margin-bottom: 16px; }
.trainings__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.training { position: relative; display: grid; grid-template-columns: 170px 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .25s; height: 100%; }
.training:hover { border-color: var(--ink); }
.training::before { content: ""; position: absolute; left: 128px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); z-index: 1; }
.training::after { content: ""; position: absolute; left: 140px; bottom: 23px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--ink); z-index: 2; }
.training__thumb { width: 100%; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--night); }
.training__body { display: flex; flex-direction: column; padding: 24px; }
.training__logo { height: 30px; width: auto; max-width: 200px; object-fit: contain; object-position: left; }
.training__kind { margin-top: 18px; font-size: .8125rem; font-weight: 600; color: var(--grey); }
.training h4 { margin-top: 18px; font-family: var(--display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.training__who { margin-top: 8px; font-size: .875rem; color: var(--grey); }
.training__cta { margin-top: auto; padding-top: 16px; font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1024px) { .trainings__list { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .training { grid-template-columns: 120px 1fr; } .training__body { padding: 18px; } .training::before { left: 80px; } .training::after { left: 92px; } }
.training--upcoming::before, .training--upcoming::after { display: none; }
.training__logo--square { height: 64px; }
.training__date { margin-top: 16px; display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--night); color: var(--white); font-size: .8125rem; font-weight: 600; }
.training__date + h4 { margin-top: 12px; }
.trainings__list--next { margin-bottom: 40px; }
