/* ==========================================================================
   Caio Pianezzer — portfólio
   Paleta, tipografia e componentes. Mobile: até 760px.
   ========================================================================== */

:root {
  --cream: #FCF9F4;
  --green: #14453D;
  --green-2: #1E5A50;
  --green-deep: #0E332D;
  --ink-2: #2F5751;
  --muted: #4A6B65;
  --red: #C7362E;
  --red-2: #A82C25;
  --beige: #F1EADD;
  --beige-2: #EDE6D8;
  --sand: #BFAF94;
  --sand-2: #D6C8AE;
  --mint: #B9CBC6;
  --pink: #F3B9B3;
  --night: #1E2B28;

  --line: rgba(20, 69, 61, .25);
  --line-soft: rgba(20, 69, 61, .14);

  --display: 'Inter Tight', 'Geist', system-ui, sans-serif;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --serif: 'EB Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --raleway: 'Raleway', var(--sans);

  --pad: 48px;
  --maxw: 1440px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 760px) {
  :root { --pad: 16px; --header-h: 60px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.theme-dark, .theme-dark body { background: var(--green); color: var(--cream); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: var(--red); }
.theme-dark a:hover { color: var(--pink); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--green); color: var(--cream); }
.theme-dark ::selection { background: var(--cream); color: var(--green); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.theme-dark :focus-visible { outline-color: var(--pink); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
#top { scroll-margin-top: 0; }

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.sm-only { display: none !important; }
@media (max-width: 760px) {
  .sm-only { display: revert !important; }
  .lg-only { display: none !important; }
}
.no-scroll { overflow: hidden; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* tipografia recorrente */
.h-section {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -.01em;
}
.kicker {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}
.theme-dark .kicker { color: inherit; opacity: .75; }
@media (max-width: 760px) {
  .h-section { font-size: 42px; }
  .kicker { font-size: 10px; letter-spacing: .06em; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; line-height: 1.1; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn__icon { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateY(2px); }
.btn:hover .btn__icon--ne { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--green); color: var(--cream); }
.btn--solid:hover { background: var(--green-deep); color: var(--cream); }
.btn--line { border-color: currentColor; color: var(--green); }
.btn--line:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn--cream { background: var(--cream); color: var(--green); }
.btn--cream:hover { background: #fff; color: var(--green); }
.btn--line-light { border-color: var(--cream); color: var(--cream); }
.btn--line-light:hover { background: var(--cream); color: var(--green); }
@media (max-width: 760px) {
  .btn { min-height: 50px; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 249, 244, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s var(--ease), background-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 69, 61, .08); }
.theme-dark .site-header { background: rgba(20, 69, 61, .92); border-bottom-color: rgba(252, 249, 244, .2); }
.theme-dark .site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 500; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
}
.brand:hover { color: inherit; }
.brand__icon { width: 60px; height: 60px; flex: none; transform-origin: 50% 80%; transition: transform .5s var(--ease); }
.brand__icon--dark { display: none; }
.theme-dark .brand__icon--light { display: none; }
.theme-dark .brand__icon--dark { display: block; }
.brand:hover .brand__icon { transform: rotate(-8deg) scale(1.06); }
@media (hover: hover) { .brand:hover .brand__icon { animation: nod .7s var(--ease); } }
@keyframes nod { 0% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 100% { transform: rotate(-8deg) scale(1.06); } }
.nav { display: flex; gap: 36px; font-size: 14px; }
.nav a { position: relative; text-decoration: none; padding: 6px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover { color: inherit; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; gap: 0;
}
.lang a {
  min-width: 44px; min-height: 32px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 12px; font-weight: 500; text-decoration: none; letter-spacing: .02em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lang a:hover { color: inherit; background: rgba(20, 69, 61, .08); }
.lang a[aria-current] { background: var(--green); color: var(--cream); cursor: default; }
.theme-dark .lang a:hover { background: rgba(252, 249, 244, .12); }
.theme-dark .lang a[aria-current] { background: var(--cream); color: var(--green); }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-btn__line { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn:hover .menu-btn__line:last-child { transform: translateX(-4px); }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 14px; gap: 10px; }
  .brand__icon { width: 48px; height: 48px; }
  .lang { padding: 2px; }
  .lang a { min-width: 38px; min-height: 30px; font-size: 11px; }
}

/* ---------- menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--green); color: var(--cream);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-in-out), visibility 0s linear .6s;
}
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-in-out); }
.menu a:hover { color: var(--pink); }
.menu__head {
  height: var(--header-h); flex: none; padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(252, 249, 244, .2);
}
.menu__brand { width: 48px; height: 48px; }
.menu__close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: var(--cream); font-size: 14px; cursor: pointer;
}
.menu__close span { font-size: 22px; line-height: 1; }
.menu__lang {
  display: grid; grid-template-columns: 90px 1fr; align-items: center;
  padding: 28px 16px 0; font-size: 11px; color: var(--mint);
}
.menu__lang .lang { border: 0; padding: 0; gap: 4px; justify-self: start; color: var(--cream); }
.menu__lang .lang a { border: 1px solid rgba(252, 249, 244, .5); min-width: 44px; font-family: var(--mono); font-size: 11px; font-weight: 400; }
.menu__lang .lang a[aria-current] { background: var(--cream); color: var(--green); border-color: var(--cream); }
.menu__links { margin-top: 40px; padding: 0 16px; }
.menu__links a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0; border-top: 1px solid rgba(252, 249, 244, .25);
  text-decoration: none; font-size: 40px; letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.menu__links a:last-child { border-bottom: 1px solid rgba(252, 249, 244, .25); }
.menu__links a > span:last-child { font-size: 20px; transition: transform .3s var(--ease); }
.menu__links a:hover > span:last-child { transform: translate(3px, -3px); }
.menu__links a[aria-current] > span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.menu__links .menu__serif { font-family: var(--serif); font-style: italic; font-size: 44px; letter-spacing: 0; }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 180ms); }
.menu__foot { margin-top: auto; padding: 40px 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.menu__mail { font-size: 16px; }
.menu__socials { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; }
.menu__socials a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
@media (min-width: 761px) { .menu { display: none; } }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero { padding-top: 40px; padding-bottom: 72px; }
.hero__title {
  margin-top: 36px; font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: .86;
  font-size: clamp(64px, 11.6vw, 172px);
}
.hero__eyebrow {
  display: block; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--muted);
}
.hero__name { display: flex; justify-content: space-between; gap: .25em; }
.hero__body { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 64px; align-items: center; }
.spiral-box { flex: 0 1 520px; min-width: 280px; }
.hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 32px; padding-bottom: 8px; }
.tagline { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; max-width: 640px; }
.bio { font-size: 17px; line-height: 1.6; max-width: 520px; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.spiral { width: 100%; height: auto; aspect-ratio: 161.8 / 100; overflow: visible; }
.spiral__grid { fill: none; stroke: var(--green); stroke-opacity: .45; stroke-width: 1; }
.spiral__line {
  fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 0;
  animation: spiral-draw 6s ease-in-out infinite alternate;
}
@keyframes spiral-draw { 0% { stroke-dashoffset: 1000; } 60%, 100% { stroke-dashoffset: 0; } }

@media (max-width: 760px) {
  .hero { padding-top: 24px; padding-bottom: 48px; }
  .hero__title { margin-top: 12px; font-size: clamp(52px, 17vw, 80px); }
  .hero__eyebrow { font-size: 10px; margin-bottom: 16px; }
  .hero__name { flex-direction: column; gap: 0; }
  .hero__body { margin-top: 32px; gap: 28px; }
  .spiral-box { flex: 1 1 100%; min-width: 0; }
  .hero__text { flex: 1 1 100%; gap: 0; }
  .tagline { font-size: 28px; line-height: 1.15; }
  .bio { margin-top: 16px; font-size: 15px; }
  .cta-row { flex-direction: column; gap: 10px; margin-top: 24px; }
  .cta-row .btn { width: 100%; }
}

/* ---------- faixa de habilidades ---------- */
.marquee { background: var(--green); color: var(--cream); overflow: hidden; padding: 22px 0; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; flex: none; gap: 40px; padding-right: 40px;
  font-family: var(--raleway); font-style: italic; font-size: 34px; line-height: 1.2; white-space: nowrap;
}
.marquee__dot { color: var(--red); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .marquee { padding: 16px 0; }
  .marquee__track { animation-duration: 22s; }
  .marquee__group { font-size: 24px; gap: 24px; padding-right: 24px; }
}

/* ---------- projetos selecionados ---------- */
.work { padding-top: 112px; padding-bottom: 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

.work__cols, .work-row {
  display: grid; grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 1fr) 120px 40px; gap: 16px; align-items: center;
}
.work__cols {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  padding: 0 16px 12px;
}
.work__table { position: relative; border-top: 1px solid var(--green); }
.work-row {
  height: 84px; padding: 0 16px; border-bottom: 1px solid rgba(20, 69, 61, .3);
  text-decoration: none; color: var(--green);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.work-row:hover, .work-row.is-active, .work-row:focus-visible { background: var(--green); color: var(--cream); }
.work-row:focus-visible { outline-offset: -2px; }
.work-row__media { display: none; }
.work-row__meta, .work-row__name { display: contents; }
.work-row__num { font-family: var(--mono); font-size: 13px; }
.work-row__title { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; transition: transform .4s var(--ease); }
.work-row:hover .work-row__title, .work-row.is-active .work-row__title { transform: translateX(8px); }
.work-row__cat { font-family: var(--raleway); font-size: 18px; font-style: italic; letter-spacing: .2px; }
.work-row__year { font-family: var(--mono); font-size: 13px; }
.work-row__arrow { font-size: 20px; text-align: right; transition: transform .35s var(--ease); }
.work-row:hover .work-row__arrow, .work-row.is-active .work-row__arrow { transform: translate(3px, -3px); }

.work__preview {
  position: absolute; right: 22%; top: 0; z-index: 3; width: 300px; height: 190px;
  overflow: hidden; pointer-events: none; background: var(--night);
  box-shadow: 0 24px 48px rgba(20, 69, 61, .25);
  opacity: 0; transform: translateX(var(--mx, 0px)) rotate(-3deg) scale(.88);
  transition: top .45s var(--ease), opacity .3s var(--ease), transform .45s var(--ease);
}
.work__preview.is-visible { opacity: 1; transform: translateX(var(--mx, 0px)) rotate(-3deg) scale(1); }
.work__preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .35s var(--ease), transform .6s var(--ease);
}
.work__preview img.is-active { opacity: 1; transform: none; }
@media (hover: none) { .work__preview { display: none; } }

@media (max-width: 1000px) and (min-width: 761px) {
  .work__cols, .work-row { grid-template-columns: 56px minmax(0, 1.3fr) minmax(0, 1fr) 70px 28px; }
  .work__preview { right: 6%; width: 240px; height: 152px; }
}
@media (max-width: 760px) {
  .work { padding-top: 56px; padding-bottom: 40px; }
  .work .section-head { margin-bottom: 24px; }
  .work .section-head .link-arrow { display: none; }
  .work__cols { display: none; }
  .work__table { border-top: 0; }
  .work__list { display: flex; flex-direction: column; gap: 28px; }
  .work__list li.lg-only { display: none !important; }
  .work-row { display: block; height: auto; padding: 0; border: 0; background: none !important; color: var(--green) !important; }
  .work-row__media {
    display: block; position: relative; height: 200px; overflow: hidden; background: var(--c, var(--night));
  }
  .work-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .work-row:active .work-row__media img { transform: scale(1.03); }
  .work-row__meta {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid rgba(20, 69, 61, .3);
  }
  .work-row__name { display: flex; gap: 10px; align-items: baseline; }
  .work-row__num { font-size: 11px; }
  .work-row__title { font-size: 19px; transform: none !important; }
  .work-row__cat { font-size: 14px; text-align: right; }
  .work-row__year, .work-row__arrow { display: none; }
  .work__all { margin-top: 28px; width: 100%; }
}
@media (min-width: 761px) { .work__all { display: none; } }

/* ---------- marketing de influência ---------- */
.influence { background: var(--beige); border-block: 1px solid rgba(20, 69, 61, .2); margin-bottom: 112px; }
.influence__inner { padding-top: 96px; }
.influence__body { padding-bottom: 88px; }
.influence .section-head { margin-bottom: 20px; }
.influence__intro { margin: 0 0 48px; font-size: 17px; line-height: 1.6; max-width: 640px; color: var(--ink-2); }
.carousel-ctrl { display: flex; align-items: center; gap: 16px; }
.counter { font-size: 13px; min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--green); background: transparent;
  color: var(--green); font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.round-btn:hover { background: var(--green); color: var(--cream); }
.round-btn:active { transform: scale(.94); }
.round-btn--solid { background: var(--green); color: var(--cream); border-color: var(--green); }
.round-btn--solid:hover { background: var(--green-deep); }

.reels-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.reels { flex: 0 1 808px; min-width: 0; display: grid; }
.reel {
  grid-area: 1 / 1; display: grid; grid-template-columns: auto minmax(0, 460px); gap: 48px; align-items: stretch;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s;
}
.reel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }

.reel__media {
  position: relative; width: 300px; height: 533px; border-radius: 14px; overflow: hidden;
  background: var(--c); color: var(--cream); box-shadow: 0 24px 48px rgba(20, 69, 61, .2);
  transition: width .4s var(--ease);
}
.reel__poster {
  position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(0, 0, 0, .28), transparent 60%),
    radial-gradient(90% 60% at 0% 0%, rgba(255, 255, 255, .12), transparent 60%);
}
.reel__who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.reel__avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--cream); }
.reel__play {
  align-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: none; border: 0; color: var(--cream); cursor: pointer; padding: 8px;
}
.reel__play-icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(252, 249, 244, .92);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .4s var(--ease);
}
.reel__play-icon::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(252, 249, 244, .6);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.reel__play:hover .reel__play-icon { transform: scale(1.08); }
.reel__play-icon svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--green); }
.reel__play-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.reel__date { font-family: var(--mono); font-size: 11px; opacity: .85; }
.reel__fallback {
  display: none; position: absolute; inset: auto 16px 16px; text-align: center;
  background: var(--cream); color: var(--green); border-radius: 999px; padding: 12px 16px; font-size: 14px; text-decoration: none;
}
.reel__media.is-loading .reel__play-icon { animation: pulse-soft 1s ease-in-out infinite alternate; }
@keyframes pulse-soft { to { transform: scale(.9); opacity: .6; } }
.reel__media.is-failed .reel__fallback { display: block; }
.reel__media.is-failed .reel__play { display: none; }
.reel__media.is-loaded { width: 330px; height: auto; min-height: 533px; background: #fff; color: var(--green); }
.reel__media.is-loaded .reel__poster { display: none; }
.reel__embed { width: 100%; }
.reel__embed .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; }

.reel__info { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 8px 0; min-width: 0; }
.reel__meta { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.reel__handle { font-weight: 500; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.reel__text { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--green); padding-top: 16px; }
.stat { display: flex; flex-direction: column; }
.stat__n { font-family: var(--serif); font-size: 34px; line-height: 1; }
.stat__l { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.reel__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-size: 15px; }
.reel__link span { transition: transform .3s var(--ease); }
.reel__link:hover span { transform: translate(3px, -3px); }

.upnext { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.upnext__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.upnext__list { display: flex; gap: 12px; flex: 1; }
.upnext__item {
  flex: 1 1 0; min-width: 0; min-height: 240px; max-height: 330px; border: 0; border-radius: 10px;
  background: var(--c); color: var(--cream); padding: 12px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  font-family: var(--sans); animation: upnext-in .5s var(--ease) both; animation-delay: calc(var(--k) * 70ms);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.upnext__item:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(20, 69, 61, .2); }
.upnext__pos { font-family: var(--mono); font-size: 10px; opacity: .85; }
.upnext__handle { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
@keyframes upnext-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.progress { display: flex; gap: 6px; margin-top: 40px; }
.progress__bar {
  flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.progress__bar::before, .progress__bar::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; }
.progress__bar::before { background: rgba(20, 69, 61, .2); }
.progress__bar::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress__bar.is-active::after { transform: scaleX(1); }
.progress__bar:hover::before { background: rgba(20, 69, 61, .4); }

@media (max-width: 1180px) and (min-width: 761px) {
  .reels { flex-basis: 100%; }
  .upnext__list { min-height: 200px; }
  .upnext__item { min-height: 0; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .reel { grid-template-columns: auto minmax(0, 1fr); gap: 32px; }
  .reel__media { width: 260px; height: 462px; }
}
@media (max-width: 760px) {
  .influence { margin-bottom: 48px; }
  .influence__inner { padding-top: 56px; }
  .influence__body { padding: 0 0 40px; }
  .influence__intro { font-size: 15px; margin: 14px 0 24px; }
  .influence .section-head { margin-bottom: 0; }
  .carousel-ctrl, .upnext { display: none; }
  .reels-layout { display: block; }
  .reels {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 16px;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel {
    grid-area: auto; flex: 0 0 290px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .reel.is-playing { flex-basis: 330px; }
  .reel__media { width: 100%; height: 470px; border-radius: 12px; box-shadow: none; }
  .reel__media.is-loaded { width: 100%; min-height: 470px; }
  .reel__poster { padding: 14px; }
  .reel__who { font-size: 12px; gap: 8px; }
  .reel__avatar { width: 26px; height: 26px; }
  .reel__play-icon { width: 56px; height: 56px; }
  .reel__date { font-size: 10px; }
  .reel__info { flex: 1 1 auto; padding: 0; gap: 0; }
  .reel__meta { margin: 0; font-size: 11px; letter-spacing: .06em; }
  .reel__handle { display: none; }
  .reel__text { margin-top: 8px; font-size: 14px; line-height: 1.55; }
  .stats { margin-top: 16px; gap: 12px; padding-top: 12px; }
  .stat__n { font-size: 30px; }
  .stat__l { font-size: 10px; letter-spacing: .04em; }
  .reel__link { min-height: 36px; margin-top: 6px; font-size: 13px; }
  .progress { padding: 12px 16px 0; gap: 5px; margin-top: 0; }
}

/* ---------- números ---------- */
.numbers { padding-bottom: 120px; }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--green); }
.figure-stat { padding: 32px 32px 0; border-right: 1px solid var(--line); }
.figure-stat:first-child { padding-left: 0; }
.figure-stat:nth-child(3) { border-right: 0; padding-right: 0; }
.figure-stat__n { font-family: var(--serif); font-size: clamp(72px, 8vw, 128px); line-height: 1; font-variant-numeric: lining-nums; }
.figure-stat__n--accent { color: var(--red); font-style: italic; }
.figure-stat__n small { font-size: .5em; font-style: italic; }
.figure-stat p:not(.figure-stat__n) { margin-top: 16px; font-size: 16px; line-height: 1.5; max-width: 300px; }
@media (max-width: 760px) {
  .numbers { padding-top: 16px; padding-bottom: 48px; }
  .numbers__grid { grid-template-columns: 1fr; }
  .figure-stat, .figure-stat:first-child, .figure-stat:nth-child(3) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .figure-stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .figure-stat__n { font-size: 64px; }
  .figure-stat p:not(.figure-stat__n) { margin-top: 10px; font-size: 15px; line-height: 1.5; max-width: 34ch; }
}

/* ---------- arquivo (desktop de pastas) ---------- */
.archive { padding-bottom: 120px; }
.archive .section-head { margin-bottom: 28px; }
.archive__hint { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.desktop {
  position: relative; height: 560px; background: var(--beige); border: 1px solid rgba(20, 69, 61, .2);
  border-radius: 18px; overflow: hidden;
  background-image: radial-gradient(rgba(20, 69, 61, .12) 1px, transparent 1px); background-size: 22px 22px;
}
.desktop__bar {
  position: absolute; inset: 0 0 auto; height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; font-family: var(--mono); font-size: 11px; color: var(--muted);
  border-bottom: 1px solid var(--line-soft); background: rgba(241, 234, 221, .85);
}
.folder {
  position: absolute; left: var(--x); top: var(--y); width: 164px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px;
  background: none; border: 0; border-radius: 10px; cursor: grab; color: var(--green);
  font-family: var(--mono); font-size: 12px; line-height: 1.3; text-align: center; text-decoration: none;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.folder__icon { width: 96px; height: auto; transition: transform .35s var(--ease), filter .35s var(--ease); pointer-events: none; }
.folder__icon--doc { width: 64px; }
.folder__name { padding: 2px 6px; border-radius: 4px; transition: background-color .2s, color .2s; white-space: nowrap; }
.folder:hover { color: var(--green); }
.folder:hover .folder__icon { transform: translateY(-4px); }
.folder.is-open .folder__name { background: var(--green); color: var(--cream); }
.folder.is-dragging { cursor: grabbing; z-index: 20 !important; animation: none; }
.folder.is-dragging .folder__icon { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 14px 18px rgba(20, 69, 61, .25)); }
.bob { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.window {
  position: absolute; left: 46%; top: 64px; width: 46%; min-width: 300px; z-index: 10;
  background: var(--cream); border: 1px solid var(--green); border-radius: 12px; overflow: hidden;
  box-shadow: 0 28px 60px rgba(20, 69, 61, .18);
}
.window[hidden] { display: none; }
.window.is-anim { animation: window-in .45s var(--ease); }
@keyframes window-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.window__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 8px;
  border-bottom: 1px solid rgba(20, 69, 61, .2); font-family: var(--mono); font-size: 12px; cursor: grab; user-select: none;
}
.window.is-dragging .window__bar { cursor: grabbing; }
.window__dots { display: flex; gap: 2px; align-items: center; }
.window__close {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.window__close::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transition: transform .2s; }
.window__close:hover::before { transform: scale(1.25); }
.window__dot { width: 10px; height: 10px; margin: 0 7px; border-radius: 50%; border: 1px solid var(--green); }
.window__title { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window__open { min-width: 24px; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.window__body { padding: 16px; max-height: 400px; overflow: auto; }
.win-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.win-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; font-size: 13px; }
.win-item__img { height: 110px; overflow: hidden; background: var(--beige-2); border-radius: 4px; }
.win-item__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.win-item:hover .win-item__img img { transform: scale(1.05); }
.win-wide .win-item__img { height: 200px; }
.win-wide .win-item__img img { object-position: center; }
.win-text { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.win-list a, .win-list li > span {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: 14px;
}
.win-list .mono { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; flex: none; }
.win-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.win-actions .btn { min-height: 44px; font-size: 14px; }

@media (max-width: 760px) {
  .archive { padding-top: 8px; padding-bottom: 56px; }
  .archive .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .archive .section-head .h-section { font-style: italic; font-size: 44px; }
  .archive__hint { font-size: 10px; }
  .desktop {
    height: auto; padding: 24px 12px; border-radius: 16px; background-image: none;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px;
  }
  .desktop__bar { display: none; }
  .folder {
    position: static !important; width: auto; padding: 4px 0; font-size: 10px; cursor: pointer; touch-action: manipulation;
    animation: none !important; transform: none !important;
  }
  .folder__icon { width: 64px; }
  .folder__name { white-space: normal; overflow-wrap: anywhere; }
  .folder__icon--doc { width: 40px; }
  .window {
    position: relative !important; left: auto !important; top: auto !important; width: auto; min-width: 0;
    grid-column: 1 / -1; box-shadow: 0 16px 32px rgba(20, 69, 61, .14);
  }
  .window__bar { cursor: default; }
  .window__body { max-height: none; }
  .win-item__img { height: 96px; }
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer { background: var(--green); color: var(--cream); }
.footer a:hover { color: var(--pink); }
.footer__inner { padding-top: 112px; padding-bottom: 40px; }
.footer--compact .footer__inner { padding-top: 96px; }
.footer__main { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between; }
.footer__text { flex: 1 1 560px; min-width: 0; }
.footer__kicker { margin-bottom: 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); }
.footer__title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(64px, 10vw, 160px); line-height: .92; letter-spacing: -.02em; }
.footer--compact .footer__title { font-size: clamp(64px, 9vw, 144px); }
.footer__mail { display: inline-block; margin-top: 40px; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.02em; text-underline-offset: 8px; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(252, 249, 244, .5); border-radius: 999px; text-decoration: none; font-size: 14px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer .socials a:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 96px; padding-top: 20px;
  border-top: 1px solid rgba(252, 249, 244, .25); font-size: 12px; color: var(--mint);
}
.footer--compact .footer__bar { margin-top: 80px; }
.footer__bar a { color: var(--cream); display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.footer__sign { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.footer__icon { display: block; flex: none; }
.footer__icon { width: 48px; height: 48px; }

.polaroid {
  background: var(--cream); padding: 14px 14px 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
  transform: rotate(var(--rot, 3deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 36px 70px rgba(0, 0, 0, .32); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption {
  padding: 16px 2px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--green);
}
.polaroid--footer { flex: 0 0 300px; margin: 0 24px 0 0; padding-bottom: 44px; }

@media (max-width: 760px) {
  .footer__inner { padding-top: 56px !important; padding-bottom: 28px; }
  .footer__main { display: block; }
  .footer__kicker { font-size: 10px; margin-bottom: 16px; }
  .footer__title { font-size: 62px !important; line-height: .95; }
  .footer--compact .footer__title { font-size: 56px !important; }
  .footer__mail { margin-top: 24px; font-size: 19px; text-underline-offset: 6px; }
  .socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .socials a { min-height: 46px; }
  .polaroid--footer { width: 230px; margin: 44px auto 0; padding: 10px 10px 34px; }
  .footer__bar { margin-top: 44px !important; padding-top: 16px; font-size: 10px; }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { padding-top: 72px; padding-bottom: 56px; }
.about__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-start; }
.about__name { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 7vw, 104px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; }
.about__facts { display: flex; gap: 56px; flex-wrap: wrap; font-size: 13px; line-height: 1.6; }
.label { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .75; text-transform: uppercase; font-weight: 400; }
.about__facts a { text-decoration: none; }
.about__facts a:hover { text-decoration: underline; }
.rule { height: 1px; background: rgba(252, 249, 244, .35); margin: 56px 0 48px; }
.about__grid { display: flex; flex-wrap: wrap; gap: 56px; }
.polaroid--about { --rot: -2deg; flex: 0 1 320px; min-width: 260px; align-self: flex-start; box-shadow: 0 28px 56px rgba(0, 0, 0, .3); }
.letter { flex: 1 1 380px; max-width: 560px; }
.letter__text { font-family: var(--serif); font-size: 22px; line-height: 1.5; display: flex; flex-direction: column; gap: 20px; }
.letter__sign { width: 112px; height: 112px; margin-top: 32px; transform: rotate(-6deg); }
.data {
  flex: 1 1 440px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px;
  font-size: 13px; line-height: 1.6; align-content: start;
}
.data__full { grid-column: 1 / -1; }
.data h2 { margin-bottom: 14px; }
.data p + p { margin-top: 12px; }
.data strong { font-weight: 500; }
.exp-row { border-top: 1px solid rgba(252, 249, 244, .25); }
.exp-row:last-child { border-bottom: 1px solid rgba(252, 249, 244, .25); }
.exp-row__head { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.exp-row__head::-webkit-details-marker { display: none; }
.exp-row__head:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; border-radius: 4px; }
.exp-row .mono { font-size: 12px; opacity: .85; align-self: start; padding-top: 2px; }
.exp-row__toggle {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(252, 249, 244, .45); transition: transform .4s var(--ease), background-color .25s, color .25s;
}
.exp-row__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exp-row__head:hover .exp-row__toggle { background: var(--cream); color: var(--green); }
.exp-row[open] .exp-row__toggle { transform: rotate(180deg); }
.exp-row__list { display: grid; gap: 8px; margin: 0; padding: 2px 50px 16px 146px; list-style: none; opacity: .9; }
.exp-row__list li { position: relative; padding-left: 16px; }
.exp-row__list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: currentColor; }
.exp-row[open] .exp-row__list { animation: exp-in .45s var(--ease) both; }
@keyframes exp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: .9; transform: none; } }
@supports selector(::details-content) {
  .exp-row { interpolate-size: allow-keywords; }
  .exp-row::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .exp-row[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-row::details-content { transition: none; }
  .exp-row[open] .exp-row__list { animation: none; }
}
.tools { display: flex; flex-wrap: wrap; gap: 20px 18px; padding-top: 6px; }
.tool {
  display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: var(--mt, 0px);
  animation: tool-float var(--d, 4.2s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.tool img {
  width: 64px; height: 64px; border-radius: 18%; box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tool:hover img { transform: scale(1.12); box-shadow: 0 14px 26px rgba(0, 0, 0, .28); }
.tool span { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
@keyframes tool-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) * -1)); }
}
.about__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 88px; padding-top: 24px; border-top: 1px solid rgba(252, 249, 244, .35);
}
.about__avail { display: flex; flex-wrap: wrap; gap: 8px 40px; font-family: var(--mono); font-size: 12px; }
.about__cv { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .about { display: flex; flex-direction: column; padding-top: 36px; padding-bottom: 32px; }
  .about__grid { display: contents; }
  .about__top { order: 1; display: block; }
  .about__name { font-size: 60px; }
  .about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; font-size: 12px; }
  .about__facts > :first-child { grid-row: span 2; }
  .about__facts .label { font-size: 10px; margin-bottom: 6px; }
  .about__facts p { overflow-wrap: anywhere; }
  .polaroid--about { order: 2; flex: none; width: 237px; min-width: 0; margin: 36px auto 0; padding: 10px 10px 0; align-self: center; }
  .polaroid--about figcaption { padding: 12px 2px 16px; font-size: 10px; }
  .rule { order: 3; margin: 36px 0 32px; }
  .letter { order: 4; max-width: none; }
  .letter__text { font-size: 20px; gap: 16px; }
  .data { order: 5; margin-top: 40px; gap: 28px 16px; font-size: 12px; }
  .data .label { font-size: 10px; }
  .exp-row { font-size: 13px; }
  .exp-row__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .exp-row .mono { grid-column: 1; font-size: 11px; padding-top: 0; }
  .exp-row__role { grid-column: 1; }
  .exp-row__toggle { grid-column: 2; grid-row: 1 / span 2; width: 32px; height: 32px; }
  .exp-row__list { padding: 0 0 14px; font-size: 13px; }
  .tools { justify-content: center; gap: 16px; }
  .tool { --mt-sm: calc(var(--mt, 0px) * .75); margin-top: var(--mt-sm); gap: 6px; }
  .tool img { width: 54px; height: 54px; box-shadow: 0 6px 14px rgba(0, 0, 0, .22); }
  .tool span { font-size: 9px; letter-spacing: 0; }
  .about__bottom { order: 6; flex-direction: column-reverse; align-items: stretch; gap: 24px; margin-top: 40px; padding-top: 0; border-top: 0; }
  .about__avail { justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(252, 249, 244, .35); font-size: 10px; gap: 8px; }
  .about__cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about__cv .btn { padding: 0 12px; font-size: 14px; }
}

/* ==========================================================================
   PROJETOS
   ========================================================================== */
.p-intro { padding-top: 72px; padding-bottom: 48px; }
.p-title { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: .9; font-size: clamp(64px, 10vw, 152px); }
.p-title .hero__eyebrow { margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--green);
  border-radius: 999px; text-decoration: none; font-size: 14px; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover, .chip.is-active { background: var(--green); color: var(--cream); }
@media (max-width: 760px) {
  .p-intro { padding-top: 36px; padding-bottom: 28px; }
  .p-title { font-size: 64px; }
  .p-title .hero__eyebrow { margin-bottom: 16px; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; margin: 20px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { min-height: 40px; padding: 0 14px; font-size: 13px; scroll-snap-align: start; flex: none; }
}

/* identidade */
.ident { padding-top: 24px; padding-bottom: 96px; }
.ident__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-top: 40px; border-top: 1px solid var(--line); }
.ident__text { flex: 1 1 360px; }
.ident__meta { margin: 28px 0 10px; }
.ident__name { font-weight: 500; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; }
.ident__desc { margin: 16px 0 28px; max-width: 420px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.ident__media {
  flex: 1.4 1 520px; min-width: 0; border-radius: 10px; overflow: hidden; background: #111;
  box-shadow: 0 20px 50px rgba(20, 69, 61, .18); padding: 0; border: 0; cursor: zoom-in;
}
.ident__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform 1.2s var(--ease); }
.ident__media:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .ident { padding-top: 0; padding-bottom: 40px; }
  .ident__inner { display: flex; flex-direction: column; gap: 0; padding-top: 28px; }
  .ident__text { display: contents; }
  .ident__text h2 { order: 1; }
  .ident__media { order: 2; flex: none; margin-top: 20px; border-radius: 8px; box-shadow: none; }
  .ident__media img { min-height: 0; height: auto; }
  .ident__meta { order: 3; margin: 16px 0 6px; }
  .ident__name { order: 4; font-size: 26px; }
  .ident__desc { order: 5; margin: 10px 0 0; font-size: 14px; }
  .ident__text .btn { order: 6; margin-top: 18px; width: 100%; }
}

/* e-mails */
.emails { background: var(--beige); border-block: 1px solid rgba(20, 69, 61, .2); }
.emails__inner { padding-top: 96px; padding-bottom: 96px; }
.emails .section-head { margin-bottom: 48px; align-items: flex-end; }
.emails__lede { max-width: 520px; }
.lede { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.hint { margin-top: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mail-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 20px; }
.mail {
  position: relative; display: block; height: 520px; overflow: hidden; border-radius: 10px; background: #fff;
  box-shadow: 0 10px 30px rgba(20, 69, 61, .12); cursor: zoom-in;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.mail img { width: 100%; height: auto; transition: transform 7s var(--ease-in-out); will-change: transform; }
.mail:hover { box-shadow: 0 18px 40px rgba(20, 69, 61, .2); transform: translateY(-4px); }
@media (hover: hover) { .mail:hover img, .mail:focus-visible img { transform: translateY(calc(-100% + 520px)); } }
.mail figcaption, .mail-cap { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.mail-cap__t { font-size: 15px; font-weight: 500; }
.mail-cap__m { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 1180px) and (min-width: 761px) { .mail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .emails__inner { padding: 48px 0 36px; }
  .emails .section-head { display: block; margin-bottom: 24px; padding-inline: 16px; }
  .emails .lede { margin-top: 14px; font-size: 14px; }
  .emails .hint { display: none; }
  .mail-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px;
    scrollbar-width: none; scroll-padding-inline: 16px;
  }
  .mail-grid::-webkit-scrollbar { display: none; }
  .mail-grid > figure { flex: 0 0 200px; scroll-snap-align: start; }
  .mail { height: 380px; border-radius: 8px; box-shadow: 0 8px 20px rgba(20, 69, 61, .12); }
  .mail-cap__t { font-size: 14px; }
  .mail-cap__m { font-size: 10px; }
  .emails__swipe { display: block; padding: 8px 16px 0; margin: 0; }
}
.emails__swipe { display: none; }

/* landing pages */
.lp { padding-top: 112px; padding-bottom: 40px; }
.lp .section-head { margin-bottom: 56px; }
.lp .lede { max-width: 480px; }
.lp-item { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid rgba(20, 69, 61, .2); }
.lp-item__media { flex: 1 1 640px; min-width: 0; }
.lp-item--rev .lp-item__media { order: 2; }
.browser { border-radius: 10px; overflow: hidden; border: 1px solid rgba(20, 69, 61, .2); box-shadow: 0 20px 50px rgba(20, 69, 61, .14); background: var(--night); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--beige-2); }
.browser__dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--green); }
.browser__dot--red { background: var(--red); border-color: var(--red); }
.browser__url { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.browser img { width: 100%; height: auto; aspect-ratio: 1040 / 586; object-fit: cover; }
.lp-item__text { flex: 1 1 360px; max-width: 480px; }
.lp-item__text h3 { margin-top: 14px; font-weight: 500; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; }
.lp-item__text p:last-child { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 760px) {
  .lp { padding-top: 48px; padding-bottom: 24px; }
  .lp .section-head { display: block; margin-bottom: 28px; }
  .lp .lede { margin-top: 14px; font-size: 14px; }
  .lp-item { display: block; padding: 20px 0 32px; }
  .browser { border-radius: 8px; box-shadow: none; }
  .browser__bar { height: 22px; padding: 0 10px; gap: 5px; }
  .browser__dot { width: 7px; height: 7px; }
  .browser__dot:not(.browser__dot--red) { display: none; }
  .browser__url { margin-left: 6px; font-size: 9px; }
  .lp-item__text { margin-top: 16px; }
  .lp-item__text h3 { margin-top: 6px; font-size: 26px; letter-spacing: -.02em; }
  .lp-item__text p:last-child { margin-top: 10px; font-size: 14px; line-height: 1.6; }
}

/* banners */
.banners { padding-top: 72px; padding-bottom: 112px; }
.banners__inner { border-top: 1px solid var(--line); padding-top: 72px; }
.banners .section-head { margin-bottom: 48px; }
.b-group { margin-bottom: 72px; }
.b-group:last-child { margin-bottom: 0; }
.b-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid rgba(20, 69, 61, .2);
}
.b-head h3 { font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.b-head .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.b-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-bottom: 72px; }
.b-pair .b-group { margin-bottom: 0; }
.b-pair__mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.shot {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(20, 69, 61, .12); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 69, 61, .2); }
.shot img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .banners { padding-top: 0; padding-bottom: 48px; }
  .banners__inner { padding-top: 40px; }
  .banners .section-head { margin-bottom: 28px; }
  .b-head { display: block; border: 0; padding: 0; margin-bottom: 14px; }
  .b-head h3 { font-size: 22px; }
  .b-head .mono { display: block; margin-top: 4px; font-size: 10px; }
  .b-group, .b-pair { margin-bottom: 32px; }
  .grid-2 { grid-template-columns: 1fr; gap: 10px; }
  .grid-6, .b-pair__mobile {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 12px calc(var(--pad) * -1) 0; padding: 4px var(--pad) 12px; scrollbar-width: none;
  }
  .grid-6::-webkit-scrollbar { display: none; }
  .grid-6 .shot, .b-pair__mobile .shot { flex: 0 0 170px; scroll-snap-align: start; }
  .b-pair { display: block; }
  .b-pair .b-group + .b-group { margin-top: 32px; }
  .shot { border-radius: 5px; box-shadow: 0 8px 20px rgba(20, 69, 61, .12); }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100%; max-height: 100dvh; margin: 0; padding: 64px 72px 56px; border: 0;
  background: rgba(10, 26, 23, .94); color: var(--cream);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox[open] { display: flex; }
.lightbox.is-open { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { max-width: 1200px; width: 100%; max-height: 100%; overflow: auto; display: flex; justify-content: center; align-items: center; overscroll-behavior: contain; }
.lightbox__img {
  max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform: scale(.97); transition: transform .35s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__stage.is-tall { align-items: flex-start; height: 100%; }
.lightbox__stage.is-tall .lightbox__img { max-height: none; width: min(600px, 100%); }
.lightbox__close {
  position: absolute; top: 14px; right: 16px; min-height: 44px; padding: 0 12px; border: 0; background: none;
  color: var(--cream); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.lightbox__close span { font-size: 24px; line-height: 1; }
.lightbox__nav {
  position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(252, 249, 244, .5); background: rgba(10, 26, 23, .5); color: var(--cream);
  font-size: 20px; cursor: pointer; transition: background-color .25s;
}
.lightbox__nav:hover { background: var(--cream); color: var(--green); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 16px; padding: 0 72px; text-align: center; font-size: 12px; color: var(--mint); }
@media (max-width: 760px) {
  .lightbox { padding: 60px 12px 64px; }
  .lightbox__nav { top: auto; bottom: 8px; margin: 0; width: 44px; height: 44px; }
  .lightbox__caption { bottom: 22px; padding: 0 64px; font-size: 10px; }
  .lightbox__img { max-height: calc(100dvh - 140px); }
}

/* ==========================================================================
   404
   ========================================================================== */
.nf { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 64px; }
.nf .spiral { max-width: 360px; }
.nf h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 104px); line-height: 1; }
.nf h1 em { color: var(--red); }
.nf p { max-width: 560px; font-size: 17px; color: var(--ink-2); }
.nf .cta-row { margin-top: 8px; }

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .polaroid.reveal { transform: translateY(26px) rotate(var(--rot, 3deg)); }
.js .polaroid.reveal.is-in { transform: rotate(var(--rot, 3deg)); }
.js .polaroid.reveal.is-in:hover { transform: rotate(0deg) scale(1.02); }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .spiral__line { animation: none; stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .menu, .marquee, .lightbox, .carousel-ctrl, .upnext { display: none !important; }
  body { background: #fff; }
}

@media (max-width: 760px) { .letter__sign { width: 88px; height: 88px; margin-top: 24px; } .footer__icon { width: 32px; height: 32px; } }
