/* =========================================================
   Marcos Medeiros — site
   ========================================================= */

:root {
  --bg: #0A0A0B;
  --surface: #121214;
  --surface-2: #17171A;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F4F2;
  --muted: #A3A3AB;
  --faint: #6E6E77;
  --accent: #C8F25A;
  --accent-ink: #0A0A0B;
  --accent-soft: rgba(200, 242, 90, .1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 24px;
  --container: 1200px;
  --nav-h: 72px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 500;
  transition: top .2s;
}
.skip:focus { top: 16px; }

section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }

/* ---------- Tipografia compartilhada ---------- */

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b {
  font-weight: 500;
  color: var(--accent);
}
.eyebrow b::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--line-2);
}

.h2 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 500;
  margin-bottom: 22px;
  max-width: 16ch;
  text-wrap: balance;
}
.h2 em { font-size: 1.06em; color: var(--muted); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 50ch;
  text-wrap: pretty;
}

.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: border-color .2s, color .2s;
}
.inline-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.btn svg.wa { fill: currentColor; stroke: none; }
.btn:hover svg:not(.wa) { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--lg { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { height: 38px; padding: 0 16px; font-size: .9rem; }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover {
  box-shadow: 0 12px 40px -12px rgba(200, 242, 90, .6), inset 0 0 0 1px rgba(255,255,255,.35);
  transform: translateY(-1px);
}

.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); }

.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }

/* ---------- Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: .85rem;
  color: var(--muted);
}
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(3); opacity: 0; }
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(10, 10, 11, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1;
  padding-bottom: 4px;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -3px; bottom: -3px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}

.nav__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.is-current { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--faint);
  transition: background-color .25s, color .25s;
}
html[lang="pt-BR"] .lang [data-l="pt"],
html[lang="en"] .lang [data-l="en"] {
  background: rgba(255,255,255,.12);
  color: var(--text);
}

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  place-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.mobile-menu > .container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin: 20px 0 24px; }
.nav.is-open .mobile-menu { grid-template-rows: 1fr; }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__actions { margin-left: auto; }
  .menu-btn { display: grid; }
}
@media (min-width: 921px) {
  .mobile-menu { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 12vh, 140px)) 0 clamp(64px, 9vh, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 0%, #000 20%, transparent 70%);
  opacity: .7;
}

.hero__glow {
  position: absolute;
  top: -260px; right: -120px;
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(200, 242, 90, .16), rgba(200, 242, 90, .04) 55%, transparent);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate(-80px, 60px) scale(1.08); }
}

.hero__title {
  margin: 30px 0 28px;
  font-size: clamp(3rem, 8.6vw, 7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero__line { display: block; }
.hero__line:first-child { color: var(--muted); }

.rotator {
  display: inline-block;
  color: var(--accent);
  font-size: 1.08em;
  letter-spacing: -.02em;
  padding-right: .06em;
}
.rotator__word {
  display: inline-block;
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease);
}
.rotator__word.is-out {
  opacity: 0;
  transform: translateY(.22em);
  filter: blur(8px);
}

.hero__sub {
  max-width: 54ch;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 10vh, 112px);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.05em;
}
.stat__label {
  margin-top: 10px;
  max-width: 26ch;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 20px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat { display: flex; align-items: baseline; gap: 18px; }
  .stat__num { min-width: 3.4ch; }
  .stat__label { margin: 0; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: flex;
  align-items: center;
  padding: 22px 0;
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .02em;
  color: var(--faint);
  white-space: nowrap;
}
.marquee__track li::after {
  content: "";
  width: 4px; height: 4px;
  margin: 0 40px;
  border-radius: 50%;
  background: var(--line-2);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */

.section { padding: clamp(88px, 11vw, 140px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(48px, 6vw, 72px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
}
.split__aside {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: start;
}
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
}

/* =========================================================
   SOLUÇÕES
   ========================================================= */

.solver {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
}

.solver__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solver__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.solver__tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s, background-color .25s, border-color .25s;
}
.solver__tab:hover { color: var(--text); background: rgba(255,255,255,.025); }
.solver__tab[aria-selected="true"] {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
.solver__num {
  flex: none;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--faint);
  transition: color .25s;
}
.solver__tab[aria-selected="true"] .solver__num { color: var(--accent); }
.solver__q::before { content: "“"; }
.solver__q::after { content: "”"; }

.solver__other {
  padding: 0 20px;
  font-size: .95rem;
  color: var(--faint);
}
.solver__other a {
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: color .2s, border-color .2s;
}
.solver__other a:hover { color: var(--accent); border-color: var(--accent); }

.solver__panels { display: grid; }

.panel {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s;
}
.panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 80%; height: 90%;
  background: radial-gradient(closest-side, rgba(200, 242, 90, .09), transparent);
  pointer-events: none;
}

.panel__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 36px;
  border: 1px solid rgba(200, 242, 90, .22);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.panel__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.panel__kicker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.panel__title {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.panel__desc {
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--muted);
  text-wrap: pretty;
}

.panel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 32px 0 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.panel__list li {
  position: relative;
  padding-left: 28px;
  font-size: .97rem;
  line-height: 1.45;
}
.panel__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--accent-soft) no-repeat center / 11px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8F25A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: auto;
}
.panel__case {
  font-size: .93rem;
  color: var(--muted);
  transition: color .2s;
}
.panel__case:hover { color: var(--text); }

/* Spotlight que segue o mouse */
.spot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.045), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

.solver__side, .solver__panels { min-width: 0; }

@media (max-width: 920px) {
  .solver { grid-template-columns: minmax(0, 1fr); }
  .solver__tabs {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(20px, 4vw, 40px);
    scrollbar-width: none;
    margin: 0 calc(-1 * clamp(20px, 4vw, 40px));
    padding: 0 clamp(20px, 4vw, 40px);
  }
  .solver__tabs::-webkit-scrollbar { display: none; }
  .solver__tab {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
    border-color: var(--line);
    font-size: .98rem;
  }
  .solver__other { order: 2; padding: 0; }
}
@media (max-width: 560px) {
  .panel__list { grid-template-columns: 1fr; }
  .panel__foot .btn { flex: 1 1 100%; }
}

/* =========================================================
   PROCESSO
   ========================================================= */

.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.step__num {
  padding-top: 9px;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--faint);
  transition: color .3s;
}
.step h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.03em;
  transition: transform .4s var(--ease);
}
.step p { max-width: 50ch; color: var(--muted); }
.step:hover .step__num { color: var(--accent); }
.step:hover h3 { transform: translateX(4px); }

@media (max-width: 560px) {
  .step { grid-template-columns: 44px minmax(0, 1fr); }
}

/* =========================================================
   TRABALHOS
   ========================================================= */

.cases { display: grid; gap: 24px; }

.case {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
}
.case--flip .case__media { order: 2; border-right: 0; border-left: 1px solid var(--line); }

.case__media {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(20px, 3.5vw, 44px);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(70% 70% at 50% 110%, var(--glow, rgba(200,242,90,.15)), transparent 70%),
    var(--surface-2);
  overflow: hidden;
}

.shots {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.shots__tabs {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 11, .6);
}
.shots__tab {
  position: relative;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .82rem;
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  transition: color .25s, background-color .25s;
}
.shots__tab:hover { color: var(--text); }
.shots__tab.is-active { color: var(--text); background: rgba(255,255,255,.1); }
.shots__bar {
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.shots.is-playing .shots__tab.is-active .shots__bar {
  opacity: .9;
  animation: shotbar 5s linear forwards;
}
.shots:hover .shots__bar,
.shots:focus-within .shots__bar { animation-play-state: paused !important; }
@keyframes shotbar { to { transform: scaleX(1); } }

.browser {
  display: block;
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 6px rgba(255,255,255,.02);
  transition: transform .7s var(--ease);
}
.case__media:hover .browser { transform: translateY(-6px) scale(1.012); }

.browser__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0B0B0D;
}
.browser__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.browser__screen img.is-active { opacity: 1; transform: none; }

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #19191C;
  border-bottom: 1px solid var(--line);
}
.browser__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2E2E33;
}
.browser__url {
  flex: 0 1 280px;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 6px;
  background: #0F0F11;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 3.5vw, 44px);
}
.case__meta {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
}
.case__title {
  margin-top: -8px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.case__row p { color: var(--muted); font-size: .98rem; text-wrap: pretty; }
.case__label {
  display: block;
  margin-bottom: 4px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  padding-top: 8px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  transition: color .2s, border-color .2s;
}
.link-arrow svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

@media (max-width: 920px) {
  .case { grid-template-columns: 1fr; }
  .case__media, .case--flip .case__media { order: 0; border: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   SOBRE
   ========================================================= */

.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about__media {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 20% 10%, rgba(200, 242, 90, .16), transparent 60%),
    radial-gradient(80% 60% at 90% 100%, rgba(255, 255, 255, .06), transparent 60%),
    var(--surface);
}
.portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  opacity: .5;
}
.portrait__mono {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
}
.portrait__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.portrait__tag {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__text > p {
  max-width: 60ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  text-wrap: pretty;
}
.about__text > p.about__big {
  color: var(--text);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -.01em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--bg);
  font-size: .95rem;
}
.fact a { transition: color .2s; }
.fact a:hover { color: var(--accent); }
.fact__label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 360px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }

.faq__icon {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.faq details p {
  max-width: 58ch;
  padding: 0 56px 30px 0;
  color: var(--muted);
  animation: fadeDown .4s var(--ease);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
}

/* =========================================================
   CTA
   ========================================================= */

.cta { padding: 0 0 clamp(80px, 10vw, 128px); }

.cta__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 120%, rgba(200, 242, 90, .2), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 100%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 100%, #000 30%, transparent 80%);
}

.cta__title {
  margin: 28px 0 20px;
  max-width: 14ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.cta__title em { color: var(--accent); font-size: 1.06em; }

.cta__sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.cta__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cta__contacts li { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.cta__contacts span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}
.cta__contacts a { transition: color .2s; }
.cta__contacts a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .cta__buttons .btn { flex: 1 1 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px;
  font-size: .88rem;
  color: var(--faint);
}
.footer__top { transition: color .2s; }
.footer__top:hover { color: var(--text); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 40px -10px rgba(200, 242, 90, .55);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.js .wa-float:not(.is-visible) { opacity: 0; pointer-events: none; transform: translateY(16px) scale(.9); }
.wa-float:hover { transform: scale(1.06); }

/* =========================================================
   REVEAL
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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