/* OBB Capital · site v3 (nov/2026)
   Direção: "a frase é o layout". Uma família tipográfica (General Sans), a paleta da casa
   (navy, electric, off-white, bone) e o cubo da marca em 3D como única figura. */

@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F7FB;
  --ink: #0A1428;
  --soft: #44526F;
  --dim: #636F89;
  --deep: #0A1428;
  --navy: #1A3580;
  --electric: #3B7AEE;
  --sky: #5B9BF5;
  --bone: #E8E5DC;
  --mist: #E3E9F3;
  --accent: #2F6BE0;            /* electric um tom mais fundo: texto branco passa em AA */
  --soft-on-dark: #B4C0DA;

  --m: clamp(16px, 2.3vw, 32px);
  --nav-h: 76px;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-say: clamp(1.375rem, 0.95rem + 1.75vw, 2.25rem);
  --step-head: clamp(2rem, 4.7vw, 5.6rem);
  --step-giant: clamp(3rem, 7.2vw, 9rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 899px) {
  :root {
    --nav-h: 64px;
    --step-say: clamp(1.25rem, 5.9vw, 2rem);
    --step-head: clamp(2rem, 9vw, 4rem);
    --step-giant: clamp(3rem, 13.4vw, 7rem);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "General Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-body); line-height: 1.45; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.028em; line-height: 0.98; margin: 0; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--paper); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 12px; }

/* ---------- botão ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  background: var(--accent); color: #fff; font-size: var(--step-small); font-weight: 500; text-decoration: none;
  white-space: nowrap; transition: background-color .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-light { background: var(--paper); color: var(--deep); }
.btn-light:hover { background: var(--sky); color: var(--deep); }

/* ---------- navegação ---------- */
.nav {
  position: absolute; left: 0; right: 0; top: 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--m);
}
.brand img { height: 34px; width: auto; }
.nav-links { margin-left: auto; display: flex; gap: 28px; font-size: var(--step-small); font-weight: 500; }
.nav-links a { text-decoration: none; padding: 12px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- hero: a fala da casa e o logotipo ---------- */
.hero { min-height: 100svh; padding: var(--nav-h) var(--m) 32px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.hero-copy { grid-column: 1 / span 8; display: flex; flex-direction: column; justify-content: center; padding-bottom: 5vh; }
.hero-line { font-size: var(--step-head); max-width: 14em; text-wrap: balance; }
.hero-sup { margin-top: 36px; max-width: 34ch; }
.hero-btn { display: none; }
.hero-frame { grid-column: 9 / -1; position: relative; min-height: 440px; background: var(--mist); }
.hero-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.hero-frame canvas:active { cursor: grabbing; }
.cube-fallback { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; object-fit: contain; }
.js .cube-fallback { display: none; }

/* ---------- intro: declaração com miniaturas ---------- */
.intro { padding: 21vh var(--m); display: flex; justify-content: center; }
.statement {
  max-width: min(78%, 30em); text-align: center; font-size: var(--step-say); line-height: 1.26;
  font-weight: 400; letter-spacing: -0.015em;
}
.thumb { display: inline-block; height: .86em; width: 1.3em; margin: 0 .1em; vertical-align: -.1em; border-radius: .14em; overflow: hidden; background: var(--navy); }
.thumb.sq { width: .86em; margin: 0 .05em; }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* ---------- quatro verbos: o texto passa, o logotipo se forma ao lado ---------- */
.verbs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--m); background: var(--deep); color: var(--paper); }
.verbs-panels { grid-column: 1 / span 6; grid-row: 1; }
.verbs-stage { grid-column: 7 / -1; grid-row: 1; position: sticky; top: 0; height: 100svh; align-self: start; }
.verbs-stage canvas { width: 100%; height: 100%; }
.verb-panel { min-height: 84svh; display: flex; flex-direction: column; justify-content: center; padding: 9vh 0; }
.verb-panel:first-child, .verb-panel:last-child { min-height: 100svh; }
.verb { font-size: var(--step-giant); letter-spacing: -0.04em; line-height: .95; }
.verb-text { margin-top: 30px; max-width: 34ch; }
.verb-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; font-size: var(--step-small); color: var(--soft-on-dark); }
.verb-more { margin-top: 26px; }
.verb-more a { color: #9EC4FA; }
.verb-more a:hover { color: var(--paper); }

/* ---------- retrato como capitular ---------- */
.bio { padding: 150px var(--m) 60px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.bio-facts { grid-column: 1 / span 2; list-style: none; margin: 0; padding: .5em 0 0; display: grid; gap: 10px; align-content: start; font-size: var(--step-small); }
.bio-body { grid-column: 3 / -1; font-size: var(--step-say); line-height: 1.2; letter-spacing: -0.012em; }
.bio-cap { float: left; width: 3.6em; height: 3.6em; margin: .06em .5em 0 0; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.runin { display: inline; font-size: inherit; line-height: inherit; font-weight: 500; letter-spacing: inherit; }
.runin-text { display: inline; color: var(--soft); }
.bio-second { margin-top: 1.2em; color: var(--soft); }

/* ---------- nomes numa frase ---------- */
.names { padding: 120px var(--m) 150px; font-size: var(--step-say); line-height: 1.14; letter-spacing: -0.02em; font-weight: 500; }
.names .runin-text { color: var(--dim); }
.names .runin-text span { transition: color .4s var(--ease); white-space: nowrap; }
.names .runin-text span.lit { color: var(--ink); }
html:not(.js) .names .runin-text { color: var(--soft); }

/* ---------- linhas com fotos na margem (campo navy) ---------- */
.rows { background: var(--navy); color: var(--paper); padding: 0 var(--m) 150px; }
.rows a { color: var(--paper); }
.rows a:hover { color: #C5DAFC; }
.rows-head { margin-left: 35%; min-height: 58svh; display: flex; align-items: center; font-size: var(--step-head); max-width: 11em; }
.row { display: grid; grid-template-columns: 35% minmax(0, 1fr) auto; column-gap: 24px; align-items: start; }
.row + .row { margin-top: 104px; }
.row-text { grid-column: 2; max-width: 36ch; }
.row h3 { font-size: var(--step-say); font-weight: 500; line-height: 1.05; margin-bottom: .55em; }
.row-pic { grid-column: 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.row-pic.p1 { width: 240px; aspect-ratio: 4 / 5; }
.row-pic.p2 { width: 320px; aspect-ratio: 3 / 2; }
.row-pic.p3 { width: 180px; aspect-ratio: 1; }
.row-pic.p4 { width: 240px; aspect-ratio: 4 / 5; object-position: 50% 20%; }

/* ---------- equipe: declaração e lista de largura inteira, todos com o mesmo peso ---------- */
.team { padding: 160px var(--m) 150px; }
.team-head { font-size: var(--step-head); line-height: .98; text-indent: 3vw; margin-bottom: 88px; }
.team-table { width: 65%; margin-left: 35%; border-collapse: collapse; }
.team-table th, .team-table td { padding: 13px 0; text-align: left; vertical-align: middle; font-weight: 400; }
.team-table td:first-child { width: 40%; color: var(--soft); font-size: var(--step-small); padding-right: 24px; }
.team-table th { font-weight: 500; }
.team-table th img { display: inline-block; width: 52px; height: 52px; object-fit: cover; margin-right: 18px; vertical-align: middle; filter: grayscale(1) contrast(1.05); }
.team-table td:last-child { text-align: right; font-size: var(--step-small); white-space: nowrap; }
.team-table tr.gap th, .team-table tr.gap td { padding-top: 58px; }
.team-table a::after { content: " \2192"; display: inline-block; margin-left: .3em; transition: transform .3s var(--ease); }
.team-table a:hover::after { transform: translateX(4px); }

/* ---------- contato: o e-mail como título ---------- */
.contact { position: relative; min-height: 100svh; background: var(--deep); color: var(--paper); padding: 44px var(--m) 32px; display: flex; flex-direction: column; }
.contact-say { font-size: var(--step-body); font-weight: 500; line-height: 1.4; letter-spacing: 0; max-width: 27ch; }
.contact-mail {
  display: block; margin-top: auto; margin-bottom: 9vh; font-size: 7.05vw; font-weight: 400; letter-spacing: -0.05em;
  line-height: 1; white-space: nowrap; text-decoration: none; transition: color .3s var(--ease);
}
.contact-mail:hover { color: var(--sky); }
.contact-left { font-size: var(--step-small); }
.contact-right { position: absolute; right: var(--m); bottom: 32px; font-size: var(--step-small); }
.contact a:hover { color: var(--sky); }

/* ---------- rodapé: a marca montada em blocos ---------- */
.foot { background: var(--navy); color: var(--paper); padding: 64px var(--m) 28px; }
.foot a:hover { color: #C5DAFC; }
.foot-mark img { width: min(100%, 540px); height: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 56px; font-size: var(--step-small); }
.foot-links { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-contact { grid-column: 9 / -1; font-style: normal; line-height: 1.7; }
.foot-legal, .foot-credits { margin-top: 44px; max-width: 70ch; font-size: var(--step-small); color: var(--soft-on-dark); }
.foot-credits { margin-top: 12px; }
.foot-last { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--step-small); }

/* ---------- páginas internas ---------- */
.page-top { padding: calc(var(--nav-h) + 9vh) var(--m) 96px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.page-top h1 { grid-column: 1 / span 8; font-size: var(--step-head); line-height: .96; }
.page-top p { grid-column: 9 / -1; max-width: 34ch; }
.band { position: relative; height: 62svh; min-height: 380px; background: var(--deep); overflow: hidden; }
.band.light { background: var(--mist); }
.band canvas, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band > img { object-fit: cover; filter: grayscale(1) contrast(1.05); }
.split { padding: 140px var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; }
.split > h2 { grid-column: 1 / span 6; font-size: var(--step-head); }
.split-pic { grid-column: 1 / span 3; grid-row: 2; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); align-self: start; }
.split-pic.sq { grid-column: 1 / span 2; aspect-ratio: 1; }
.split:has(.split-pic) > .split-body { grid-row: 1 / span 2; }
.split > .split-body { grid-column: 7 / -1; display: grid; gap: 1.1em; align-content: start; max-width: 40em; }
.split-body .say { font-size: var(--step-say); line-height: 1.22; font-weight: 400; letter-spacing: -0.015em; }
.split.on-bone { background: var(--bone); }
.split.on-navy { background: var(--navy); color: var(--paper); }
.split.on-navy a { color: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: none; }
.steps h3 { font-size: var(--step-say); font-weight: 500; line-height: 1.05; margin-bottom: .4em; }
.steps p { max-width: 46ch; }
.seed { width: 300px; height: auto; margin-top: 10px; }
.people { padding: 40px var(--m) 150px; display: grid; gap: 84px; background: var(--mist); }
.person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; scroll-margin-top: 40px; }
.person img { grid-column: 1 / span 3; width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person.sm img { grid-column: 1 / span 2; }
.person-body { grid-column: 5 / span 7; max-width: 40em; }
.person-body h3 { font-size: var(--step-say); font-weight: 500; line-height: 1.05; margin-bottom: .3em; }
.person-role { font-size: var(--step-small); color: var(--soft); margin-bottom: 1.1em; }
.person-body p + p { margin-top: .9em; }
.split.on-navy .person-role { color: var(--soft-on-dark); }
.people-head { padding: 150px var(--m) 56px; font-size: var(--step-head); text-indent: 3vw; background: var(--mist); }
.plain { padding: calc(var(--nav-h) + 9vh) var(--m) 140px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.plain h1 { grid-column: 1 / span 5; font-size: var(--step-head); }
.plain-body { grid-column: 7 / -1; display: grid; gap: 1.1em; max-width: 40em; }

/* ---------- movimento ---------- */
.js [data-rise] { opacity: .3; transform: translateY(26px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .hero [data-rise] { opacity: 0; }
.js [data-rise].in, .js .hero [data-rise].in { opacity: 1; transform: none; }
.row-pic, .person img { transition: filter .6s var(--ease); }
.row:hover .row-pic, .person:hover img { filter: grayscale(0) contrast(1); }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { transform: none; transition: opacity .4s linear; }
}

/* ---------- até 899px: outra composição ---------- */
@media (max-width: 899px) {
  .brand img { height: 28px; }
  .nav > .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 2px; background: none; border: 0; font: inherit; font-size: var(--step-small); font-weight: 500; color: inherit; cursor: pointer; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); margin: 0; padding: 8px var(--m) 28px; background: var(--paper); flex-direction: column; gap: 0; font-size: var(--step-say); font-weight: 500; letter-spacing: -0.02em; }
  .nav.open .nav-links, html:not(.js) .nav-links { display: flex; }
  html:not(.js) .nav-links { position: static; padding: 0; font-size: var(--step-small); flex-direction: row; gap: 14px; margin-left: auto; }
  html:not(.js) .nav-toggle { display: none; }
  .nav-links a::after { display: none; }

  .hero { display: block; min-height: 0; padding: calc(var(--nav-h) + 28px) var(--m) 56px; }
  .hero-copy { padding-bottom: 0; }
  .hero-line { font-size: clamp(1.5rem, 6.9vw, 3.5rem); letter-spacing: -0.04em; max-width: none; }
  .hero-sup { margin-top: 24px; max-width: 34ch; }
  .hero-btn { display: inline-flex; align-self: flex-start; margin-top: 24px; }
  .hero-frame { height: min(84vw, 46svh); min-height: 0; margin-top: 44px; }

  .intro { padding: 96px var(--m); }
  .statement { max-width: none; text-align: left; line-height: 1.2; }

  .verbs { display: block; padding: 0; }
  .verbs-stage { position: relative; height: 48svh; }
  .verb-panel, .verb-panel:first-child, .verb-panel:last-child { min-height: 0; justify-content: flex-start; padding: 66px var(--m); }
  .verb-panel:first-child { padding-top: 20px; }
  .verb-panel:last-child { padding-bottom: 110px; }
  .verb-text { margin-top: 20px; }

  .bio { display: flex; flex-direction: column; padding: 110px var(--m) 40px; }
  .bio-body { line-height: 1.24; }
  .bio-cap { width: 4.6em; height: 4.6em; }
  .bio-facts { order: 2; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 36px 0 0; }

  .names { padding: 90px var(--m) 110px; }

  .rows { padding-bottom: 110px; }
  .rows-head { margin-left: 0; min-height: 46svh; }
  .row { display: block; }
  .row-text { max-width: 56ch; }
  .row + .row { margin-top: 72px; }
  .row-pic { margin-top: 26px; }
  .row-pic.p1 { width: 100%; aspect-ratio: 4 / 3; }
  .row-pic.p2 { width: 70%; margin-left: auto; }
  .row-pic.p3 { width: 55%; }
  .row-pic.p4 { width: 62%; margin-left: auto; }

  .team { padding: 110px var(--m) 100px; }
  .team-head { text-indent: 0; margin-bottom: 56px; }
  .team-table { width: 100%; margin-left: 0; }
  .team-table tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 12px 0; }
  .team-table th, .team-table td { padding: 0; }
  .team-table td:first-child { grid-column: 1 / -1; width: auto; padding-bottom: 8px; }
  .team-table tr.gap { padding-top: 44px; }
  .team-table tr.gap th, .team-table tr.gap td { padding-top: 0; }
  .team-table th img { width: 48px; height: 48px; margin-right: 14px; }

  .contact { min-height: 86svh; padding-top: 40px; }
  .contact-mail { white-space: normal; font-size: 10.2vw; line-height: 1.02; margin-bottom: 40px; }
  .contact-mail span { display: block; }
  .contact-right { position: static; margin-top: 14px; }

  .foot-cols { display: block; margin-top: 40px; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .foot-contact { margin-top: 30px; }

  .page-top { display: block; padding-bottom: 56px; }
  .page-top p { margin-top: 24px; }
  .band { height: 44svh; min-height: 280px; }
  .split { display: block; padding: 96px var(--m); }
  .split > h2 { margin-bottom: 36px; }
  .people { gap: 64px; padding-bottom: 100px; }
  .people-head { padding: 100px var(--m) 40px; text-indent: 0; }
  .person { display: block; }
  .person img { width: 46%; }
  .person.sm img { width: 30%; }
  .person-body h3 { margin-top: 18px; }
  .split-pic, .split-pic.sq { width: 62%; margin: 0 0 36px auto; }
  .steps p { max-width: none; }
  .plain { display: block; }
  .plain h1 { margin-bottom: 36px; }
}
