/* ============================================================
   sobimann.com.br · tela dividida: painel escuro ou coral à
   esquerda, branco à direita, círculo atravessando a divisa.
   Um acento só (coral).
   ============================================================ */

:root {
  --coral: #F24B4F;
  --coral-ink: #D63A3E;
  --ink: #1E1E20;
  --panel: #232325;
  --deep: #161617;
  --paper: #FFFFFF;
  --mist: #F4F4F2;
  --ghost-d: #2C2C2F;
  --ghost-l: #EFEFEC;
  --text: #1E1E20;
  --dim: #6B6B6B;
  --dim-d: #9A9A9A;
  --rule: #E6E6E3;
  --rule-d: #333336;

  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: 40px;
  --pad: clamp(56px, 8vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
main, .site-footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--coral); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- tipografia comum ---------- */
.kicker {
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral);
}
.tone-coral .kicker { color: var(--ink); }
.ghost {
  position: absolute;
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.03em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  color: var(--ghost-d);
}
.split-right .ghost { color: var(--ghost-l); }
.tone-coral .split-left .ghost { color: rgba(255, 255, 255, 0.12); }
.ghost-outline { color: transparent !important; -webkit-text-stroke: 1.5px #DCDCD8; }

.big {
  position: relative;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(54px, 7.4vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: #fff;
}
.big .over {
  position: absolute;
  left: 0.12em;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--f-cond);
  font-weight: 300;
  font-size: 0.17em;
  letter-spacing: 0.36em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
}
.tone-dark .big .over, .split-left.is-dark .big .over { color: var(--coral); }

.mini {
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 14px;
  border-left: 2px solid var(--coral);
  line-height: 1.1;
  margin-bottom: 16px;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--coral);
  transition: color 0.3s var(--ease);
}
.text-link:hover { color: var(--coral); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.stuck {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--rule);
}
.logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  transition: color 0.35s var(--ease);
}
.site-header.stuck .logo { color: var(--ink); }
.logo-o {
  display: inline-grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  margin: 0 0.5em 0 0;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  letter-spacing: 0;
  line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--coral);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; color: #fff; place-items: center; }
.site-header.stuck .menu-toggle { color: var(--ink); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.menu-open .menu-bars { background: transparent; }
.menu-open .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   Sistema dividido
   ============================================================ */
.split {
  --disc: clamp(220px, 24vw, 340px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--h, 720px);
}
.split-left, .split-right { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.split-left { background: var(--panel); color: #fff; padding: var(--pad) clamp(40px, 7vw, 120px) var(--pad) var(--gutter); align-items: flex-end; }
.tone-coral .split-left { background: var(--coral); }
.split-right { background: var(--paper); padding: var(--pad) var(--gutter) var(--pad) clamp(40px, 7vw, 120px); }
.split-disc {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: var(--disc-top, 50%);
  width: var(--disc);
  height: var(--disc);
  translate: -50% -50%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
}
.split-disc img { width: 100%; height: 100%; object-fit: cover; }
.split-disc.ringed { border: 14px solid #fff; }

/* ============================================================
   Hero
   ============================================================ */
.hero { --h: max(680px, 100svh); --disc: min(38vw, 62svh, 580px); }
.hero .split-left { align-items: flex-start; padding-right: calc(var(--disc) / 2 + 40px); }
.hero-ghost { font-size: clamp(120px, 15vw, 250px); left: -0.04em; bottom: -0.12em; }
.hero-text { position: relative; z-index: 2; padding-left: clamp(0px, 1.6vw, 40px); }
.hero-text .kicker { margin-bottom: 26px; animation: rise 1s var(--ease) 0.2s both; }
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(46px, 4.6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #fff;
}
.hero-title span { display: block; animation: rise 1s var(--ease) both; }
.hero-title span:nth-child(1) { animation-delay: 0.3s; }
.hero-title span:nth-child(2) { animation-delay: 0.4s; }
.hero-title span:nth-child(3) { animation-delay: 0.5s; color: var(--coral); }
.hero-sub {
  margin-top: 34px;
  max-width: 30ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dim-d);
  animation: rise 1s var(--ease) 0.65s both;
}
.hero .split-disc { animation: disc-in 1.3s var(--ease) 0.1s both; }
.hero .split-disc img { scale: 1.06; }
.hero .split-right { padding-left: calc(var(--disc) / 2 + 48px); align-items: flex-start; }
.hero-side { position: relative; z-index: 2; max-width: 300px; animation: rise 1s var(--ease) 0.8s both; }
.hero-num {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 6vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-num-label {
  display: block;
  margin-top: 12px;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-side p { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.hero-side .text-link { margin-top: 26px; }
.hero-dots { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: 14px; z-index: 3; }
.hero-dots a { width: 8px; height: 8px; border-radius: 50%; background: #D5D5D2; transition: background 0.3s, scale 0.3s; }
.hero-dots a:first-child { background: var(--coral); scale: 1.3; }
.hero-dots a:hover { background: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes disc-in { from { scale: 0.7; opacity: 0; } to { scale: 1; opacity: 1; } }

/* ============================================================
   Quem somos
   ============================================================ */
.about { --h: 820px; --disc: clamp(200px, 19vw, 270px); --disc-top: 150px; }
.about .split-left { justify-content: center; }
.about .split-right { justify-content: center; padding-top: calc(var(--pad) + 40px); padding-left: calc(var(--disc) / 2 + 56px); }
.about-ghost { font-size: clamp(110px, 13vw, 220px); right: -0.1em; bottom: -0.08em; }
.about-body { position: relative; z-index: 2; max-width: 560px; }
.about-body .h3 { margin-bottom: 22px; }
.about-lead { font-size: 18px; line-height: 1.7; color: var(--ink); }
.about-lead + .about-lead { margin-top: 14px; color: var(--dim); font-size: 16.5px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 44px; }
.about-cols p { font-size: 15.5px; line-height: 1.7; color: var(--dim); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--rule); }
.stats div { padding-top: 22px; }
.stats dd {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stats div:first-child dd { color: var(--coral); }
.stats dt {
  margin-top: 10px;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* ============================================================
   Portfólio
   ============================================================ */
.work { --h: 860px; }
.work .split-left { align-items: center; padding-right: var(--gutter); }
.work-visual { --D: clamp(300px, 32vw, 500px); position: relative; width: var(--D); height: var(--D); }
.work-disc { position: absolute; inset: 0; border-radius: 50%; background: var(--coral); overflow: hidden; }
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.08;
  transition: opacity 0.8s var(--ease), scale 1.2s var(--ease);
}
.slide-img.is-active { opacity: 1; scale: 1; }
.slide-img.fit-contain { object-fit: contain; object-position: 50% 100%; inset: 9% 10% 0; width: 80%; height: 91%; }
.slide-img.fit-modus { inset: 8% 15% 4%; width: 70%; height: 88%; object-position: 50% 50%; }
.slide-img.fit-nt { object-position: 72% 50%; }
.slide-img.fit-malu { object-fit: contain; object-position: 50% 100%; inset: 14% 18% 0; width: 64%; height: 86%; }
.work-name {
  position: absolute;
  left: calc(var(--D) * -0.08);
  bottom: calc(var(--D) * -0.06);
  z-index: 3;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: calc(var(--D) * 0.13);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  white-space: nowrap;
}
.work-name-text, .work-panels { transition: opacity 0.4s var(--ease); }
.work.is-swapping .work-name-text { opacity: 0; }
.work-ghost { font-size: clamp(100px, 11.5vw, 196px); left: clamp(40px, 7vw, 120px); top: 64px; }
.work-side { position: relative; z-index: 2; max-width: 520px; }
.work-side .kicker { color: var(--ink); margin-bottom: 40px; }
.work-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; margin-bottom: 38px; }
.work-tab {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  text-align: left;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8D8D8D;
  border-bottom: 1px solid var(--rule);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.work-tab:hover { color: var(--ink); }
.work-tab.is-active { color: var(--ink); border-color: var(--coral); }
.tab-n { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 12px; letter-spacing: 0; color: var(--coral); }
.work-panels { min-height: 230px; }
.work-panel h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.work-panel .tag {
  display: inline-block;
  margin: 12px 0 16px;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
}
.work-panel .tag.is-soon { color: #fff; background: var(--ink); padding: 5px 10px 4px; letter-spacing: 0.24em; }
.work-panel p { font-size: 16.5px; line-height: 1.72; color: var(--dim); }
.work-panel .text-link { margin-top: 22px; }
.js .work-panel { display: none; }
.js .work-panel.is-active { display: block; animation: rise 0.6s var(--ease) both; }
html:not(.js) .work-panel + .work-panel { margin-top: 40px; }
.work-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; }
.work-count { font-family: var(--f-cond); font-size: 12px; letter-spacing: 0.3em; color: var(--dim); display: flex; align-items: center; gap: 12px; }
.work-count::before { content: ""; width: 30px; height: 2px; background: var(--ink); }
.work-count-now { color: var(--ink); font-weight: 500; }
.work-arrows { display: flex; gap: 10px; }
.work-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-size: 16px; line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.work-arrows button:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
html:not(.js) .work-tabs, html:not(.js) .work-foot { display: none; }

/* ============================================================
   Processo
   ============================================================ */
.process { --h: 760px; --disc: clamp(150px, 13vw, 200px); }
.process .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.process-steps { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 48px; position: relative; z-index: 2; }
.process-step {
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30, 30, 32, 0.7);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.process-step b { font-family: var(--f-display); font-weight: 900; font-style: italic; letter-spacing: 0; margin-right: 8px; }
.process-step:hover { color: var(--ink); }
.process-step.is-active { color: #fff; border-color: #fff; }
.process-ghost { font-size: clamp(110px, 12vw, 210px); right: -0.12em; top: 60px; }
.process .split-disc { display: grid; place-items: center; background: var(--ink); }
.process-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: calc(var(--disc) * 0.36);
  letter-spacing: -0.04em;
  color: #fff;
  transition: opacity 0.35s var(--ease);
}
.process-num i { color: var(--coral); font-style: inherit; }
.process.is-swapping .process-num, .process.is-swapping .process-panels { opacity: 0; }
.process-body { position: relative; z-index: 2; max-width: 500px; }
.process-intro { font-size: 16px; line-height: 1.75; color: var(--dim); margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.process-panels { transition: opacity 0.35s var(--ease); min-height: 160px; }
.process-panel h3 { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.process-panel p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--dim); }
.js .process-panel { display: none; }
.js .process-panel.is-active { display: block; }
html:not(.js) .process-panel + .process-panel { margin-top: 34px; }
html:not(.js) .process-steps { display: none; }
.process-next { font-size: 22px; color: var(--ink); transition: color 0.3s, translate 0.3s var(--ease); }
.process-next:hover { color: var(--coral); translate: 6px 0; }
html:not(.js) .process-next { display: none; }

/* ============================================================
   Diferenciais
   ============================================================ */
.diff { --h: 680px; }
.diff .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.diff-ghost { font-size: clamp(90px, 9.6vw, 170px); left: -0.04em; top: 56px; }
.diff-title { position: relative; z-index: 2; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.diff-title span { color: var(--coral); }
.diff-logos { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 38px; margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--rule-d); width: 100%; max-width: 520px; }
.diff-logos img { height: 22px; width: auto; filter: grayscale(1); opacity: 0.55; transition: opacity 0.3s, filter 0.3s; }
.diff-logos a:hover img { opacity: 1; filter: none; }
.diff-logos .lg-modus { height: 26px; }
.diff-logos .lg-nurseup { height: 24px; }
.diff-logos .lg-malu { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: #fff; opacity: 0.55; transition: opacity 0.3s; }
.diff-logos a:hover .lg-malu { opacity: 1; }
.diff-list { list-style: none; position: relative; z-index: 2; max-width: 520px; }
.diff-list li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 28px 0; border-top: 1px solid var(--rule); }
.diff-list li:last-child { border-bottom: 1px solid var(--rule); }
.diff-list .n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px #BDBDB9; }
.diff-list li:first-child .n { color: var(--coral); -webkit-text-stroke: 0; }
.diff-list h3 { font-family: var(--f-cond); font-weight: 500; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.diff-list p { margin-top: 8px; font-size: 15.5px; line-height: 1.7; color: var(--dim); }

/* ============================================================
   Contato
   ============================================================ */
.contact { --h: 760px; --disc: clamp(190px, 17vw, 250px); }
.contact .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.contact-legal { position: relative; z-index: 2; list-style: none; margin-top: 44px; font-size: 15px; line-height: 1.75; color: var(--ink); max-width: 34ch; }
.contact-legal li strong { font-weight: 500; }
.contact-legal a { border-bottom: 1px solid rgba(30, 30, 32, 0.35); }
.contact .split-disc { display: grid; place-items: center; background: var(--ink); }
.contact .split-disc .logo { font-size: calc(var(--disc) * 0.052); letter-spacing: 0.46em; padding-left: 0.46em; }
.contact-body { position: relative; z-index: 2; max-width: 460px; }
.contact-body p { margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--dim); }
.contact-mail {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 3px solid var(--coral);
  padding-bottom: 4px;
  transition: color 0.3s;
}
.contact-mail:hover { color: var(--coral); }
.contact-links { list-style: none; margin-top: 42px; border-top: 1px solid var(--rule); }
.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s, padding 0.3s var(--ease);
}
.contact-links a:hover { color: var(--coral); padding-left: 8px; }

/* ============================================================
   Páginas internas (documentos)
   ============================================================ */
.doc-hero { --h: max(520px, 62svh); --disc: 120px; }
.doc-hero .split-left { align-items: flex-start; justify-content: flex-end; padding-left: clamp(40px, 6vw, 110px); padding-bottom: 80px; }
.doc-hero .ghost { font-size: clamp(100px, 11vw, 190px); right: -0.1em; top: 110px; }
.doc-hero-text { position: relative; z-index: 2; }
.doc-hero-text .kicker { margin-bottom: 18px; }
.doc-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 4.8vw, 76px); line-height: 0.95; letter-spacing: -0.04em; color: #fff; max-width: 11ch; }
.doc-hero .split-right { justify-content: flex-end; padding-bottom: 80px; }
.doc-hero-side { max-width: 440px; }
.doc-lead { font-size: 18px; line-height: 1.7; color: var(--ink); padding-top: 18px; border-top: 2px solid var(--ink); }
.doc-updated { margin-top: 18px; font-family: var(--f-cond); font-weight: 400; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.doc-disc { display: grid; place-items: center; top: auto; bottom: 0; translate: -50% 50%; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 30px; transition: background 0.3s var(--ease); }
.doc-disc span { transition: translate 0.3s var(--ease); }
.doc-disc:hover { background: var(--coral); }
.doc-disc:hover span { translate: 0 4px; }

.doc { max-width: 780px; margin: 0 auto; padding: 130px var(--gutter) 130px; }
.doc > :first-child { margin-top: 0; }
.doc h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 64px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.doc h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 46px; height: 3px; background: var(--coral); }
.doc h3 { font-family: var(--f-cond); font-weight: 500; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin: 34px 0 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.78; color: #3A3A3C; }
.doc p + p { margin-top: 16px; }
.doc ul, .doc ol { margin: 16px 0 16px 22px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--coral); font-weight: 700; }
.doc strong { font-weight: 500; color: var(--ink); }
.doc a { color: var(--coral-ink); border-bottom: 1px solid rgba(242, 75, 79, 0.35); transition: border-color 0.3s; word-break: break-word; }
.doc a:hover { border-color: var(--coral); }
.doc table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.6; }
.doc th { font-family: var(--f-cond); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); }
.doc td { color: #3A3A3C; }
.doc .updated { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--f-cond); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.doc .lead { display: none; }
.doc p > a[href^="mailto"]:only-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease);
}
.doc p > a[href^="mailto"]:only-child::after { content: "→"; }
.doc p > a[href^="mailto"]:only-child:hover { background: var(--coral); }

/* ============================================================
   Página do app
   ============================================================ */
.app-hero { --h: max(700px, 100svh); --disc: min(36vw, 54svh, 520px); }
.app-hero .split-left { align-items: flex-start; padding-right: calc(var(--disc) / 2 + 40px); padding-left: clamp(40px, 6vw, 110px); }
.app-hero .split-disc { background: #FFC628; animation: disc-in 1.3s var(--ease) 0.1s both; }
.app-hero .split-right { padding-left: calc(var(--disc) / 2 + 48px); align-items: flex-start; }
.app-ghost { font-size: clamp(130px, 16vw, 270px); left: -0.04em; bottom: -0.1em; }
.app-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 6vw, 104px); line-height: 0.88; letter-spacing: -0.045em; color: #fff; }
.app-title span { display: block; }
.app-title .small { font-size: 0.42em; letter-spacing: -0.02em; font-weight: 800; color: var(--dim-d); margin-bottom: 0.12em; }
.app-title .accent { color: var(--coral); }
.app-hero .kicker { margin-bottom: 26px; }
.app-desc { margin-top: 30px; max-width: 34ch; font-size: 17px; line-height: 1.7; color: #CFCFCF; }
.app-side { position: relative; z-index: 2; max-width: 340px; }
.app-facts { border-top: 2px solid var(--ink); }
.app-facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.app-facts dt { font-family: var(--f-cond); font-weight: 500; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.app-facts dd { margin-top: 4px; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); }
.badges { display: grid; gap: 10px; margin-top: 28px; }
.badge-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1.5px dashed #BDBDB9;
  border-radius: 10px;
  font-family: var(--f-cond);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.app-by { margin-top: 22px; font-size: 13px; line-height: 1.6; color: var(--dim); }

.features { --h: 860px; }
.features .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.features-ghost { font-size: clamp(110px, 12vw, 210px); right: -0.1em; top: 70px; }
.feat-intro { position: relative; z-index: 2; margin-top: 40px; max-width: 34ch; font-size: 17px; line-height: 1.7; color: var(--ink); }
.feat-list { list-style: none; counter-reset: f; display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; max-width: 640px; position: relative; z-index: 2; }
.feat-list li { counter-increment: f; padding: 26px 0; border-top: 1px solid var(--rule); }
.feat-list li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px #BDBDB9; margin-bottom: 14px; }
.feat-list li:first-child::before { color: var(--coral); -webkit-text-stroke: 0; }
.feat-list h3 { font-family: var(--f-cond); font-weight: 500; font-size: 13.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.feat-list p { margin-top: 8px; font-size: 15.5px; line-height: 1.68; color: var(--dim); }
.features .split-disc { --disc-top: 50%; }

.parents { --h: 700px; }
.parents .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.parents-ghost { font-size: clamp(110px, 12vw, 210px); left: -0.04em; bottom: -0.08em; }
.parents-title { position: relative; z-index: 2; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.035em; max-width: 12ch; }
.parents-title span { color: var(--coral); }
.parents-list { list-style: none; max-width: 540px; position: relative; z-index: 2; }
.parents-list li { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.65; color: #3A3A3C; }
.parents-list li:last-child { border-bottom: 1px solid var(--rule); }
.parents-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.parents-list strong { font-weight: 500; color: var(--ink); }

.app-links { padding: 120px 0; background: var(--mist); }
.app-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.app-links-grid a { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 34px 0; border-right: 1px solid var(--rule); transition: color 0.3s; }
.app-links-grid a + a { padding-left: 28px; }
.app-links-grid a:last-child { border-right: 0; }
.app-links-grid .n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; color: var(--coral); line-height: 1; }
.app-links-grid strong { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); transition: color 0.3s; }
.app-links-grid span.d { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.app-links-grid a:hover strong { color: var(--coral); }
.app-links-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.app-links-head p { max-width: 46ch; font-size: 15.5px; color: var(--dim); }

/* ============================================================
   Rodapé
   ============================================================ */
.site-footer { background: var(--deep); color: #fff; padding: 90px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--rule-d); }
.logo-light { color: #fff !important; }
.footer-note { margin-top: 22px; max-width: 30ch; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.7; color: #B5B5B5; }
.footer-label { font-family: var(--f-cond); font-weight: 500; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: #8A8A8A; margin-bottom: 18px; }
.footer-id, .footer-links { list-style: none; font-size: 14.5px; line-height: 1.6; color: #CFCFCF; }
.footer-id li + li, .footer-links li + li { margin-top: 8px; }
.footer-id a, .footer-links a { transition: color 0.3s; }
.footer-id a:hover, .footer-links a:hover { color: var(--coral); }
.footer-id li:first-child { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.footer-bottom p { font-family: var(--f-cond); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #8A8A8A; }
.footer-ig { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3A3A3D; color: #A0A0A0; transition: background 0.3s, color 0.3s, border-color 0.3s; flex: none; }
.footer-ig:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.footer-ig svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================================================
   404
   ============================================================ */
.nf { --h: 100svh; --disc: min(40vw, 380px); }
.nf .split-left { align-items: flex-start; padding-left: clamp(40px, 6vw, 110px); }
.nf .split-disc { display: grid; place-items: center; background: var(--coral); }
.nf .split-disc strong { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: calc(var(--disc) * 0.34); letter-spacing: -0.05em; color: #fff; }
.nf .split-right { padding-left: calc(var(--disc) / 2 + 48px); align-items: flex-start; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .site-nav { gap: 20px; }
  .about-cols { grid-template-columns: 1fr; gap: 26px; }
  .feat-list { grid-template-columns: 1fr; }
  .app-links-grid { grid-template-columns: 1fr 1fr; }
  .app-links-grid a:nth-child(2) { border-right: 0; }
  .app-links-grid a:nth-child(3) { padding-left: 0; }
  .app-links-grid a:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --pad: 76px; }
  body { font-size: 16px; }
  .site-header { padding: 16px var(--gutter); }
  .site-header.stuck { padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 11px; letter-spacing: 0.42em; }
  .menu-toggle { display: grid; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 90px var(--gutter) 40px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .site-nav a { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; text-transform: none; color: #fff; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open .logo, .menu-open .menu-toggle { color: #fff !important; }
  .menu-open.site-header { background: transparent; box-shadow: none; }
  html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; flex-direction: row; flex-wrap: wrap; background: none; padding: 0; z-index: auto; }

  .split { grid-template-columns: 1fr; min-height: 0; --disc: 62vw; }
  .split-left, .split-right { padding: var(--pad) var(--gutter); align-items: flex-start !important; }
  .split-left { padding-top: calc(var(--pad) + 20px); padding-bottom: calc(var(--disc) / 2 + 48px); }
  .split-right { padding-top: calc(var(--disc) / 2 + 48px); }
  .split-disc { position: relative; left: auto; top: auto !important; translate: none; margin: calc(var(--disc) / -2) auto; justify-self: center; }
  .split > .split-disc { grid-row: 2; }
  .split > .split-right { grid-row: 3; }
  .split.no-disc .split-left { padding-bottom: var(--pad); }
  .split.no-disc .split-right { padding-top: var(--pad); }

  .hero { --disc: 74vw; }
  .hero .split-left { padding-right: var(--gutter); padding-top: 120px; }
  .hero .split-right { padding-left: var(--gutter); }
  .hero-ghost { font-size: 34vw; top: 30%; }
  .hero-title { font-size: 15vw; }
  .hero-side { max-width: none; }
  .hero-dots { display: none; }

  .about { --disc: 52vw; }
  .about .split-right { padding-top: calc(var(--disc) / 2 + 48px); }
  .about-ghost { font-size: 30vw; }
  .stats { grid-template-columns: repeat(3, 1fr); }

  .work .split-left { padding: 110px var(--gutter) 90px; align-items: center !important; }
  .work-visual { --D: 76vw; }
  .work-ghost { font-size: 26vw; left: var(--gutter); top: 40px; }
  .work .split-right { padding-top: 110px; }
  .work-tabs { gap: 0 18px; }
  .work-tab { font-size: 11.5px; letter-spacing: 0.12em; gap: 8px; }

  .process { --disc: 40vw; }
  .process .split-left { padding-left: var(--gutter); }
  .process-ghost { display: none; }
  .big .over { display: none; }
  .diff .split-left, .contact .split-left, .features .split-left, .parents .split-left { padding-left: var(--gutter); }
  .diff-ghost, .parents-ghost { font-size: 26vw; }

  .contact { --disc: 50vw; }

  .doc-hero { --disc: 96px; }
  .doc-hero .split-left { padding: 130px var(--gutter) 60px; }
  .doc-hero .split-right { padding: 60px var(--gutter) 64px; }
  .doc-hero .ghost { font-size: 28vw; top: 90px; }
  .doc-disc { position: absolute !important; left: auto !important; right: var(--gutter); top: auto !important; bottom: auto; margin: 0 !important; }
  .doc-hero > .split-disc { grid-row: auto; display: none; }
  .doc { padding-top: 40px; padding-bottom: 90px; }
  .doc p, .doc li { font-size: 16.5px; }
  .doc table { display: block; overflow-x: auto; }

  .app-hero { --disc: 64vw; }
  .app-hero .split-left { padding: 120px var(--gutter) calc(var(--disc) / 2 + 48px); }
  .app-hero .split-right { padding-left: var(--gutter); }
  .app-title { font-size: 15vw; }
  .app-ghost { font-size: 36vw; }
  .app-side { max-width: none; }
  .features-ghost { font-size: 30vw; }
  .app-links { padding: 80px 0; }
  .app-links-head { flex-direction: column; align-items: flex-start; }
  .app-links-grid { grid-template-columns: 1fr; }
  .app-links-grid a, .app-links-grid a + a { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .app-links-grid a:nth-child(n+3) { border-top: 0; }

  .nf { --disc: 60vw; }
  .nf .split-right { padding-left: var(--gutter); }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats dd { font-size: 34px; }
  .stats dt { font-size: 10px; letter-spacing: 0.16em; }
  .work-tabs { grid-template-columns: 1fr; }
}

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

/* botões de e-mail do suporte lado a lado; o segundo é contornado */
.doc p:has(> a[href^="mailto"]:only-child) { display: inline-block; margin: 14px 10px 0 0; }
.doc p:has(> a[href^="mailto"]:only-child) + p > a[href^="mailto"]:only-child { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.doc p:has(> a[href^="mailto"]:only-child) + p > a[href^="mailto"]:only-child:hover { background: var(--ink); color: #fff; }
.doc p:has(> a[href^="mailto"]:only-child) + h2 { margin-top: 64px; }
