/* ==========================================================================
   Vini Nunes — site
   Marca: preto #161616 · branco #F2F2F2 · rosa #FF4D77 · estrela ✦
   ========================================================================== */

:root {
  --ink: #161616;
  --ink-2: #1c1c1c;
  --ink-3: #282828;
  --line: #2b2b2b;
  --paper: #f2f2f2;
  --bone: #efede8;
  --muted: #9a9a9a;
  --muted-2: #c9c9c9;
  --muted-light: #67645e;
  --line-light: rgba(22, 22, 22, .14);
  --pink: #ff4d77;
  --green: #3ddc84;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --topbar: 68px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.7 6.3 17.7 11.3 24 12C17.7 12.7 12.7 17.7 12 24C11.3 17.7 6.3 12.7 0 12C6.3 11.3 11.3 6.3 12 0Z'/%3E%3C/svg%3E");
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--wide { --wrap: 1600px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--pink); color: var(--ink); font-weight: 500; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ── Elementos de marca ───────────────────────────────────────────────── */
.spark {
  display: inline-block; flex: none;
  width: .8em; height: .8em;
  background: var(--pink);
  -webkit-mask: var(--spark) center / contain no-repeat;
          mask: var(--spark) center / contain no-repeat;
}

.label {
  display: flex; align-items: center; gap: .9em;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.label__num { color: var(--pink); }

.section-title {
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 450; font-stretch: 106%;
  line-height: 1.02; letter-spacing: -.03em;
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--pink); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }

/* ── Botões ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--pink); color: var(--ink); }
.btn--primary:hover { background: #ff6a8d; }
.btn--ghost { border-color: #3d3d3d; color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2a2a2a; }
.btn--outline-dark { border-color: rgba(22, 22, 22, .35); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); }

/* ── Topbar ───────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--topbar);
  background: rgba(22, 22, 22, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.side-switch {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 32px; padding: 0 12px;
  border: 1px solid #383838; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2); text-decoration: none; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.side-switch:hover { border-color: var(--pink); color: var(--paper); }
.side-switch__icon { font-family: var(--font); font-size: 15px; line-height: 1; color: var(--pink); transition: transform .3s var(--ease); }
.side-switch:hover .side-switch__icon { transform: rotate(180deg); }
.logo { display: inline-flex; color: var(--paper); transition: color .2s; }
.logo:hover { color: var(--pink); }
.logo svg { width: 92px; height: auto; }

.menu { display: flex; align-items: center; gap: 32px; }
.menu ul { display: flex; gap: 28px; }
.menu ul a { font-size: 15px; font-weight: 500; color: var(--muted-2); text-decoration: none; transition: color .2s; }
.menu ul a:hover, .menu ul a.is-active { color: var(--paper); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--paper);
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle__bar { position: relative; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bar::before { transform: translateY(-7px); }
.menu-toggle__bar::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: calc(var(--topbar) + clamp(48px, 8vw, 112px)) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.eyebrow { color: var(--paper); }
.hero__title {
  margin: 28px 0 28px;
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 400; font-stretch: 108%;
  line-height: .98; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--pink); }
.hero__lead { max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.hero__facts a { text-decoration: none; transition: color .2s; }
.hero__facts a:hover { color: var(--pink); }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }

.hero__visual { position: relative; }
.hero__portrait {
  position: relative; z-index: 1;
  width: 86%; margin-left: auto;
  aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.sparkfield {
  position: absolute; z-index: 0;
  top: -14%; bottom: -14%; left: -26%; right: -8%;
  display: grid; grid-template-columns: repeat(var(--cols, 9), 1fr); grid-auto-rows: 1fr;
  place-items: center;
  pointer-events: none;
}
.sparkfield i {
  width: 14px; height: 14px;
  background: var(--ink-3);
  -webkit-mask: var(--spark) center / contain no-repeat;
          mask: var(--spark) center / contain no-repeat;
  transition: background-color .6s, transform .6s var(--ease);
}
.sparkfield i.on { background: var(--pink); transform: scale(1.3) rotate(45deg); }

/* entrada do hero (sem JS também) */
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__visual { animation: fade 1.2s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ── Marcas ───────────────────────────────────────────────────────────── */
.brands { padding: 40px 0 44px; border-block: 1px solid var(--line); }
.brands .label { margin-bottom: 18px; }
.brands__list {
  display: flex; flex-wrap: wrap; row-gap: 6px;
  font-size: clamp(20px, 2.3vw, 32px); font-weight: 400; font-stretch: 104%;
  letter-spacing: -.02em; line-height: 1.25; color: #707070;
}
.brands__list li { display: inline-flex; align-items: center; transition: color .2s; }
.brands__list li:hover { color: var(--paper); }
.brands__list li:not(:last-child)::after {
  content: ""; width: .42em; height: .42em; margin: 0 .7em;
  background: var(--pink);
  -webkit-mask: var(--spark) center / contain no-repeat;
          mask: var(--spark) center / contain no-repeat;
}

/* ── Trabalhos ────────────────────────────────────────────────────────── */
.work { padding: clamp(80px, 10vw, 140px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  height: 38px; padding: 0 16px;
  border: 1px solid #353535; border-radius: 999px;
  background: transparent; color: var(--muted-2);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--paper); color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip__count { margin-left: 4px; font-family: var(--mono); font-size: 11px; opacity: .6; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.card[hidden] { display: none; }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: var(--ink-2);
}
.card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card a:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 16px; }
.card__title { font-size: 20px; font-weight: 500; font-stretch: 104%; line-height: 1.2; letter-spacing: -.01em; }
.card__title::after { content: " →"; color: var(--pink); opacity: 0; transition: opacity .2s; }
.card a:hover .card__title::after, .card a:focus-visible .card__title::after { opacity: 1; }
.card__cat, .card__year { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card__cat { margin-top: 6px; }
.card__year { flex: none; padding-top: 5px; }

@media (min-width: 1024px) {
  .grid:not(.is-filtered) .card--featured { grid-column: span 2; }
  .grid:not(.is-filtered) .card--featured .card__media { aspect-ratio: auto; flex: 1; min-height: 0; }
  .grid:not(.is-filtered) .card--featured .card__media img { position: absolute; inset: 0; }
  .grid:not(.is-filtered) .card--featured .card__title { font-size: 26px; }
}

.archive { margin-top: clamp(64px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.archive__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 32px; margin-top: 18px; }
.archive__list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 15px; line-height: 1.35; }
.archive__list span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── Sobre + Experiência (claro) ──────────────────────────────────────── */
.about { padding: clamp(80px, 10vw, 140px) 0; background: var(--bone); color: var(--ink); }
.about .label { color: var(--muted-light); }
.about .label__num { color: var(--ink); }
.about__grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.about__main .section-title { margin-bottom: 32px; }
.about .section-title em { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: .08em; text-underline-offset: .1em; }
.about__text { display: grid; gap: 18px; max-width: 38em; font-size: 18px; line-height: 1.65; color: #2b2b2b; }
.about__skills { padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 32px; }
.tags li { padding: 6px 14px; border: 1px solid rgba(22, 22, 22, .2); border-radius: 999px; font-size: 14px; line-height: 1.4; }

.xp { margin-top: clamp(72px, 9vw, 120px); }
.xp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.xp__list { border-top: 1px solid var(--line-light); }
.xp__list li {
  display: grid; grid-template-columns: 190px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr);
  gap: 8px 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line-light);
  transition: background-color .2s;
}
.xp__period { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-light); }
.xp__role { font-weight: 500; }
.xp__place { text-align: right; color: var(--muted-light); font-size: 15px; }
.xp__edu { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 28px; font-size: 15px; color: #2b2b2b; }

/* ── O que eu faço ────────────────────────────────────────────────────── */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.services__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: svc; }
.services__list li { padding-top: 24px; border-top: 1px solid var(--line); counter-increment: svc; }
.services__list li::before {
  content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 32px;
  font-family: var(--mono); font-size: 12px; color: var(--pink);
}
.services__list h3 { margin-bottom: 10px; font-size: 22px; font-weight: 500; font-stretch: 104%; line-height: 1.2; letter-spacing: -.01em; }
.services__list p { font-size: 15px; color: #a8a8a8; }
.freela { margin-top: 56px; color: #a8a8a8; }
.freela a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--pink); transition: color .2s; }
.freela a:hover { color: var(--pink); }

/* ── Contato (rosa) ───────────────────────────────────────────────────── */
.contact { padding: clamp(80px, 10vw, 140px) 0; background: var(--pink); color: var(--ink); }
.contact .label { color: rgba(22, 22, 22, .7); }
.contact .label__num { color: var(--ink); }
.contact__title {
  margin: 24px 0 20px;
  font-size: clamp(52px, 10vw, 152px); font-weight: 450; font-stretch: 108%;
  line-height: .94; letter-spacing: -.04em;
}
.contact__lead { max-width: 32em; font-size: 18px; }
.contact__mail {
  display: inline-block; margin: 36px 0 32px;
  font-size: clamp(20px, 3.2vw, 44px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2;
  text-decoration: none; border-bottom: 2px solid currentColor; overflow-wrap: anywhere;
  transition: opacity .2s;
}
.contact__mail:hover { opacity: .7; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact--compact .contact__title { font-size: clamp(40px, 7vw, 104px); margin-top: 0; }
.contact--compact .contact__mail { margin-top: 20px; }

/* ── Rodapé ───────────────────────────────────────────────────────────── */
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.footer__copy { display: inline-flex; align-items: center; gap: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--paper); }

/* ── Página de projeto ────────────────────────────────────────────────── */
.case__head { padding: calc(var(--topbar) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); }
.back {
  display: inline-flex; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.back:hover { color: var(--paper); }
.case__title {
  margin: 20px 0 clamp(36px, 5vw, 56px);
  font-size: clamp(46px, 9vw, 144px); font-weight: 400; font-stretch: 108%;
  line-height: .96; letter-spacing: -.035em;
  text-wrap: balance; overflow-wrap: break-word;
}
.case__intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.case__desc { max-width: 36em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: #d9d9d9; }
.case__meta div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.case__meta div:first-child { padding-top: 0; }
.case__meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case__meta dd { font-size: 15px; }

.case__gallery { display: grid; gap: clamp(8px, 1.2vw, 16px); padding-bottom: clamp(80px, 10vw, 140px); }
.shot img { width: 100%; height: auto; border-radius: 4px; background: var(--ink-2); }
.shot--portrait { width: 100%; max-width: 820px; margin-inline: auto; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); align-items: start; }
.shot-pair .shot--portrait { max-width: none; }

.next { border-top: 1px solid var(--line); }
.next__link {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 300px); grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 4vw, 56px); align-items: end;
  padding-block: clamp(56px, 7vw, 96px); text-decoration: none;
}
.next__title {
  grid-column: 1; margin-top: 14px;
  font-size: clamp(36px, 6.4vw, 100px); font-weight: 400; font-stretch: 108%;
  line-height: 1; letter-spacing: -.035em; transition: color .25s;
}
.next__link:hover .next__title { color: var(--pink); }
.next__thumb { grid-column: 2; grid-row: 1 / 3; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ── Início: escolha entre os dois lados ──────────────────────────────── */
.page-choice { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.choice-top { position: relative; z-index: 2; padding: 22px 0; }
.choice-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.choice-top__mail { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: color .2s; }
.choice-top__mail:hover { color: var(--paper); }
.choice { position: relative; flex: 1; display: flex; align-items: center; padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 6vw, 96px); overflow: hidden; }
.choice .sparkfield { inset: 0; opacity: .7; }
.choice__inner { position: relative; z-index: 1; }
.choice__title {
  max-width: 18em; margin: 22px 0 clamp(36px, 5vw, 64px);
  font-size: clamp(36px, 5.6vw, 84px); font-weight: 400; font-stretch: 106%;
  line-height: 1.02; letter-spacing: -.035em; text-wrap: balance;
}
.choice__title em { font-style: normal; color: var(--pink); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px, 44vh, 480px); padding: clamp(24px, 3vw, 40px);
  border-radius: 10px; text-decoration: none;
  transition: transform .45s var(--ease);
}
.door:hover { transform: translateY(-4px); }
.door__body { display: grid; gap: 12px; max-width: 30em; }
.door__title { font-size: clamp(32px, 3.6vw, 56px); font-weight: 400; font-stretch: 106%; line-height: 1; letter-spacing: -.035em; }
.door__text { font-size: 16px; line-height: 1.55; }
.door__cta { display: inline-flex; gap: .45em; margin-top: 6px; font-weight: 500; }
.door__cta span { transition: transform .3s var(--ease); }
.door:hover .door__cta span { transform: translateX(6px); }

.door--ad { background: var(--ink-2); border: 1px solid var(--line); color: var(--paper); }
.door--ad .door__text { color: var(--muted-2); }
.door__media { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.door__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transition: opacity .6s, transform .9s var(--ease); }
.door--ad:hover .door__media img { opacity: .62; transform: scale(1.04); }
.door--ad::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 22, 22, .96) 18%, rgba(22, 22, 22, .6) 58%, rgba(22, 22, 22, .2)); }

.door--ia { background: var(--pink); color: var(--ink); }
.door--ia::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23161616' fill-opacity='.14' d='M12 0C12.7 6.3 17.7 11.3 24 12C17.7 12.7 12.7 17.7 12 24C11.3 17.7 6.3 12.7 0 12C6.3 11.3 11.3 6.3 12 0Z'/%3E%3C/svg%3E");
  background-size: 18px 18px; background-position: 14px 14px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  transition: transform 1.2s var(--ease);
}
.door--ia:hover::before { transform: scale(1.06); }
.door--ia .label, .door--ia .label__num { color: rgba(22, 22, 22, .72); }

/* ── Página IA ────────────────────────────────────────────────────────── */
.block { padding: clamp(80px, 10vw, 140px) 0; }
.block--line { border-top: 1px solid var(--line); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.section-head--split > div { display: grid; gap: 18px; }
.section-head__aside { flex: none; max-width: 340px; font-size: 15px; line-height: 1.65; color: var(--muted-2); }
.hero__lead strong { color: var(--paper); font-weight: 500; }

.ia-hero { position: relative; padding: calc(var(--topbar) + clamp(56px, 8vw, 104px)) 0 0; overflow: hidden; }
.ia-hero .sparkfield {
  top: 0; bottom: 0; left: 38%; right: -4%; opacity: .6;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
          mask-image: linear-gradient(to right, transparent, #000 45%);
}
.ia-hero__inner { position: relative; z-index: 1; }
.ia-hero .eyebrow { color: var(--pink); }
.ia-hero .status__dot { background: var(--pink); box-shadow: none; animation: blink 1.9s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ia-hero__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.ia-hero__title { font-size: clamp(44px, 7.2vw, 112px); font-weight: 400; font-stretch: 108%; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.ia-hero__title em { font-style: normal; color: var(--pink); }
.ia-hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: clamp(48px, 7vw, 96px); padding: 22px 0 26px; border-top: 1px solid var(--line); }
.ia-roles { display: flex; flex-wrap: wrap; row-gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ia-roles span:not(:last-child)::after { content: "/"; margin: 0 16px; color: #4a4a4a; }
.ia-stats { display: flex; gap: clamp(24px, 4vw, 48px); }
.ia-stats div { display: flex; flex-direction: column-reverse; }
.ia-stats dd { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.ia-stats dt { font-size: 12px; color: var(--muted); }

.ticker { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { padding: 20px 28px; font-size: clamp(26px, 3.4vw, 52px); font-weight: 400; font-stretch: 106%; letter-spacing: -.035em; color: #3d3d3d; }
.ticker span:nth-child(even) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.solution { display: flex; flex-direction: column; min-height: 320px; padding: clamp(24px, 3vw, 36px); background: var(--ink); transition: background-color .3s; }
.solution:hover { background: var(--ink-2); }
.solution h3 { margin: auto 0 14px; padding-top: 64px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; font-stretch: 104%; line-height: 1.12; letter-spacing: -.025em; }
.solution p { font-size: 15px; color: #a8a8a8; }
.solution b { font-weight: 500; color: var(--paper); }

.packs { border-top: 1px solid var(--line); counter-reset: pack; }
.pack { display: grid; grid-template-columns: 48px minmax(0, 1fr) 200px; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); counter-increment: pack; }
.pack::before { content: counter(pack, decimal-leading-zero); padding-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--pink); }
.pack__body { display: grid; gap: 10px; max-width: 620px; }
.pack h3 { font-size: 24px; font-weight: 500; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.2; }
.pack__desc { font-size: 15.5px; color: #b5b5b5; }
.pack__for { font-size: 14px; color: var(--muted); }
.pack__for b { font-weight: 500; color: #d6d6d6; }
.pack .tags { margin: 4px 0 0; }
.tags--dark li { border-color: #353535; color: var(--muted-2); }
.pack__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 4px; text-align: right; }
.pack__price { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.pack__price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.pack__time { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pack-note { margin-top: 32px; font-size: 15px; color: #a8a8a8; }
.pack-note a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--pink); transition: color .2s; }
.pack-note a:hover { color: var(--pink); }

.sub-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; font-size: 22px; font-weight: 500; font-stretch: 104%; letter-spacing: -.02em; }
.sub-title span { font-size: 15px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.web-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-bottom: clamp(64px, 8vw, 104px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.web-card { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 28px; background: var(--ink); text-decoration: none; transition: background-color .3s; }
a.web-card:hover { background: var(--ink-2); }
.web-card .label { color: var(--pink); }
.web-card h4 { font-size: 22px; font-weight: 500; font-stretch: 104%; line-height: 1.15; letter-spacing: -.02em; }
.web-card p { margin-top: auto; font-size: 14px; color: #a8a8a8; }
.more-row { display: flex; justify-content: center; margin-top: 48px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { padding-top: 24px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 36px; font-family: var(--mono); font-size: 12px; color: var(--pink); }
.steps h3 { margin-bottom: 10px; font-size: 22px; font-weight: 500; font-stretch: 104%; letter-spacing: -.02em; }
.steps p { font-size: 15px; color: #a8a8a8; }
.stack { margin-top: clamp(56px, 7vw, 88px); }
.stack .tags { margin-top: 14px; }

.ia-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ia-about .section-title { margin-top: 18px; }
.ia-about__text { display: grid; gap: 18px; font-size: 17px; line-height: 1.75; color: #bdbdbd; }
.ia-about__text strong { font-weight: 500; color: var(--paper); }
.ia-about__text .hero__actions { margin-top: 12px; }

@media (max-width: 1023px) {
  .solutions { grid-template-columns: 1fr; }
  .solution { min-height: 0; }
  .solution h3 { padding-top: 40px; }
  .web-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .ia-hero__body, .ia-about { grid-template-columns: 1fr; }
  .section-head--split { display: grid; gap: 18px; }
}
@media (max-width: 759px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 280px; }
  .choice-top__mail { display: none; }
}
@media (max-width: 639px) {
  .web-grid, .steps { grid-template-columns: 1fr; }
  .pack { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .pack::before { padding-top: 0; }
  .pack__meta { flex-direction: row; align-items: baseline; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
  .ia-stats dd { font-size: 22px; }
  .ia-hero .sparkfield { left: 0; opacity: .5; }
}

/* ── Revelar ao rolar (só com JS) ─────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid:not(.is-filtered) .card--featured { grid-column: 1 / -1; }
  .grid:not(.is-filtered) .card--featured .card__media { aspect-ratio: 16 / 9; }
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .about__grid > .label { grid-column: 1 / -1; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .xp__list li { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); }
  .xp__place { grid-column: 2 / -1; text-align: left; }
}

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .js .menu {
    position: fixed; top: var(--topbar); left: 0; right: 0;
    height: calc(100dvh - var(--topbar));
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 36px;
    padding: 40px var(--gutter);
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .js .menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .js .menu ul { flex-direction: column; gap: 6px; }
  .js .menu ul a { font-size: clamp(32px, 9vw, 44px); font-weight: 400; font-stretch: 106%; letter-spacing: -.03em; color: var(--paper); }
  .js .menu .btn { height: 48px; padding: 0 24px; font-size: 15px; }
  html:not(.js) .menu ul { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 440px); margin: 8px auto 0; }
  .hero__portrait { width: 80%; }
  .sparkfield { left: -10%; right: -10%; top: -10%; bottom: -10%; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .grid:not(.is-filtered) .card--featured .card__media { aspect-ratio: 4 / 3; }
  .about__grid { grid-template-columns: 1fr; }
  .about__text { font-size: 17px; }
  .services__list { grid-template-columns: 1fr; row-gap: 32px; }
  .services__list li::before { margin-bottom: 16px; }
  .xp__head { flex-direction: column; align-items: flex-start; }
  .xp__list li { grid-template-columns: 1fr; gap: 2px; }
  .xp__place { grid-column: auto; }
  .case__intro { grid-template-columns: 1fr; }
  .case__meta div { grid-template-columns: 110px minmax(0, 1fr); }
  .shot-pair { grid-template-columns: 1fr; }
  .next__link { grid-template-columns: 1fr; }
  .next__thumb { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .contact__links .btn { height: 44px; padding: 0 18px; }
}

@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; }
}
