/* Rafael Braz — portfolio. Recriado a partir do editor do Framer (projeto "Rafael Braz | Portfolio").
   Breakpoints do Framer: Phone <810 · Tablet 810–1199 · Desktop 1200–1919 · Desktop XL >=1920 */

@font-face { font-family: "General Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/MFQT7HFGCR2L5ULQTW6YXYZXXHMPKLJ3/YWQ244D6TACUX5JBKATPOW5I5MGJ3G73/7YY3ZAAE3TRV2LANYOLXNHTPHLXVWTKH.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/3RZHWSNONLLWJK3RLPEKUZOMM56GO4LJ/BPDRY7AHVI3MCDXXVXTQQ76H3UXA63S3/SB2OEB6IKZPRR6JT4GFJ2TFT6HBB6AZN.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/KWXO5X3YW4X7OLUMPO4X24HQJGJU7E2Q/VOWUQZS3YLP66ZHPTXAFSH6YACY4WJHT/NIQ54PVBBIWVK3PFSOIOUJSXIJ5WTNDP.woff2") format("woff2"); }

:root {
  --black: #000;
  --white: #fff;
  --orange: rgb(253, 125, 67);
  --white-braz: rgb(220, 221, 223);
  --gray-braz: rgba(5, 5, 5, .2);
  --expo: cubic-bezier(.16, 1, .3, 1);          /* ease [0.16,1,0.3,1] usado em quase tudo no Framer */
  --line-ease: cubic-bezier(.65, 0, .13, 1);
  /* spring(500, 60, 1) do Framer — site.js troca por uma curva linear() exata */
  --spring: cubic-bezier(.25, 1, .4, 1);
  --spring-d: .5s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "General Sans", "General Sans Placeholder", Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
p, h1 { margin: 0; }
img, video, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- botões (Utilities / Primary Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border-radius: 200px; overflow: hidden; cursor: pointer;
  font-size: 14px; line-height: 1; letter-spacing: 0; font-weight: 500; white-space: nowrap;
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  transition: background-color var(--spring-d) var(--spring), color var(--spring-d) var(--spring), border-color var(--spring-d) var(--spring), opacity var(--spring-d) var(--spring);
}
.btn--white-black { background: var(--white); color: var(--black); }
.btn--white-black:hover { background: var(--black); color: var(--white); }
.btn--black-outline { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn--black-outline:hover { background: transparent; color: var(--black); }
.btn--orange-white { background: var(--orange); color: var(--white); }
.btn--orange-white:hover { background: var(--white); color: var(--black); }
.btn--orange { background: var(--orange); color: var(--white); }

/* ---------- link com sublinhado (Text Link / Text Link - Underline) ---------- */
.tlink {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  padding: 4px 0; overflow: hidden; cursor: pointer; user-select: none;
  font-size: 12px; line-height: 1; letter-spacing: -.2px; font-weight: 500; color: var(--white);
}
.tlink__line {
  position: absolute; bottom: 0; left: -60px; width: 53px; height: 1px; background: #f7f7f7;
  transition: left var(--spring-d) var(--spring), width var(--spring-d) var(--spring);
}
.tlink:hover .tlink__line { left: 1px; width: calc(100% - 1px); }
.tlink--dark { color: var(--black); }
.tlink--dark .tlink__line { background: var(--black); }

/* ---------- logo ---------- */
.logo-reveal { width: 169.15px; height: 19.088px; }
.logo-reveal--footer { width: 177px; height: 20px; }

/* =====================================================================
   NAV DESKTOP (Navigation / Navigation Desktop)
   estados: hide -> load -> white ; fill (seção #projects na tela)
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  --nt: .45s; --ne: var(--expo);
}
.nav::before, .nav::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity var(--nt) var(--ne); }
.nav::before { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%); opacity: 1; }
.nav::after { background: var(--white); opacity: 0; }
.nav[data-state="hide"]::before { opacity: 0; }
.nav[data-state="fill"]::before { opacity: 0; }
.nav[data-state="fill"]::after { opacity: 1; }
.nav[data-state="fill"] { -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.nav[data-state="load"] { --nt: 2s; }

.nav__top { position: relative; z-index: 2; width: 100%; padding: 0 45px; display: flex; flex-direction: column; align-items: center; overflow: hidden; transition: padding var(--nt) var(--ne); }
.nav[data-state="fill"] .nav__top { padding: 0 15px; }
.nav__inner { width: 100%; max-width: 1920px; padding: 15px 0; display: flex; align-items: center; }
.nav__left, .nav__logo, .nav__right { flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.nav__left { gap: 20px; }
.nav__logo { justify-content: center; }
.nav__right { justify-content: flex-end; }
.nav__left .tlink { transition: opacity .5s linear var(--d, 0s), color var(--nt) var(--ne); }
.nav__logo .logo-reveal { visibility: visible; }
.nav__btn { transition: background-color var(--spring-d) var(--spring), color var(--spring-d) var(--spring), border-color var(--spring-d) var(--spring), opacity var(--nt) var(--ne); }
.nav__line { position: relative; z-index: 2; height: 1px; width: 100%; background: rgba(255,255,255,.2); transition: width var(--nt) var(--ne), opacity var(--nt) var(--ne); }

.nav[data-state="hide"] .nav__left .tlink,
.nav[data-state="hide"] .nav__btn { opacity: 0; }
.nav[data-state="hide"] .nav__logo .logo-reveal { visibility: hidden; }
.nav[data-state="hide"] .nav__line { width: 0%; }
.nav[data-state="fill"] .nav__line { opacity: 0; }
.nav[data-state="fill"] .nav__left .tlink { color: var(--black); transition: none; }
.nav[data-state="fill"] .nav__left .tlink__line { background: var(--black); }
.nav[data-state="fill"] .nav__btn { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.nav[data-state="fill"] .nav__btn:hover { background: transparent; color: var(--black); }

/* =====================================================================
   NAV MOBILE (Navigation / Navigation Mobile) + menu
   ===================================================================== */
.mnav { display: none; }
.mnav__row, .menu__row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mnav__logo { display: flex; align-items: center; padding: 20px 0; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 74px;
  padding: 11px 18px; border-radius: 200px; background: var(--white); color: var(--black);
  font-size: 14px; line-height: 1; font-weight: 500; overflow: hidden;
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  transition: background-color var(--spring-d) var(--spring), color var(--spring-d) var(--spring);
}

.menu {
  position: fixed; inset: 0; z-index: 30; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: rgba(1,1,3,.75); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
}
.menu[hidden] { display: none; }
.menu__row { position: absolute; top: 0; left: 0; right: 0; padding: 0 15px; z-index: 5; }
.menu__links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 15px; }
.menu__item { overflow: hidden; }
.menu__item a { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 4px; }
.menu__name { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: 0; }
.menu__num { font-size: 10.76px; line-height: 1; font-weight: 500; }
.menu__name, .menu__num { opacity: 0; transform: translateY(100px); }
.menu.is-open .menu__name, .menu.is-open .menu__num { opacity: 1; transform: none; transition: opacity 1.5s var(--expo) var(--d), transform 1.5s var(--expo) var(--d); }
.menu__line { height: 1px; opacity: 0; transform: translateY(50px); }
.menu__line i { display: block; height: 1px; width: 0%; background: rgba(255,255,255,.2); }
.menu.is-open .menu__line { opacity: 1; transform: none; transition: opacity 1.5s var(--expo) .2s, transform 1.5s var(--expo) .2s; }
.menu.is-open .menu__line i { width: 100%; transition: width 2s var(--line-ease) var(--d); }

/* =====================================================================
   HERO (Home / Hero Header)
   ===================================================================== */
.hero-sec { position: relative; z-index: 1; height: 100vh; overflow: hidden; background: linear-gradient(180deg, #545454 0%, #fff 5%); }
.hero { position: absolute; inset: 0; display: flex; padding: 0; transition: padding 2s var(--expo); }
.hero.is-active { padding: 0 15px 15px; }
.hero__media {
  position: relative; flex: 1; overflow: hidden;
  background: #111 url("https://framerusercontent.com/images/T75zh0vjUCBCAvxLNpWtuwoln8.jpeg?scale-down-to=2048") center / cover no-repeat;
  border-radius: 0; transition: border-radius 2s var(--expo);
}
.hero.is-active .hero__media { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__overlay { position: absolute; left: 0; bottom: 0; width: 100%; height: 500px; z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.78) 100%); }
.hero__stack { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 4; padding: 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; transition: padding 2s var(--expo); }
.hero.is-active .hero__stack { padding: 35px; }
.hero__title { display: flex; flex-direction: column; overflow: hidden; }
.hero__line { display: flex; overflow: hidden; }
.hero__line h1, .hero__line p { font-size: 44px; line-height: 1.21; font-weight: 500; color: var(--white); letter-spacing: 0; }
.hero__sub { max-width: 680px; width: 100%; font-size: 16px; line-height: 26px; color: rgba(255,255,255,.8); }
.hero__bottom { width: 100%; padding-top: 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.hero__reel { display: flex; align-items: center; gap: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 16px; line-height: 26px; }
.pill span { font-weight: 700; }
.hero__tags { font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: rgba(255,255,255,.7); }

/* Scroll More */
.scroll-more { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--white); text-align: center; }
.scroll-more__arrows { position: relative; width: 10px; height: 13px; overflow: hidden; display: block; }
.scroll-more__arrows svg { position: absolute; left: 0; }
.scroll-more__arrows svg:nth-child(1) { top: -6px; }
.scroll-more__arrows svg:nth-child(2) { top: 4px; }
.scroll-more__arrows svg { animation: arrows 2s infinite; }
@keyframes arrows {
  0%, 50% { transform: translateY(0); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  99.9% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

/* animações de entrada (appear onMount) */
.ap { transition: none; }
.ap--title { transform: translateY(60px) rotate(4deg); }
.ap--fade20 { opacity: 0; transform: translateY(20px); }
.ap--fade24 { opacity: 0; transform: translateY(24px); }
.ap--fade0 { opacity: 0; }
body.is-ready .ap { opacity: 1; transform: none; transition: transform 2s var(--expo) var(--d), opacity 2s var(--expo) var(--d); }
body.is-ready .ap--fade24 { transition-duration: 1.6s; }
body.is-ready .ap--fade0 { transition: opacity 1.4s cubic-bezier(.25, 1, .5, 1) var(--d); }

/* =====================================================================
   PROJETOS (Home / Home - Projects Row)
   ===================================================================== */
.proj-sec { position: relative; display: flex; justify-content: center; scroll-margin-top: 400px; }
.proj-sec--first, .proj-sec--white { background: var(--white); }
.proj-sec--white { z-index: 5; }
.proj-sec--clip { overflow: hidden; }
.row {
  width: 100%; background: var(--white); display: flex; align-items: center; gap: 15px;
  padding: 0 15px 15px; transition: padding var(--spring-d) var(--spring);
}
.row.is-pre { padding-top: 15px; }
.card {
  position: relative; z-index: 5; flex: 1 1 0; min-width: 0; border-radius: 10px; background: var(--white);
  transition: flex-grow var(--spring-d) var(--spring);
}
.card--middle { display: none; }
.card__media {
  position: relative; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* garante o corte arredondado no Safari */
}
.card__img { flex: none; width: 120%; height: auto; aspect-ratio: 1.1745; object-fit: cover; z-index: 1; transition: width var(--spring-d) var(--spring); }
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; z-index: 2; pointer-events: none; }
iframe.card__video { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.card__overlay { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.card__cta { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.card__text { display: flex; flex-direction: column; align-items: center; gap: 4px; user-select: none; }
.card__cat { font-size: 12px; line-height: 1; letter-spacing: -.2px; color: var(--white); opacity: .6; }
.card__title { font-size: 24px; line-height: 1.1; color: var(--white); text-align: center; white-space: nowrap; }

/* hover: o card aberto cresce para 1.5fr; nos outros a imagem vai a 150% */
.row.has-open .card.is-open { flex-grow: 1.5; }
.row.has-open .card .card__img { width: 150%; }
.row.has-open .card.is-open .card__img { width: 100%; }

/* ---------- See all works ---------- */
.see-all { background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px 15px; overflow: clip; }

/* =====================================================================
   FOOTER (Footer / Footer)
   ===================================================================== */
.footer { position: relative; z-index: 0; background: var(--black); display: flex; flex-direction: column; gap: 100px; padding: 100px 14px 14px; }
.footer__main { display: flex; flex-direction: column; gap: 75px; }
.footer__top, .footer__content, .footer__details { display: flex; gap: 15px; align-items: flex-start; }
.footer__top > :first-child, .footer__content > :first-child, .footer__details > :first-child { flex: .4 1 0; min-width: 0; }
.footer__top > :last-child, .footer__content > :last-child, .footer__details > :last-child { flex: .8 1 0; min-width: 0; }
.footer__top { overflow: hidden; }
.footer__label { font-size: 14px; line-height: 1; color: var(--white); opacity: .6; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__head { display: flex; flex-direction: column; gap: 7px; }
.footer__title { font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--white); }
.footer__sub { font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: var(--white); opacity: .6; }
.footer__bottom { display: flex; flex-direction: column; gap: 14px; }
.footer__rule { height: 1px; width: 100%; background: rgba(255,255,255,.2); }
.footer__content { overflow: hidden; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__cols { display: flex; gap: 80px; }
.footer__col { display: flex; flex-direction: column; gap: 15px; overflow: hidden; }
.footer__colt { font-size: 12px; line-height: 1; letter-spacing: -.2px; opacity: .6; user-select: none; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; overflow: hidden; }
.footer__details { gap: 14px; }
.footer__copy { font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: 0; color: rgba(255,255,255,.4); user-select: none; }
.footer__small { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flink { font-size: 14px; font-weight: 400; line-height: 1; color: var(--white); opacity: .4; user-select: none; transition: opacity var(--spring-d) var(--spring); }
a.flink:hover { opacity: 1; }

/* desktop (2 cards): altura fixa no tamanho de repouso, para o hover não empurrar as linhas de baixo */
@media (min-width: 1200px) and (max-width: 1919.98px) {
  .card__media { height: var(--card-h, auto); }
  .card__img { height: 100%; aspect-ratio: auto; }
}

/* =====================================================================
   DESKTOP XL (>=1920)
   ===================================================================== */
@media (min-width: 1920px) {
  .hero-sec { height: 85vh; }
  .proj-sec--first { padding-top: 15px; }
  .proj-sec--third { display: none; }
  .card--middle { display: block; }
  .card__img { width: 128.6%; height: 630px; aspect-ratio: auto; }
}

/* =====================================================================
   TABLET (810–1199)
   ===================================================================== */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .row[data-row="1"] { padding-top: 15px; }
  .card__media { justify-content: flex-start; }
  .card__img, .row.has-open .card .card__img { width: 100%; aspect-ratio: .78; }
  .card--right .card__media { justify-content: flex-end; }
  .card__cta .btn:hover { background: var(--orange); color: var(--white); }
  .footer { padding-left: 20px; padding-right: 20px; }
  .footer__top, .footer__content, .footer__details { gap: 60px; }
}

/* =====================================================================
   PHONE (<810)
   ===================================================================== */
@media (max-width: 809.98px) {
  .nav { display: none; }
  .mnav {
    display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 8; padding: 0 15px; gap: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
    transition: background-color .45s var(--expo);
    opacity: 0; animation: mnav-in 2s var(--expo) forwards;
  }
  @keyframes mnav-in { to { opacity: 1; } }
  .mnav.is-white { background: var(--white); }
  .mnav.is-white .menu-btn { background: var(--orange); color: var(--white); }

  .hero-sec { height: 90vh; }
  .hero, .hero.is-active { padding: 0; }
  .hero.is-active .hero__media { border-radius: 0; }
  .hero__overlay { top: 0; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 62%, rgba(0,0,0,.75) 100%); }
  .hero__stack, .hero.is-active .hero__stack { padding: 0 15px 30px; }
  .hero__title, .hero__line { width: 100%; }
  .hero__line h1, .hero__line p { font-size: 28px; }
  .hero__reel { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__tags, .scroll-more { display: none; }

  .proj-sec--first { padding-top: 15px; background: var(--white); }
  .row, .row.is-pre { flex-direction: column; padding: 0 15px 15px; }
  .card { width: 100%; flex: none; }
  .card__media { justify-content: flex-start; }
  .card__img, .row.has-open .card .card__img { width: 100%; height: 490px; aspect-ratio: auto; }
  .card__cta { bottom: 30px; }
  .card__title { font-size: 20px; }
  .card--right .card__overlay { background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(0,0,0,.39) 100%); }
  .card__cta .btn:hover { background: var(--orange); color: var(--white); }
  .see-all { padding: 30px 15px 80px; }

  .footer { gap: 120px; padding: 60px 15px 15px; }
  .footer__main { gap: 90px; }
  .footer__top { flex-direction: column; gap: 30px; }
  .footer__top > *, .footer__content > *, .footer__details > * { flex: none !important; width: 100%; }
  .footer__cta { gap: 30px; width: 100%; }
  .footer__head { width: 100%; }
  .footer__title { max-width: 215px; font-size: 24px; }
  .footer__bottom { gap: 15px; }
  .footer__content { flex-direction: column; gap: 60px; overflow: visible; }
  .footer__brand { gap: 16px; overflow: visible; }
  .logo-reveal--footer { width: 140px; height: 16px; }
  .footer__cols { gap: 0; width: 100%; }
  .footer__col { flex: 1 1 0; }
  .footer__details { flex-direction: column; gap: 5px; }
  .footer__small { align-items: flex-start; }
}
@media (min-width: 810px) and (max-width: 1199.98px) { .card__title { font-size: 22px; } .footer__title { font-size: 26px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .ap { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   PÁGINA DE CASE (Framer: página "Project" /projects/:slug)
   ===================================================================== */
body.page-case { background: var(--white); }
.page-case .nav, .page-case .mnav { opacity: 0; animation: case-nav-in .3s linear 2.5s forwards; }
@keyframes case-nav-in { to { opacity: 1; } }

/* hero fixo (sticky) — componente "Hero Image - Video Projects Page" */
.chero-sec { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; background: var(--white); }
.chero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; }
.chero__media { position: relative; z-index: 1; flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; }
.chero__img, .chero__overlay {
  width: 95%; height: 95%;
  transition: width 2s cubic-bezier(.2, .93, .37, 1.01), height 2s cubic-bezier(.2, .93, .37, 1.01), border-radius 2s cubic-bezier(.2, .93, .37, 1.01), opacity 2s cubic-bezier(.2, .93, .37, 1.01);
}
.chero__img { display: block; object-fit: cover; border-radius: 10px; opacity: .9; }
.chero__overlay { position: absolute; z-index: 3; border-radius: 5px; background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(0,0,0,.39) 100%); pointer-events: none; }
.chero.is-on .chero__img, .chero.is-on .chero__overlay { width: 100%; height: 100%; border-radius: 0; opacity: 1; }
.chero__heading { position: absolute; z-index: 4; bottom: 50px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.chero__catline { height: 16px; overflow: hidden; display: flex; }
.chero__cat { font-size: 14px; line-height: 1; color: var(--white); opacity: .6; }
.chero__titleline { overflow: hidden; display: flex; justify-content: center; }
.chero__title { font-size: 44px; line-height: 1.21; font-weight: 500; color: var(--white); white-space: nowrap; text-align: center; }
.ap--y60 { transform: translateY(60px); }
.ap--y20 { transform: translateY(20px); }
body.is-ready .chero__cat.ap { opacity: .6; }

/* conteúdo que rola por cima do hero */
.case-wrap { position: relative; z-index: 6; background: var(--white); color: var(--black); display: flex; flex-direction: column; align-items: center; }
.case-wrap > * { width: 100%; }

/* textos ricos (CMS) — Body Regular 14/140%, parágrafos com 20px */
.rt { font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: var(--black); }
.rt p { margin: 0; }
.rt p + p, .rt ul + p, .rt p + ul + p { margin-top: 20px; }
.rt b, .rt strong { font-weight: 700; }
.rt a { color: inherit; text-decoration: none; }
.rt ul { margin: 0; padding: 0 0 0 16.716px; list-style: disc outside; }
.rt li { margin: 0; }

.c-label { font-size: 14px; line-height: 1; color: var(--black); opacity: .4; }
.c-value { font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: var(--black); white-space: nowrap; }
.c-clip { display: flex; overflow: hidden; }
.c-clip--v { padding: 0 10px 6px 0; }
.c-clip--15 { height: 15px; }
.c-clip--comma { gap: 2px; padding-right: 1px; }

.c-details { max-width: 1920px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: center; gap: 30px; padding: 50px 15px 90px; }
.c-details__left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.c-details__text { width: 650px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.c-about { width: 650px; max-width: 100%; }
.c-details__right { flex: .4 1 0; min-width: 0; display: flex; }
.c-details__list { flex: .5 1 0; display: flex; flex-direction: column; gap: 30px; }
.c-row { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.c-cats { display: flex; gap: 4px; overflow: hidden; }

.c-case { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 0 15px; overflow: hidden; }
.c-videos { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 30px; overflow: clip; }
.c-process { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0 16px; overflow: clip; }
.c-vtitle { width: 1200px; max-width: 100%; text-align: center; font-size: 16px; line-height: 26px; color: var(--black); opacity: .4; }
.c-embed { width: 100%; }
.c-quote { width: 100%; display: flex; justify-content: flex-end; gap: 20px; padding: 40px; }
.c-quote__w { flex: .5 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.c-quote__t { max-width: 460px; }
.c-duo { width: 100%; display: flex; gap: 15px; overflow: hidden; background: var(--white); }
.c-duo__img { flex: 1 1 0; aspect-ratio: .75; overflow: hidden; border-radius: 10px; }
.c-duo__img img, .c-wide img { width: 100%; height: 100%; object-fit: cover; }
.c-wide { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; }
.c-wide--first { border-radius: 6px; }
.c-gallery { width: 100%; height: 590px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: clip; }
.c-ticker { width: 100%; overflow: hidden; }
.c-ticker__track { display: flex; gap: 10px; width: max-content; animation: ticker var(--tick, 60s) linear infinite; }
.c-ticker--rev .c-ticker__track { animation-direction: reverse; }
.c-ticker__track img { height: 190px; width: auto; border-radius: 10px; flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 5px)); } }

.c-credits { display: flex; justify-content: center; padding: 30px 15px 120px; }
.c-quote--credits { padding: 0; }

.c-more { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 15px 50px; overflow: hidden; }
.c-more__line { width: 100%; height: 1px; background: var(--gray-braz); }
.c-more__row { width: 100%; height: 50px; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.c-more__title { flex: 1; font-size: 30px; line-height: 1; color: var(--black); }

/* Text Link - Arrow */
.alink { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 5px 0 5px 5px; color: var(--black); }
.alink__t { font-size: 14px; line-height: 1; transition: opacity var(--spring-d) var(--spring); }
.alink:hover .alink__t { opacity: .4; }
.alink__arrows { position: relative; width: 40px; height: 17px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.alink__pill { position: absolute; inset: 0; overflow: visible; }
.alink__fill { fill: rgba(0,0,0,.2); }
.alink__stroke { fill: none; stroke: #000; stroke-width: .78; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s cubic-bezier(.83, 0, .17, 1); }
.alink:hover .alink__stroke { stroke-dashoffset: 0; }
.alink__track { position: relative; z-index: 2; display: flex; gap: 14px; width: 38px; overflow: hidden; }
.alink__track svg { flex: none; transform: translateX(-18px); transition: transform 1s cubic-bezier(.83, 0, .17, 1); }
.alink:hover .alink__track svg { transform: translateX(12px); }

.c-next { background: var(--white); }

/* aparecer ao entrar na tela */
.sap { transform: translateY(50px) rotate(4deg); }
.sap--rot23 { transform: translateY(23px) rotate(4deg); }
.c-vtitle.sap { transform: translateY(23px) rotate(4deg); }
.sap--fade50 { opacity: 0; transform: translateY(50px); }
.vap { opacity: 0; transform: translateY(50px); }
.sap.is-in, .vap.is-in { transform: none; transition: transform 2s var(--expo) var(--d, 0s), opacity 2s var(--expo) var(--d, 0s); }
.vap.is-in, .sap--fade50.is-in { opacity: 1; }
.c-label.sap.is-in { opacity: .4; }
.c-vtitle.sap.is-in { opacity: .4; }
.sap--fade50.is-in { transition-duration: 4s; }

@media (min-width: 1920px) {
  .c-details__text, .c-about { width: 1000px; }
  .c-videos, .c-process, .c-wide { max-width: 1920px; }
  .c-wide { aspect-ratio: auto; }
  .c-wide img { height: auto; }
  .c-gallery { height: auto; }
  .c-ticker__track img { height: 250px; }
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  .c-details__text { width: auto; }
  .c-about { width: 520px; }
  .c-details__right { flex-grow: .3; }
  .c-vtitle { width: 810px; }
  .c-more__title { font-size: 26px; }
  .c-quote__t { max-width: none; }
}
@media (max-width: 809.98px) {
  .chero-sec { height: 90vh; }
  .chero__title { font-size: 28px; }
  .c-details { flex-direction: column; padding: 30px 15px 60px; }
  .c-details__left, .c-details__right, .c-details__list { flex: none; width: 100%; }
  .c-details__text, .c-about { width: 100%; }
  .c-duo { flex-direction: column; }
  .c-duo__img { width: 100%; flex: none; }
  .c-vtitle { font-size: 10px; line-height: 1.4; letter-spacing: -.01em; }
  .c-videos > .c-embed:first-of-type { height: 200px; }
  .c-more__title { font-size: 24px; }
  .c-quote__w { flex: 1 1 0; }
  .c-gallery { height: auto; }
  .c-ticker__track img { height: 100px; }
  .vap, .sap { --d: 0s; }
}
.c-aiimg { width: 100%; aspect-ratio: 1.78; overflow: hidden; }
.c-aiimg img { width: 100%; height: 100%; object-fit: cover; }
.c-pre { white-space: pre-wrap; }
