
/* ============================================================
   ANIMAÇÕES SIMPLES — telos
   Hover/transitions sutis, mantendo o visual sóbrio.
   ============================================================ */

/* ---------- Gallery: lift + zoom + label ---------- */
.gallery__item {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s ease;
  will-change: transform;
}
.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.45);
}
.gallery__item img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s ease;
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.06) saturate(1.08);
}
.gallery__item .label {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
  transform: translateY(6px);
  opacity: 0.85;
}
.gallery__item:hover .label {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Cards de projeto: lift discreto ---------- */
.work-media {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
  will-change: transform;
}
.work-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -10px rgba(0, 0, 0, 0.45);
}

/* ---------- Cards de preço ---------- */
.price {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease;
}
.price:hover {
  transform: translateY(-4px);
}

/* ---------- Botões/CTAs ---------- */
.hero__cta,
.nav__contact,
.price__cta,
.form__submit {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
}
.hero__cta:hover,
.nav__contact:hover,
.form__submit:hover {
  transform: translateY(-2px);
}

/* ---------- Pílulas da stack ---------- */
.stack__pill {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.stack__pill:hover {
  transform: translateY(-2px);
}

/* ---------- Section label: ponto pulsante ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: telos-pulse 2.4s ease-in-out infinite;
}
@keyframes telos-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.7); opacity: 0.35; }
}

/* ---------- Sublinhado dos itens em itálico ---------- */
em {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible em {
  background-size: 100% 1px;
}

/* ---------- Foto/perfil: leve zoom no hover ---------- */
.profile {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.profile:hover {
  transform: translateY(-3px);
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}



    /* ── Tokens ── */
    :root {
      /* Neutrals — tinted toward copper (hue 48) */
      --bg:           oklch(9%  0.007 48);
      --bg-alt:       oklch(11% 0.007 48);
      --surface:      oklch(13% 0.008 48);
      --surface-elev: oklch(17% 0.008 48);
      --text:         oklch(96% 0.005 48);
      --muted:        oklch(67% 0.005 48);
      --muted-soft:   oklch(70% 0.005 48);
      --border:       oklch(96% 0.005 48 / 0.08);

      /* Primary accent — copper-bronze */
      --accent:        oklch(68% 0.155 48);

      /* Blob counterpoint — slate-indigo (ambient decoration only) */
      --accent-violet: oklch(42% 0.09  262);

      /* Cursor/selection — matches primary */
      --cursor-accent:   oklch(68% 0.155 48);

      /* Semantic success — sage */
      --check:         oklch(63% 0.11  148);

      --font-display: 'Space Grotesk', system-ui, sans-serif;
      --font-body: 'Inter', system-ui, sans-serif;

      --max-w: 1280px;
      --gutter: clamp(1.5rem, 5vw, 4rem);
      --section-pad-y: clamp(5rem, 12vw, 10rem);
      --nav-h: 72px;

      --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* ── Reset ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;

    }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
    em { font-style: italic; color: var(--accent); font-weight: inherit; }
    ::selection { background: oklch(68% 0.155 48 / 0.4); color: oklch(9% 0.007 48); }
    :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

    /* ── Container ── */
    .wrap {
      max-width: var(--max-w);
      margin: 0 auto;
      padding-left: var(--gutter);
      padding-right: var(--gutter);
    }

    /* ── Fade-up ── */
    .fade-up {
      opacity: 1;
      transform: none;
      transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
      transition-delay: var(--delay, 0s);
    }
    .fade-up.visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      .fade-up { opacity: 1; transform: none; transition: none; }
    }

    /* ── Section label ── */
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted-soft);
      margin-bottom: 1.5rem;
    }
    .section-label::before {
      content: '';
      width: 28px;
      height: 1px;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* ── Heading ── */
    .h-display {
      font-family: var(--font-display);
      font-weight: 700;
      letter-spacing: -0.045em;
      line-height: 0.95;
    }
    .h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(2.25rem, 5.5vw, 4.5rem);
      letter-spacing: -0.035em;
      line-height: 1.05;
    }
    .h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    .lead {
      font-size: clamp(1.05rem, 1.4vw, 1.2rem);
      color: var(--muted-soft);
      max-width: 56ch;
      line-height: 1.55;
    }

    /* ── Geometric shape decorations ── */
    .shape {
      position: absolute;
      pointer-events: none;
    }
    .shape--circle { border-radius: 50%; background: var(--accent); }
    .shape--ring   { border-radius: 50%; background: transparent; border: 1.5px solid var(--accent); }
    @media (prefers-reduced-motion: reduce) {
      .shape { animation: none !important; }
    }

    /* ─────────────── NAV ─────────────── */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      height: var(--nav-h);
      background: oklch(9% 0.007 48 / 0.55);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border-bottom: 1px solid transparent;
      transition: background 0.3s, border-color 0.3s;
    }
    .nav.scrolled {
      background: oklch(9% 0.007 48 / 0.85);
      border-bottom-color: rgba(255, 255, 255, 0.06);
    }
    .nav__inner {
      max-width: var(--max-w);
      height: 100%;
      margin: 0 auto;
      padding: 0 var(--gutter);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }
    .nav__logo {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.04em;
      color: var(--text);
    }
    .nav__links {
      display: flex;
      list-style: none;
      gap: 2.25rem;
    }
    .nav__links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--muted-soft);
      transition: color 0.25s;
      position: relative;
    }
    .nav__links a::after {
      content: '';
      position: absolute;
      left: 0; bottom: -6px;
      width: 100%; height: 1px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.35s var(--ease-expo);
    }
    .nav__links a:hover { color: var(--text); }
    .nav__links a:hover::after { transform: scaleX(1); }
    .nav__contact {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.55rem 1.15rem;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.85rem;
      font-weight: 500;
      transition: border-color 0.25s, background 0.25s;
    }
    .nav__contact:hover { border-color: var(--accent); background: oklch(68% 0.155 48 / 0.08); }
    .nav__burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 6px;
    }
    .nav__burger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--text);
    }
    .nav__drawer {
      display: none;
      position: fixed;
      inset: var(--nav-h) 0 0 0;
      background: oklch(9% 0.007 48 / 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      z-index: 99;
    }
    .nav__drawer.open { display: flex; }
    .nav__drawer a {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 600;
      letter-spacing: -0.02em;
    }
    @media (max-width: 720px) {
      .nav__links, .nav__contact { display: none; }
      .nav__burger { display: flex; }
    }

    /* ─────────────── HERO ─────────────── */
    .hero {
      position: relative;
      min-height: 100vh;
      padding: calc(var(--nav-h) + clamp(4rem, 10vw, 7rem)) 0 clamp(5rem, 10vw, 8rem);
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .hero__inner {
      max-width: var(--max-w);
      width: 100%;
      margin: 0 auto;
      padding: 0 var(--gutter);
      position: relative;
      z-index: 2;
    }
    .hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 2.25rem;
      font-size: 0.92rem;
      font-weight: 500;
      letter-spacing: -0.005em;
      color: var(--muted-soft);
    }
    .hero__eyebrow::before {
      content: '';
      width: 36px; height: 1px;
      background: var(--accent);
    }
    .hero__heading {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(4rem, 13vw, 11.5rem);
      line-height: 0.9;
      letter-spacing: -0.05em;
      margin-bottom: 2.5rem;
    }
    .hero__heading .line {
      display: block;
      overflow: hidden;
    }
    .hero__heading .line span {
      display: inline-block;
      transform: translateY(110%);
      animation: heroLineUp 1.1s var(--ease-expo) forwards;
    }
    .hero__heading .line:nth-child(2) span { animation-delay: 0.1s; }
    @keyframes heroLineUp { to { transform: translateY(0); } }
    .hero__sub {
      font-size: clamp(1.1rem, 1.6vw, 1.35rem);
      max-width: 60ch;
      color: var(--muted-soft);
      line-height: 1.55;
      margin-bottom: 2.75rem;
      opacity: 0;
      animation: fadeIn 0.9s var(--ease-expo) 0.5s forwards;
    }
    @keyframes fadeIn { to { opacity: 1; } }
    .hero__cta {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 1.05rem 2rem;
      border: 1.5px solid var(--text);
      border-radius: 100px;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.25s var(--ease-expo);
      opacity: 0;
      animation: fadeIn 0.9s var(--ease-expo) 0.7s forwards;
    }
    .hero__cta .arrow { transition: transform 0.4s var(--ease-expo); }
    .hero__cta:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: oklch(9% 0.007 48);
      transform: translateY(-2px);
    }
    .hero__cta:hover .arrow { transform: translateX(6px); }

    /* ── Hero composition ────────────────────────────────
       Three elements. Each has a job. Telos = aim.
       - Ring: the aim itself. Massive, mostly offscreen-right,
               its left arc embraces the heading.
       - Bar:  top-left corner mark. Anchor.
       - Dot:  the point being aimed at. Static.
       ──────────────────────────────────────────────────── */
    .hero__shapes { position: absolute; inset: 0; z-index: 1; }

    .hero__shapes .shape--ring-1 {
      width:  clamp(560px, 78vw, 1180px);
      height: clamp(560px, 78vw, 1180px);
      top: 50%;
      right: clamp(-720px, -42vw, -340px);
      transform: translateY(-52%);
      border: 2.5px solid oklch(68% 0.155 48 / 0.45);
      border-radius: 50%;
      background: transparent;
      will-change: transform;
      animation: ringBreathe 38s var(--ease-quart) infinite;
    }
    @keyframes ringBreathe {
      0%, 100% { transform: translateY(-52%) translateX(0); }
      50%      { transform: translateY(-50%) translateX(-8px); }
    }

    .hero__shapes .shape--bar-1 {
      width:  clamp(110px, 16vw, 260px);
      height: clamp(12px, 1.4vw, 22px);
      top: clamp(108px, 16vh, 200px);
      left: 0;
      background: var(--accent);
      border-radius: 0;
    }

    .hero__shapes .shape--circle-1 {
      width:  clamp(16px, 1.6vw, 26px);
      height: clamp(16px, 1.6vw, 26px);
      top: 50%;
      right: clamp(80px, 18vw, 260px);
      transform: translateY(-50%);
      background: var(--accent);
      border-radius: 50%;
    }

    @media (max-width: 720px) {
      /* Mobile: ring carries the brand alone. */
      .hero__shapes .shape--bar-1,
      .hero__shapes .shape--circle-1 { display: none; }
      .hero__shapes .shape--ring-1 {
        right: clamp(-420px, -50vw, -240px);
        border-width: 2px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero__shapes .shape--ring-1 { animation: none; }
    }

    /* ─────────────── SECTION (generic) ─────────────── */
    section {
      padding: var(--section-pad-y) 0;
      position: relative;
    }
    .section-bordered { border-top: 1px solid var(--border); }

    /* ─────────────── SOBRE ─────────────── */
    .about__heading { margin-bottom: 1.5rem; }
    .about__intro {
      font-size: clamp(1.1rem, 1.4vw, 1.25rem);
      color: var(--muted-soft);
      max-width: 60ch;
      line-height: 1.55;
      margin-bottom: clamp(3rem, 6vw, 5rem);
    }
    .checklist {
      list-style: none;
      display: grid;
      gap: 1.25rem;
      margin-bottom: clamp(3rem, 6vw, 5rem);
      max-width: 720px;
    }
    .checklist li {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      font-family: var(--font-display);
      font-size: clamp(1.25rem, 2vw, 1.65rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 1.4;
    }
    .checklist svg {
      flex-shrink: 0;
      width: 24px; height: 24px;
      color: var(--check);
      margin-top: 0.35rem;
    }
    .profiles {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: clamp(1rem, 2vw, 1.5rem);
    }
    .profile {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: clamp(1.5rem, 2.5vw, 2.25rem);
      transition: border-color 0.35s, background 0.35s, transform 0.45s var(--ease-quart);
      position: relative;
      overflow: hidden;
    }
    .profile::before {
      content: '';
      position: absolute;
      top: 1.5rem; right: 1.5rem;
      width: 12px; height: 12px;
      background: var(--accent);
      border-radius: 50%;
      opacity: 0.5;
      transition: transform 0.35s, opacity 0.3s;
    }
    .profile:hover {
      background: var(--surface-elev);
      border-color: oklch(68% 0.155 48 / 0.4);
      transform: translateY(-4px);
    }
    .profile:hover::before { opacity: 1; transform: scale(1.4); }
    .profile__name {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(1.5rem, 2.2vw, 1.85rem);
      letter-spacing: -0.03em;
      margin-bottom: 0.25rem;
    }
    .profile__role {
      font-size: 0.92rem;
      font-weight: 500;
      letter-spacing: -0.005em;
      color: var(--accent);
      margin-bottom: 1.25rem;
    }
    .profile__bio {
      font-size: 1rem;
      color: var(--muted-soft);
      line-height: 1.6;
    }
    @media (max-width: 720px) {
      .profiles { grid-template-columns: 1fr; }
    }

    /* ─────────────── SERVIÇOS ─────────────── */
    .services__heading { margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 18ch; }
    .service-list {
      list-style: none;
      border-top: 1px solid var(--border);
    }
    .service-row {
      display: grid;
      grid-template-columns: 100px 1fr 1.4fr auto;
      gap: clamp(1rem, 3vw, 2.5rem);
      align-items: center;
      padding: clamp(2rem, 3vw, 2.75rem) 0;
      border-bottom: 1px solid var(--border);
      transition: transform 0.35s var(--ease-quart);
    }
    .service-row:hover { transform: translateX(clamp(0.5rem, 1vw, 1rem)); }
    .service-row__num {
      font-family: var(--font-display);
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0.04em;
    }
    .service-row__title {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      letter-spacing: -0.025em;
    }
    .service-row__desc {
      color: var(--muted-soft);
      font-size: 1rem;
      line-height: 1.55;
      max-width: 50ch;
    }
    .service-row__arrow {
      color: var(--muted);
      transition: transform 0.4s var(--ease-expo), color 0.3s;
      font-size: 1.4rem;
    }
    .service-row:hover .service-row__arrow {
      color: var(--accent);
      transform: translate(8px, -8px);
    }
    @media (max-width: 860px) {
      .service-row {
        grid-template-columns: 60px 1fr;
        gap: 0.75rem 1.25rem;
      }
      .service-row__desc { grid-column: 1 / -1; padding-left: calc(60px + 1.25rem); }
      .service-row__arrow { display: none; }
    }

    /* ─────────────── TRABALHOS ─────────────── */
    .work__heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
    .work__feature {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(1.5rem, 4vw, 4rem);
      align-items: center;
      margin-bottom: clamp(4rem, 8vw, 7rem);
    }
    .work__feature:nth-of-type(even) > .work-media { order: 2; }
    .work-media {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      aspect-ratio: 4 / 3;
      background: var(--surface);
    }
    .work-media img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.8s var(--ease-quart);
    }
    .work-media:hover img { transform: scale(1.04); }
    .work-info__tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
      padding: 0.35rem 0.85rem;
      border: 1px solid oklch(68% 0.155 48 / 0.4);
      border-radius: 100px;
    }
    .work-info__name {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      letter-spacing: -0.025em;
      line-height: 1.1;
      margin-bottom: 1rem;
    }
    .work-info__desc {
      color: var(--muted-soft);
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      max-width: 44ch;
    }
    .work-info__link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
      border-bottom: 1px solid var(--accent);
      padding-bottom: 0.3rem;
      transition: color 0.3s, gap 0.3s var(--ease-expo);
    }
    .work-info__link:hover { color: var(--accent); gap: 0.85rem; }
    @media (max-width: 720px) {
      .work__feature { grid-template-columns: 1fr; }
      .work__feature:nth-of-type(even) > .work-media { order: 0; }
    }

    /* ── Designs gallery (asymmetric grid) ── */
    .gallery {
      margin-top: clamp(4rem, 8vw, 7rem);
    }
    .gallery__head {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 2.5rem;
    }
    .gallery__title {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      letter-spacing: -0.025em;
    }
    .gallery__count {
      font-size: 0.85rem;
      color: var(--muted);
      letter-spacing: 0.02em;
    }
    .gallery__grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1rem;
    }
    .gallery__item {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      background: var(--surface);
      aspect-ratio: 1;
    }
    .gallery__item img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.7s var(--ease-quart), opacity 0.3s;
    }
    .gallery__item:hover img { transform: scale(1.06); }
    .gallery__item .label {
      position: absolute;
      left: 1rem; bottom: 1rem;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      padding: 0.3rem 0.7rem;
      border-radius: 100px;
      background: oklch(9% 0.007 48 / 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.35s, transform 0.35s var(--ease-expo);
    }
    .gallery__item:hover .label { opacity: 1; transform: translateY(0); }
    .gallery__item--lg { grid-column: span 6; aspect-ratio: 4/3; }
    .gallery__item--md { grid-column: span 4; }
    .gallery__item--sm { grid-column: span 3; }
    .gallery__item--wd { grid-column: span 8; aspect-ratio: 16/9; }
    @media (max-width: 900px) {
      .gallery__item--lg { grid-column: span 6; }
      .gallery__item--md { grid-column: span 6; }
      .gallery__item--sm { grid-column: span 6; }
      .gallery__item--wd { grid-column: span 12; }
    }
    @media (max-width: 540px) {
      .gallery__item--lg, .gallery__item--md, .gallery__item--sm { grid-column: span 12; aspect-ratio: 4/3; }
    }

    /* ─────────────── PREÇOS ─────────────── */
    .pricing__heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
    .pricing__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(1rem, 2vw, 1.5rem);
    }
    .price {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: clamp(2rem, 3vw, 2.5rem) clamp(1.75rem, 2.5vw, 2.25rem);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.35s, background 0.35s, transform 0.45s var(--ease-quart);
    }
    .price::before { display: none; }
    .price:hover {
      background: var(--surface-elev);
      border-color: oklch(68% 0.155 48 / 0.5);
      transform: translateY(-6px);
    }
    .price:hover::before { opacity: 1; transform: scale(1.15); }
    .price__name {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted-soft);
    }
    .price__price {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(2.5rem, 4.5vw, 3.5rem);
      letter-spacing: -0.04em;
      line-height: 1;
      color: var(--text);
    }
    .price__price span {
      font-size: 1rem;
      font-weight: 600;
      color: var(--muted);
      vertical-align: super;
      margin-right: 0.2rem;
      letter-spacing: 0;
    }
    .price__desc {
      color: var(--muted-soft);
      font-size: 0.95rem;
      line-height: 1.6;
      flex: 1;
    }
    .price__cta {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--accent);
      transition: gap 0.3s var(--ease-expo);
      margin-top: 0.25rem;
    }
    .price__cta:hover { gap: 0.75rem; }
    @media (max-width: 900px) {
      .pricing__grid { grid-template-columns: 1fr; }
    }

    /* ─────────────── STACK PILLS ─────────────── */
    .stack {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 2.5rem;
    }
    .stack__pill {
      padding: 0.55rem 1.1rem;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--muted-soft);
      background: var(--surface);
      transition: border-color 0.25s, color 0.25s;
    }
    .stack__pill:hover { color: var(--text); border-color: oklch(68% 0.155 48 / 0.5); }

    /* ─────────────── CONTATO ─────────────── */
    .contact {
      position: relative;
      overflow: hidden;
    }
    .contact__inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2.5rem, 6vw, 6rem);
      align-items: start;
    }
    .contact__heading { margin-bottom: 1.5rem; max-width: 14ch; }
    .contact__body {
      color: var(--muted-soft);
      font-size: 1.05rem;
      line-height: 1.6;
      margin-bottom: 2.5rem;
      max-width: 48ch;
    }
    .socials {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 3rem;
    }
    .social {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.65rem 1.25rem;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--muted-soft);
      transition: border-color 0.25s, color 0.25s, background 0.25s;
    }
    .social:hover {
      color: var(--text);
      border-color: var(--accent);
      background: oklch(68% 0.155 48 / 0.08);
    }
    .social svg { width: 16px; height: 16px; }
    .signoff {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--text);
      letter-spacing: -0.02em;
    }

    .form { display: flex; flex-direction: column; gap: 1.25rem; }
    .form__group { display: flex; flex-direction: column; gap: 0.45rem; }
    .form__label {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted-soft);
    }
    .form__input,
    .form__textarea {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.95rem 1.1rem;
      font-family: var(--font-body);
      font-size: 1rem;
      color: var(--text);
      width: 100%;
      transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
      -webkit-appearance: none;
      appearance: none;
    }
    .form__input::placeholder,
    .form__textarea::placeholder { color: var(--muted); }
    .form__input:focus,
    .form__textarea:focus {
      outline: none;
      border-color: oklch(68% 0.155 48 / 0.6);
      background: var(--surface-elev);
      box-shadow: 0 0 0 3px oklch(68% 0.155 48 / 0.18);
    }
    .form__input[aria-invalid="true"],
    .form__textarea[aria-invalid="true"] {
      border-color: oklch(60% 0.22 15 / 0.55);
    }
    .form__input[aria-invalid="true"]:focus,
    .form__textarea[aria-invalid="true"]:focus {
      border-color: oklch(60% 0.22 15 / 0.75);
      box-shadow: 0 0 0 3px oklch(60% 0.22 15 / 0.18);
    }
    .form__textarea { min-height: 140px; resize: vertical; }
    .form__btn {
      align-self: flex-start;
      padding: 1rem 2rem;
      background: var(--accent);
      color: oklch(9% 0.007 48);
      border-radius: 100px;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.01em;
      transition: background 0.3s, transform 0.25s var(--ease-expo);
    }
    .form__btn:hover { background: oklch(58% 0.155 48); transform: translateY(-2px); }
    .form__btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
    .form__success,
    .form__error {
      display: none;
      padding: 0.95rem 1.15rem;
      border-radius: 12px;
      font-size: 0.95rem;
    }
    .form__success { background: oklch(63% 0.11 148 / 0.1); border: 1px solid oklch(63% 0.11 148 / 0.4); color: var(--check); }
    .form__error { background: oklch(60% 0.22 15 / 0.1); border: 1px solid oklch(60% 0.22 15 / 0.4); color: oklch(75% 0.18 15); }
    .form__success.show, .form__error.show { display: block; }
    @media (max-width: 720px) {
      .contact__inner { grid-template-columns: 1fr; }
    }

    /* ─────────────── FOOTER ─────────────── */
    .footer {
      position: relative;
      padding: clamp(5rem, 10vw, 8rem) 0 2.5rem;
      background: #050505;
      overflow: hidden;
      border-top: 1px solid var(--border);
    }
    .footer__inner {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 var(--gutter);
      position: relative;
      z-index: 1;
    }
    .footer__brand {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(5rem, 18vw, 16rem);
      line-height: 0.85;
      letter-spacing: -0.06em;
      color: var(--text);
      margin-bottom: clamp(2.5rem, 5vw, 4rem);
    }
    .footer__brand em {
      color: var(--accent);
      font-weight: 700;
    }
    .footer__cols {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: clamp(2rem, 4vw, 4rem);
      margin-bottom: 4rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid var(--border);
    }
    .footer__col h3 {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.25rem;
    }
    .footer__col p,
    .footer__col li {
      font-size: 0.95rem;
      color: var(--muted-soft);
      line-height: 1.6;
    }
    .footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
    .footer__col a { color: var(--muted-soft); transition: color 0.25s; }
    .footer__col a:hover { color: var(--text); }
    .footer__bottom {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
      font-size: 0.82rem;
      color: var(--muted);
    }
    @media (max-width: 720px) {
      .footer__cols { grid-template-columns: 1fr; }
    }

    /* ── Custom Cursor ── */
    .cursor-dot, .cursor-outline {
      pointer-events: none;
      position: fixed;
      top: 0; left: 0;
      border-radius: 50%;
      z-index: 9999;
      opacity: 0;
      transform: translate(-50%, -50%);
      transition: opacity 0.3s;
    }
    .cursor-dot {
      width: 6px; height: 6px;
      background: var(--accent);
      box-shadow: 0 0 10px oklch(68% 0.155 48 / 0.6);
      transition: opacity 0.3s, transform 0.12s linear, width 0.25s, height 0.25s, background 0.25s;
    }
    .cursor-outline {
      width: 36px; height: 36px;
      border: 1.5px solid oklch(96% 0.005 48 / 0.4);
      transition: opacity 0.3s, transform 0.3s var(--ease-quart), width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    }
    body.cursor-active .cursor-dot,
    body.cursor-active .cursor-outline { opacity: 1; }
    body.cursor-hover .cursor-dot { width: 0; height: 0; opacity: 0; }
    body.cursor-hover .cursor-outline {
      width: 56px; height: 56px;
      border-color: var(--accent);
      background: oklch(68% 0.155 48 / 0.1);
    }
    @media (max-width: 768px), (pointer: coarse) {
      .cursor-dot, .cursor-outline { display: none !important; }
    }

    /* ── Site bg blur shapes (ambient) ── */
    .site-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .site-bg__blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      pointer-events: none;
    }
    /* Single halo behind the hero ring. Static — atmosphere, not motion. */
    .site-bg__blob--1 {
      width: clamp(440px, 60vw, 880px);
      height: clamp(440px, 60vw, 880px);
      top: 50%;
      right: clamp(-520px, -34vw, -220px);
      transform: translateY(-50%);
      background: radial-gradient(circle, oklch(68% 0.155 48 / 0.55) 0%, transparent 65%);
      opacity: 0.45;
    }

    /* ── Film-grain overlay ──────────────────────────────
       Tiny SVG noise tile (240×240, stitched seamlessly).
       Fixed overlay over halo + page surface, beneath
       all content. Material texture, not decoration. */
    .grain {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: 0.07;
      mix-blend-mode: overlay;
    }

    /* All actual content sits above the bg */
    .nav, main, .footer { position: relative; z-index: 1; }
  

    /* Generated ink-in-water hero background */
    .hero {
      position: relative;
      isolation: isolate;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background-image: url("assets/f5f7e76c2ebaf56e.webp");
      background-size: cover;
      background-position: center right;
      background-repeat: no-repeat;
      opacity: 0.55;
      pointer-events: none;
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
    }
    .hero__inner, .hero__shapes {
      position: relative;
      z-index: 2;
    }

/* Progressive enhancement and accessible viewers */
.skip-link { position:fixed; top:12px; left:12px; z-index:20000; background:var(--text); color:var(--bg); padding:12px 20px; transform:translateY(-160%); }
.skip-link:focus {transform:none}
.hero__shapes {overflow:clip}
.work-media, .gallery__item {min-width:0}
picture {display:contents}
.form__input, .form__textarea {min-width:0;max-width:100%}
#projectModal {width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#11100f;color:#f5f3ef;overflow:hidden}
#projectModal[open] {display:flex;flex-direction:column}
#projectModal::backdrop,.nav__drawer::backdrop {background:rgb(0 0 0 / .88)}
.viewer-bar {display:flex;align-items:center;gap:1rem;min-height:64px;padding:12px 24px;border-bottom:1px solid #444;flex:none}
.viewer-bar h2 {font:500 .85rem var(--font-body);margin-right:auto}
.viewer-bar a {font-size:.8rem;text-decoration:underline;text-underline-offset:4px}
.viewer-bar button,.drawer-close {padding:12px 18px;border:1px solid #807166;border-radius:2px;white-space:nowrap}
#projectFrame {width:100%;height:100%;flex:1;min-height:0;border:0;background:#111}
#projectFrame[hidden],#galleryPreview[hidden] {display:none}
#galleryPreview {width:100%;height:calc(100% - 70px);object-fit:contain;padding:24px}
.nav__drawer {max-width:none;max-height:none;width:100%;height:calc(100dvh - var(--nav-h));margin:0;border:0;color:var(--text)}
.drawer-close {position:absolute;top:20px;right:24px}
.form-note {font-size:.8rem;color:var(--muted-soft);line-height:1.6}
@media(max-width:600px){.viewer-bar{padding:10px 12px;gap:8px}.viewer-bar h2{font-size:.75rem}.viewer-bar a{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cursor-dot,.cursor-outline{display:none!important}.section-label::before{animation:none!important}body.cursor-active,body.cursor-active *{cursor:auto!important}}
@media(forced-colors:active){.grain,.site-bg,.hero__shapes,.cursor-dot,.cursor-outline{display:none!important}.price,.viewer-bar button,.form__btn{border:1px solid ButtonText}.hero::before{display:none}}
html:not(.js) .nav__burger {display:none}
@media(max-width:768px){html:not(.js) .nav__links{display:flex;flex-wrap:wrap;gap:12px}html:not(.js) .nav{position:relative}html:not(.js) .nav__inner{flex-wrap:wrap;height:auto;padding:16px}html:not(.js) .nav__contact{display:none}}

.currency-note{color:var(--muted-soft);font-size:.85rem;margin:1.5rem 0 2rem}
.form-note a{text-decoration:underline;text-underline-offset:3px}
.price__price span{font-size:1rem;white-space:nowrap}
.form__btn{transition:background .2s,transform .2s}
.form__btn:hover{transform:translateY(-2px)}
@supports not (color:oklch(50% 0 0)){:root{--bg:#100e0d;--bg-alt:#161310;--surface:#201a17;--surface-elev:#29221c;--text:#f4f2ef;--muted:#b0aaa5;--muted-soft:#c0bab4;--border:#40372f;--accent:#d58d54;--cursor-accent:#d58d54;--check:#94b38b}.nav,.nav__drawer{background:#161310}.hero::before{background:rgba(16,14,13,.7)}}
@media(max-width:768px){html:not(.js) .nav{height:auto;min-height:var(--nav-h)}html:not(.js) .nav__inner{gap:16px}html:not(.js) .nav__contact{display:inline-flex}html:not(.js) main>noscript p{padding-top:24px;padding-bottom:24px}}
