        @font-face {
      font-family: "PP Editorial New";
      src: url("/pp editorial new/PPEditorialNew-Bold.woff2") format("woff2");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "PP Editorial New";
      src: url("/pp editorial new/PPEditorialNew-Regular.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "PP Editorial New";
      src: url("/pp editorial new/PPEditorialNew-UltralightItalic.woff2") format("woff2");
      font-weight: 200;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: "Margem";
      src: url("/margem condensed/Margem-CondensedRegular.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Margem";
      src: url("/margem condensed/Margem-CondensedItalic.woff2") format("woff2");
      font-weight: 400;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: "Margem";
      src: url("/margem condensed/Margem-CondensedLight.woff2") format("woff2");
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Margem";
      src: url("/margem condensed/Margem-CondensedLightItalic.woff2") format("woff2");
      font-weight: 300;
      font-style: italic;
      font-display: swap;
    }
:root {
      --preto: #141414;
      --branco: #fafafa;
      --verde: #7b8f70;
      --cinza: #ededed;

      --fs-h1: 48px;
      --fs-h2: 32px;
      --fs-b1: 24px;
      --fs-b2: 18px;
      --fs-b3: 18px;

      --serif: "PP Editorial New", "Times New Roman", serif;
      --sans-condensed: "Margem", "Roboto Condensed", "Barlow Condensed", system-ui, sans-serif;
      --sans-light: "Margem", system-ui, sans-serif;

      --linha: 1px solid rgba(20, 20, 20, 0.35);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html, body {
      background: var(--branco);
      color: var(--preto);
      font-family: var(--sans-condensed);
      font-stretch: 75%;
      font-variation-settings: "wdth" 75;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body { min-height: 100vh; }

    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 28px 56px;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      font-weight: 400;
    }
    .nav__left { display: flex; gap: 56px; }
    .nav a { transition: opacity .2s ease; }
    .nav a:hover { opacity: .6; }

    .nav__right a {
      border: 0.5px solid var(--preto);
      border-radius: 100px;
      padding: 4px 16px;
      font-size: var(--fs-b2);
      transition: background .25s ease, color .25s ease, opacity .25s ease;
    }
    .nav__right a:hover {
      opacity: 1;
      background: var(--preto);
      color: var(--branco);
    }

    .nav__contact-wrap { position: relative; }
    .nav__contact-btn {
      border: 0.5px solid var(--preto);
      border-radius: 100px;
      padding: 4px 16px;
      font-size: var(--fs-b2);
      font-family: var(--sans-condensed);
      font-weight: 400;
      background: none;
      cursor: pointer;
      color: var(--preto);
      transition: background .25s ease, color .25s ease, opacity .25s ease;
    }
    .nav__contact-btn:hover,
    .nav__contact-wrap.is-open .nav__contact-btn {
      opacity: 1;
      background: var(--preto);
      color: var(--branco);
    }
    .nav__dropdown {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      background: var(--branco);
      border: 0.5px solid rgba(20,20,20,.18);
      border-radius: 14px;
      padding: 8px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 280px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-6px);
      transition: opacity .2s ease, transform .2s ease;
      z-index: 200;
      box-shadow: 0 4px 24px rgba(20,20,20,.08);
    }
    .nav__contact-wrap.is-open .nav__dropdown {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    .nav__dropdown-item {
      display: flex;
      align-items: center;
      gap: 6px;
      border-radius: 8px;
      padding: 8px 10px;
      transition: background .15s ease;
    }
    .nav__dropdown-item:hover { background: var(--cinza); }
    .nav__dropdown-link {
      flex: 1;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      color: var(--preto);
      white-space: nowrap;
    }
    .nav a.nav__dropdown-link:hover { opacity: 1; }
    .nav__dropdown-copy {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      color: var(--preto);
      opacity: .4;
      transition: opacity .15s ease, color .15s ease;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .nav__dropdown-copy:hover { opacity: .8; }
    .nav__dropdown-copy.copied { color: var(--verde); opacity: 1; }
    .contact__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans-condensed); font-size: var(--fs-b2); border: 0.5px solid var(--preto); border-radius: 100px; padding: 6px 18px; transition: background .25s ease, color .25s ease; }
    .contact__link:hover { background: var(--preto); color: var(--branco); }
    .contact__link svg { width: 16px; height: 16px; }
    .contact__link--soon { cursor: default; opacity: .35; position: relative; }
    .contact__link--soon:hover { background: none; color: var(--preto); }
    .contact__link--soon::before { content: 'em breve'; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--preto); color: var(--branco); padding: 4px 12px; border-radius: 4px; font-size: 11px; white-space: nowrap; margin-bottom: 8px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .contact__link--soon:hover::before { opacity: 1; }

    .nav {
      position: sticky;
      top: 0;
      background: var(--branco);
      z-index: 10;
      border-bottom: var(--linha);
    }

    .hero {
      min-height: calc(100vh - 80px);
      display: flex;
      flex-direction: column;
      padding: 0 56px 24px;
    }

    /* ---------- Portfólio ---------- */
    .portfolio {
      padding: 80px 56px 120px;
    }

    .portfolio__title {
      font-family: var(--serif);
      font-weight: 700;
      font-size: var(--fs-h2);
      margin-bottom: 48px;
    }

    .portfolio__grid {
      column-count: 2;
      column-gap: 32px;
    }

    .card {
      break-inside: avoid;
      margin-bottom: 32px;
      display: block;
    }

    .card__media {
      width: 100%;
      background: var(--cinza);
      display: block;
      border-radius: 15px;
    }

    .card--tall .card__media   { aspect-ratio: 4 / 5; }
    .card--medium .card__media { aspect-ratio: 4 / 3; }
    .card--short .card__media  { aspect-ratio: 16 / 10; }
    .card--wide .card__media   { aspect-ratio: 16 / 11; }

    .card__caption {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 24px;
      padding: 6px 0 0;
      margin-top: 4px;
    }

    .card__title {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      font-weight: 400;
      color: var(--preto);
    }

    .card__tags {
      font-family: var(--sans-light);
      font-size: var(--fs-b3);
      font-weight: 300;
      color: var(--preto);
      opacity: .7;
      text-align: right;
      white-space: nowrap;
    }

    @media (max-width: 768px) {
      .portfolio { padding: 48px 24px 80px; }
      .portfolio__grid { column-count: 1; }
      .portfolio__title { font-size: 24px; margin-bottom: 32px; }
    }

    /* ---------- Serviços (scroll-pinned) ---------- */
    .services {
      border-top: var(--linha);
    }

    .services__inner {
      position: relative;
      /* altura definida via JS = count * 100vh */
    }

    .services__pin {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      padding: 0 56px;
    }

    .services__layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      width: 100%;
      align-items: start;
    }

    .services__label {
      display: block;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      opacity: .6;
      margin-bottom: 16px;
    }

    .services__titles {
      position: relative;
      min-height: calc(var(--fs-h1) * 2.1);
    }

    .services__title {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      font-family: var(--serif);
      font-weight: 200;
      font-style: italic;
      font-size: var(--fs-h1);
      line-height: 1.05;
      letter-spacing: -0.01em;
      opacity: 0;
      transform: translateY(40px);
      transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .5s ease;
      pointer-events: none;
    }
    .services__title.is-active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .services__title.is-past {
      opacity: 0;
      transform: translateY(-40px);
    }

    .services__bodies {
      position: relative;
      min-height: 12em;
    }

    .services__body {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      line-height: 1.5;
      max-width: 520px;
      opacity: 0;
      transform: translateY(20px);
      transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .5s ease;
      pointer-events: none;
    }
    .services__body p + p { margin-top: 18px; }
    .services__body.is-active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .services__body.is-past {
      opacity: 0;
      transform: translateY(-20px);
    }

    /* ---------- Informações ---------- */
    .info {
      border-top: var(--linha);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      padding: 80px 56px;
    }

    .info__title {
      font-family: var(--serif);
      font-weight: 200;
      font-style: italic;
      font-size: var(--fs-h1);
      line-height: 1.05;
      letter-spacing: -0.01em;
    }

    .info__body {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      line-height: 1.5;
      max-width: 520px;
    }
    .info__body p + p { margin-top: 18px; }

    .btn-text {
      display: inline-block;
      margin-top: 28px;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      border: 0.5px solid var(--preto);
      border-radius: 100px;
      padding: 4px 16px;
      transition: background .25s ease, color .25s ease;
    }
    .btn-text:hover { background: var(--preto); color: var(--branco); }

    /* ---------- Entre em contato ---------- */
    .contact {
      border-top: var(--linha);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
      padding: 36px 56px;
      border-bottom: var(--linha);
    }

    .contact__title {
      font-family: var(--serif);
      font-weight: 200;
      font-style: italic;
      font-size: var(--fs-h1);
      letter-spacing: -0.01em;
    }

    .contact__links {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .contact__links a {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      border: 0.5px solid var(--preto);
      border-radius: 100px;
      padding: 6px 18px;
      transition: background .25s ease, color .25s ease;
    }
    .contact__links a:hover { background: var(--preto); color: var(--branco); }

    @media (max-width: 768px) {
      .services__inner { height: auto !important; }
      .services__pin { position: static; height: auto; padding: 56px 24px; }
      .services__layout { grid-template-columns: 1fr; gap: 24px; }
      .services__titles { min-height: 0; }
      .services__title { position: relative; opacity: 1; transform: none; font-size: 32px; margin-bottom: 16px; }
      .services__bodies { min-height: 0; }
      .services__body { position: relative; opacity: 1; transform: none; margin-bottom: 48px; }
      .services__body:last-child { margin-bottom: 0; }
      .info { grid-template-columns: 1fr; gap: 24px; padding: 56px 24px; }
      .info__title { font-size: 32px; }
      .contact { padding: 28px 24px; }
      .contact__title { font-size: 32px; }
    }

    .hero__desc {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      font-weight: 400;
      line-height: 1.5;
      max-width: 460px;
      margin-top: 18vh;
    }

    .hero__logo {
      width: 100%;
      margin-top: auto;
    }
    .hero__logo svg {
      width: 100%;
      height: auto;
      display: block;
    }

    @media (max-width: 768px) {
      .nav { padding: 20px 24px; gap: 16px; }
      .nav__left { gap: 20px; flex-wrap: wrap; }
      .hero { padding: 0 24px 24px; }
      .hero__desc { font-size: 22px; margin-top: 10vh; max-width: 100%; }
    }

    /* ---------- Footer reveal ---------- */
    .page-wrap {
      position: relative;
      z-index: 1;
      background: var(--branco);
      isolation: isolate;
    }

    .footer-logo {
      position: sticky;
      bottom: 0;
      z-index: 0;
      border-top: var(--linha);
      background: var(--branco);
      padding: 56px 56px 64px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-logo svg {
      width: 100%;
      height: auto;
      display: block;
      fill: var(--preto);
    }
  
    /* ---------- Sobre / Bento ---------- */
    .sobre {
      padding: 80px 56px 120px;
    }

    .sobre__intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      margin-bottom: 64px;
      align-items: start;
    }

    .sobre__title {
      font-family: var(--serif);
      font-weight: 200;
      font-style: italic;
      font-size: var(--fs-h1);
      line-height: 1.05;
      letter-spacing: -0.01em;
    }

    .sobre__body {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      line-height: 1.5;
      max-width: 520px;
    }
    .sobre__body p + p { margin-top: 18px; }

    .bento {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-areas:
        "f f p2 p3"
        "f f p4 p5";
      gap: 16px;
      aspect-ratio: 2 / 1;
    }

    .bento__cell {
      background: var(--cinza);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      color: rgba(20, 20, 20, 0.35);
    }

    .bento__cell--featured { grid-area: f; }
    .bento__cell--p2 { grid-area: p2; }
    .bento__cell--p3 { grid-area: p3; }
    .bento__cell--p4 { grid-area: p4; }
    .bento__cell--p5 { grid-area: p5; }

    @media (max-width: 768px) {
      .sobre { padding: 56px 24px 80px; }
      .sobre__intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
      .sobre__title { font-size: 32px; }
      .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
          "f f"
          "f f"
          "p2 p3"
          "p4 p5";
        aspect-ratio: auto;
      }
      .bento__cell { aspect-ratio: 1; }
    }

    /* ---------- Projeto (página individual) ---------- */
    .project {
      padding: 80px 56px 120px;
    }
    .project__layout {
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 56px;
    }
    .project__side {
      position: relative;
      height: 100%;
    }
    .project__pin {
      position: sticky;
      top: 100px;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    .project__title {
      font-family: var(--serif);
      font-weight: 200;
      font-style: italic;
      font-size: var(--fs-h1);
      line-height: 1.05;
      letter-spacing: -0.01em;
      max-width: 9em;
    }
    .project__bodies {
      position: relative;
      min-height: 14em;
    }
    .project__body {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      max-width: 600px;
      opacity: 0;
      transform: translateY(20px);
      transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .5s ease;
      pointer-events: none;
    }
    .project__body.is-active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .project__body.is-past {
      opacity: 0;
      transform: translateY(-20px);
    }
    .project__subtitle {
      display: block;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: .55;
      margin-bottom: 14px;
    }
    .project__text {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      line-height: 1.5;
    }
    .project__media {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .project__block {
      background: var(--cinza);
      border-radius: 15px;
      overflow: hidden;
    }
    .project__block--wide {
      aspect-ratio: 16 / 9;
    }
    .project__block--pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      background: transparent;
      border-radius: 0;
    }
    .project__pair-item {
      background: var(--cinza);
      border-radius: 15px;
      aspect-ratio: 3 / 5;
    }
    .project__block--pair-square {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      background: transparent;
      border-radius: 0;
    }
    .project__block--pair-square .project__pair-item {
      aspect-ratio: 1 / 1;
    }
    .project__block--triple {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
      background: transparent;
      border-radius: 0;
    }
    .project__block--triple .project__pair-item {
      aspect-ratio: 3 / 4;
    }
    .project__block--pano {
      aspect-ratio: 21 / 9;
    }

    @media (max-width: 900px) {
      .project { padding: 56px 24px 80px; }
      .project__layout { grid-template-columns: 1fr; gap: 40px; }
      .project__pin { position: relative; top: auto; gap: 24px; }
      .project__title { font-size: 32px; }
      .project__bodies { min-height: 0; }
      .project__body {
        position: relative;
        opacity: 1;
        transform: none;
        margin-bottom: 28px;
        pointer-events: auto;
      }
      .project__body:last-child { margin-bottom: 0; }
    }

    @media (max-width: 1024px) {
      .nav { padding: 24px 32px; }
      .project { padding: 64px 32px 100px; }
    }

    @media (max-width: 480px) {
      .nav { padding: 20px 24px; }
      .nav__left { gap: 14px; }
      .project { padding: 40px 20px 60px; }
      .project__title { font-size: 26px; }
      .project__block--wide,
      .project__block--pano { border-radius: 12px; }
      .project__pair-item { border-radius: 10px; }
      .project__block--triple { grid-template-columns: 1fr; }
      .project__block--triple .project__pair-item { aspect-ratio: 4 / 3; }
    }
    .footer-logo a { display: block; width: 100%; }
    .footer-logo { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .nav__hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin: -6px; order: 0; }
    .nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--preto); transition: transform .25s ease, opacity .15s ease; border-radius: 1px; }
    .nav--open .nav__hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
    .nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    @media (max-width: 1024px) {
      .footer-logo { padding: 40px 32px calc(48px + env(safe-area-inset-bottom, 0px)); }
    }
    @media (max-width: 768px) {
      .nav { flex-wrap: wrap; }
      .nav__hamburger { display: flex; order: 1; }
      .nav__left { display: none; width: 100%; flex-direction: column; gap: 0 !important; flex-wrap: nowrap !important; order: 3; padding: 4px 0 12px; border-top: 0.5px solid rgba(20,20,20,.12); margin-top: 8px; text-align: left; }
      .nav__left li { padding: 8px 0; }
      .nav__right { order: 2; margin-left: auto; }
      .nav--open .nav__left { display: flex; }
    }
    @media (max-width: 480px) {
      .footer-logo { padding: 32px 20px calc(48px + env(safe-area-inset-bottom, 0px)); }
    }

    /* ---------- Projeto tipo "site" ---------- */
    .project__site-description {
      font-family: var(--sans-condensed);
      font-size: var(--fs-b1);
      line-height: 1.5;
      max-width: 600px;
    }
    .project__site-cta {
      display: inline-block;
      margin-top: 28px;
      font-family: var(--sans-condensed);
      font-size: var(--fs-b2);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--preto);
      text-decoration: none;
      border-bottom: 1.5px solid var(--preto);
      padding-bottom: 2px;
      transition: opacity .2s ease;
    }
    .project__site-cta:hover { opacity: .5; }
    .project__site-carousel {
      position: relative;
      aspect-ratio: 16 / 10;
      background: var(--cinza);
      border-radius: 15px;
      overflow: hidden;
    }
    .project__site-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity .45s cubic-bezier(.22,1,.36,1);
      overflow: hidden;
    }
    .project__site-slide.is-active { opacity: 1; }
    .project__site-nav {
      position: absolute;
      bottom: 14px;
      left: 0; right: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      z-index: 10;
    }
    .project__site-arrow {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,.82);
      border: none;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      font-size: 14px;
      line-height: 1;
      transition: background .15s;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    .project__site-arrow:hover { background: rgba(255,255,255,1); }
    .project__site-dots {
      display: flex; gap: 6px; align-items: center;
    }
    .project__site-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,.5);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: background .2s, transform .2s;
    }
    .project__site-dot.is-active {
      background: #fff;
      transform: scale(1.3);
    }
    .project__site-placeholder {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(20,20,20,.25);
      font-family: var(--sans-condensed);
      font-size: 13px;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
