/* PERSONALIZAÇÃO: altere estas variáveis para mudar o site inteiro. */
:root {
  --font-body: 'Alata', Arial, sans-serif;
  --font-heading: 'Alata', Arial, sans-serif;
  --color-background: #000000;
  --color-text: #f95376;
  --color-muted: #b9b9b9;
  --color-card-text: #ffffff;
  --color-card-panel: #0000009e;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-text); outline-offset: 6px; }
header { display: flex; align-items: center; justify-content: space-between; min-height: 90px; padding: 18px 30px; }
.logo { display: block; line-height: 0; }
.logo img { width: 60px; height: 60px; object-fit: contain; }
.logo--text { line-height: 1.2; text-decoration: none; }
.logo-name,
.logo-role { display: block; }
.logo-name { color: var(--color-text); font-size: 16px; letter-spacing: .18em; }
.logo-role { margin-top: 4px; color: var(--color-muted); font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
header nav { display: flex; gap: 22px; }
header nav a { color: var(--color-muted); font-size: 14px; letter-spacing: 1px; text-decoration: none; }
header nav a[aria-current], header nav a:hover { color: var(--color-text); }
h1,h2,h3 { font-family: var(--font-heading); font-weight: 400; }
.intro { text-align: center; padding: 0 20px 44px; }
.intro h1 { font-size: 24px; letter-spacing: .38em; margin: 0 0 5px; }
.intro p { font-size: 14px; letter-spacing: .24em; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 0 20px 30px; }
.project-card { position: relative; display: grid; place-items: center; height: max(180px, calc((100vw - 60px) / 2.42 - 150px)); border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1); transform: scale(1); transition: filter .5s ease-in-out, transform 1.5s cubic-bezier(.22,1,.36,1); }
.project-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #000; opacity: .28; pointer-events: none; transition: opacity .5s ease-in-out; }
/* Fashion and Guess What? I Moved!: 30% darker than the general overlay (1 - .72 * .7). */
.project-card:where([href="catalogs.html"], [href="zap-br-pronto-mudei.html"])::before { opacity: .496; }
.project-card:hover::before,
.project-card:focus-visible::before { opacity: 0; }
.project-card h2 { max-width: 75%; padding: 28px 32px; border-radius: 18px; background: var(--color-card-panel); color: var(--color-card-text); text-align: center; font-size: 16px; letter-spacing: .15em; line-height: 1.45; opacity: 0; filter: blur(8px); transition: opacity .45s ease, filter .45s ease; }
.project-card:hover h2,
.project-card:focus-visible h2 { opacity: 1; filter: blur(0); }
.project-card h2>span { display: block; }
.project-card .client { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgb(249 83 118 / .5); color: var(--color-muted); font-size: 12px; }
.project-card:hover img,
.project-card:focus-visible img { filter: grayscale(0); transform: scale(1.025); }
.project-body { width: min(1080px, calc(100% - 48px)); margin: 25px auto 70px; }
.project-body figure { margin: 24px 0; }
.project-body img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.project-page > header { position: absolute; inset: 0 0 auto; z-index: 2; background: linear-gradient(#0009, transparent); }
.project-page .project-body { margin-top: 0; margin-bottom: 60px; }
.project-hero { position: relative; width: 100vw; height: clamp(400px, 42vw, 680px); margin-left: calc(50% - 50vw); overflow: hidden; background: #111; }
.project-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
.project-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0009, transparent 60%), linear-gradient(0deg, #0007, transparent 50%); pointer-events: none; }
.project-hero__text { position: absolute; z-index: 1; left: 50%; bottom: clamp(35px, 6vw, 90px); width: calc(100% - 32px); color: #fff; text-align: center; opacity: var(--project-hero-opacity, 1); transform: translate(-50%, var(--project-hero-shift, 0px)); will-change: opacity, transform; }
.project-hero__text h1 { margin: 0; color: var(--color-text); font-size: clamp(24px, 4vw, 50px); line-height: 1.16; letter-spacing: .02em; white-space: nowrap; }
.project-hero__text p { margin: 18px 0 0; color: #ddd; font-size: clamp(8px, 1.7vw, 12px); letter-spacing: .12em; line-height: 1.5; white-space: nowrap; }
.project-hero--wide { height: auto; aspect-ratio: 2048 / 648; }
.project-hero--wide > img { position: absolute; inset: 0; }
.project-hero--wide.project-hero--monochrome > img { object-fit: cover; filter: grayscale(1) brightness(.55); }
.project-hero--original { height: auto; aspect-ratio: var(--project-hero-ratio, 16 / 9); }
.project-hero--original > img { position: absolute; inset: 0; }
.project-page .project-intro,
.project-page .project-story {
    color: #ccc;
    font-family: 'Frank Ruhl Libre', Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
}
.project-page .project-section-label { color: var(--color-text); font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.project-page .copy .project-story-heading { max-width: 900px; margin: 0 auto 18px; color: var(--color-text); font-family: var(--font-heading); font-size: clamp(18px, 2vw, 24px); font-weight: 400; line-height: 1.35; letter-spacing: .04em; }
.project-page .copy .project-story-heading:has(+ .project-story) { margin-bottom: 6px; }
/* Balance the trailing letter spacing so the visible text is centered. */
.catalogs-page .project-section-label { padding-left: .32em; }
.catalogs-page .project-story-heading { padding-left: .04em; }
.catalogs-page .project-hero__text h1 { padding-left: .02em; }
.catalogs-page .project-hero__text p { padding-left: .12em; }
.project-page .copy .project-story { margin: 0 auto; }
.project-page .copy .project-story + .project-story { margin-top: 1em; }
.project-page .copy .project-story a { color: var(--color-text); }
.project-live-link { --live-link-gap: 14px; display: inline-flex; min-height: 34.4px; align-items: center; justify-content: center; gap: var(--live-link-gap); margin-top: 22px; padding: 6px var(--live-link-gap) 6px 6px; border: 1px solid #666; border-radius: 999px; background: #222; color: #ddd; font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: .11em; line-height: 1.2; text-decoration: none; transition: background-color .25s ease, border-color .25s ease; }
.project-live-link:hover { background: #2a2a2a; border-color: var(--color-text); }
.project-live-link__icon { display: grid; place-items: center; flex: 0 0 20.4px; width: 20.4px; height: 20.4px; border-radius: 50%; background: var(--color-text); color: #000; letter-spacing: 0; }
.project-live-link__label { margin-right: -.11em; }
.project-live-link__arrow { display: block; font-size: 12px; line-height: 1; transition: transform .25s ease; }
.project-live-link:hover .project-live-link__arrow { transform: translate(2px, -2px); }
.project-credits { margin: 60px auto 0; color: #ddd; font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.project-credits summary { position: relative; display: block; padding: 20px 58px 20px 24px; border: 1px solid #444; border-radius: 12px; background: #242424; text-align: left; cursor: pointer; list-style: none; }
.project-credits summary::-webkit-details-marker { display: none; }
.project-credits summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; }
.project-credits[open] summary { border-radius: 12px 12px 0 0; }
.project-credits[open] summary::after { content: '−'; }
.project-credits summary:focus-visible { outline: 2px solid var(--color-text); outline-offset: 4px; }
.project-credits__body { padding: 28px 24px; border: 1px solid #444; border-top: 0; border-radius: 0 0 12px 12px; background: #242424; line-height: 1.8; text-align: left; }
.project-credits__body p { max-width: none; margin: 0; }
.project-credits__body p + p { margin-top: 1.4em; }
.project-credits__label { color: var(--color-text); letter-spacing: .25em; }
.project-credits[open] .project-credits__body { animation: project-credits-reveal .25s ease-out; }
@keyframes project-credits-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.copy { text-align: center; margin: 32px auto; overflow-wrap: anywhere; }
.copy h1 { font-size: clamp(24px,3vw,36px); line-height: 1.35; }
.copy h2 { font-size: clamp(20px,2.1vw,28px); line-height: 1.55; }
.copy h3 { font-size: 14px; line-height: 1.8; letter-spacing: .09em; }
.copy p { font-size: 16px; }
.copy strong { font-weight: 400; }
.copy ul,.copy ol { text-align: left; }
.video-embed { aspect-ratio: var(--ratio,1.77778); margin: 28px 0; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
video { width: 100%; display: block; margin: 28px 0; border-radius: var(--radius); }
.project-page video { cursor: pointer; }
.project-video-frame { width: 100%; aspect-ratio: 16 / 9; margin: 28px 0; overflow: hidden; border-radius: var(--radius); background: #000; }
.project-video-frame > video { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: contain; }
.project-video-frame.has-custom-video-controls { position: relative; }
.project-video-frame.has-custom-video-controls > video { cursor: pointer; }
.project-video-play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: clamp(62px, 8vw, 96px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .88); cursor: pointer; transform: translate(-50%, -50%); transition: background-color .2s ease, transform .2s ease; }
.project-video-play::before { content: ''; width: 26px; height: 30px; margin-left: 5px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath d='M3 2.5 Q2 2 2 4 V26 Q2 28 4 27 L23 16 Q25 15 23 14 Z' fill='%23111' stroke='%23111' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.project-video-play:hover, .project-video-play:focus-visible { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
.project-video-play[hidden] { display: none; }
.project-video-frame--outlined { position: relative; }
.project-video-frame--outlined::after { content: ''; position: absolute; inset: 0; z-index: 1; border: 2px solid #666666; border-radius: inherit; pointer-events: none; }
.project-video-frame > iframe { display: block; width: 100%; height: 100%; border: 0; }
.project-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.project-video-grid > .project-video-frame { min-width: 0; margin: 0; }
.project-video-grid--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(12px, 8.333vw, 90px); margin-right: 0; margin-left: 0; align-items: center; }
.project-video-grid--portrait > .project-video-frame { aspect-ratio: 9 / 16; }
.project-video-grid--portrait > .project-video-frame > video { object-fit: cover; }
.project-video-grid--portrait > .project-story-heading { min-width: 0; margin: 0; color: var(--color-text); font-family: var(--font-heading); font-size: clamp(18px, 2vw, 24px); font-weight: 400; line-height: 1.35; letter-spacing: .04em; text-align: left; }
.project-stills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 16px); margin: 28px 0; }
.project-body .project-stills-grid > figure { min-width: 0; margin: 0; }
.project-stills-grid img { border-radius: 10px; }
.project-stills-grid--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.project-stills-grid--five > figure { grid-column: span 2; }
.project-stills-grid--five > figure:nth-child(n + 4) { grid-column: span 3; }
.gallery { margin: 28px 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; scrollbar-color: var(--color-text) var(--color-background); }
.gallery-track figure { flex: 0 0 100%; scroll-snap-align: start; margin: 0; align-content: center; }
.gallery.is-autoplaying .gallery-track { display: grid; overflow: hidden; }
.gallery.is-autoplaying .gallery-track figure { grid-area: 1 / 1; opacity: 0; }
.gallery.is-autoplaying .gallery-track figure.is-active { z-index: 1; opacity: 1; }
.gallery.is-autoplaying .gallery-track figure.is-entering { z-index: 2; transition: opacity 1s ease; }
.gallery.is-autoplaying .gallery-track figure.is-entering.is-visible { opacity: 1; }
.gallery-controls { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 12px; }
.gallery-controls > [aria-live] { flex: 0 0 7ch; width: 7ch; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-controls .gallery-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 6px; border-radius: 999px; transition: background-color .25s ease, color .25s ease; }
.gallery-button__circle { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--color-text); color: #000; }
.gallery-button__arrow { display: block; width: 16px; height: 16px; transition: transform .25s ease; }
.gallery-controls .gallery-button:enabled:is(:hover, :focus-visible) { background: var(--color-text); color: #000; }
.gallery-button--previous:enabled:is(:hover, :focus-visible) .gallery-button__arrow { transform: translateX(-3px); }
.gallery-button--next:enabled:is(:hover, :focus-visible) .gallery-button__arrow { transform: translateX(3px); }
@media (max-width: 420px) {
 .gallery-controls { gap: 10px; padding: 12px 0; }
 .gallery-controls .gallery-button { gap: 6px; font-size: 14px; }
}
.making-of-marquee { width: 100vw; margin: 28px 0 28px calc(50% - 50vw); }
.making-of-marquee__viewport { overflow-x: auto; scrollbar-color: var(--color-text) var(--color-background); }
.making-of-marquee.is-animated .making-of-marquee__viewport { overflow: hidden; }
.making-of-marquee__track { display: flex; width: max-content; }
.making-of-marquee__group { display: flex; flex: none; gap: 16px; padding-right: 16px; }
.making-of-marquee figure { flex: 0 0 clamp(144px, 15vw, 228px); width: clamp(144px, 15vw, 228px); margin: 0; }
.making-of-marquee img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.making-of-marquee--wide figure { flex-basis: clamp(240px, 27vw, 410px); width: clamp(240px, 27vw, 410px); }
.making-of-marquee--wide img { aspect-ratio: 943 / 523; object-fit: contain; }
.making-of-marquee.is-animated .making-of-marquee__track { animation: making-of-scroll var(--marquee-duration) linear infinite; }
@keyframes making-of-scroll { to { transform: translate3d(var(--marquee-distance), 0, 0); } }
button { font: inherit; color: var(--color-text); background: transparent; border: 1px solid var(--color-text); padding: 6px 16px; cursor: pointer; border-radius: 6px; }
button:disabled { opacity: .35; cursor: default; }
.project-nav { display: flex; justify-content: space-between; gap: 24px; margin: 45px auto; padding: 24px; max-width: 1080px; border-top: 1px solid #333; }
.project-nav a:last-child { text-align: right; }
.project-pager { display: flex; align-items: center; gap: 16px; width: min(1080px, calc(100% - 48px)); margin: 45px auto; padding-top: 24px; border-top: 1px solid #333; }
.project-pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 12px 28px; border: 1px solid var(--color-text); border-radius: 999px; color: var(--color-text); font-size: 13px; letter-spacing: .15em; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.project-pager__link:hover { background: var(--color-text); color: #000; }
.project-pager__next { width: 44px; height: 44px; min-width: 44px; margin-left: auto; padding: 0; }
.project-pager__next svg { display: block; width: 20px; height: 20px; transition: transform .25s ease; }
.project-pager__next:hover svg, .project-pager__next:focus-visible svg { transform: translateX(3px); }
.project-pager__contacts { display: flex; align-items: center; gap: 12px; }
.project-pager__contact { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; overflow: hidden; border: 1px solid var(--color-text); border-radius: 999px; color: var(--color-text); line-height: 1; text-decoration: none; white-space: nowrap; transition: width .25s ease, background-color .25s ease, color .25s ease; }
.project-pager__contact:is(:hover, :focus-visible) { background: var(--color-text); color: #000; }
.project-pager__contact--linkedin svg { position: relative; top: -1px; display: block; width: 26px; height: 26px; }
.project-pager__contact--email { justify-content: flex-start; gap: 6px; padding-left: 5px; }
.project-pager__contact--email:is(:hover, :focus-visible) { width: 230px; }
.project-pager__contact--email > span:first-child { display: grid; place-items: center; flex: 0 0 32px; }
.project-pager__contact--email svg { display: block; width: 27px; height: 27px; }
.project-pager__email-address { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.project-pager__contact--phone { justify-content: flex-start; gap: 9px; padding-left: 9px; }
.project-pager__contact--phone:is(:hover, :focus-visible) { width: 152px; }
.project-pager__phone-icon { flex: 0 0 24px; }
.project-pager__phone-icon svg { display: block; width: 26px; height: 26px; margin-left: -1px; }
.project-pager__phone-number { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.about { max-width: 700px; }
.about>figure { max-width: 350px; margin: 30px auto; }
.contact,.marquee { text-align: center; }
.contact a { display: inline-block; padding: 10px 26px; border: 1px solid currentColor; border-radius: 5px; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--color-text); }
.skip { position: absolute; left: 10px; top: -80px; background: #000; padding: 10px; z-index: 10; }
.skip:focus { top: 10px; }
.not-found { text-align: center; padding: 80px 20px; }
@media(max-width:640px) {
 .project-video-grid { grid-template-columns: 1fr; }
 .project-video-grid--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
 header { padding: 12px 20px; min-height: 80px; }
 .logo-name { font-size: 13px; letter-spacing: .1em; }
 .logo-role { font-size: 9px; letter-spacing: .06em; }
 .intro { padding: 16px 20px 32px; }
 .intro h1 { font-size: 20px; letter-spacing: .18em; }
 .intro p { font-size: 14px; letter-spacing: .1em; max-width: 310px; margin: auto; }
 .work-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 16px 24px; }
 .project-card { height: max(170px, calc((100vw - 32px) / 1.2 - 150px)); }
 .project-card h2 { max-width: 86%; padding: 22px; }
 .project-body { width: calc(100% - 32px); margin-top: 10px; }
 .project-page .project-body { margin-top: 0; }
 .project-hero { height: max(440px, 78vh); }
 .project-hero__text { bottom: 35px; }
 .project-hero--wide { display: flex; flex-direction: column; height: auto; aspect-ratio: auto; }
 .project-hero--wide > img { position: relative; height: auto; aspect-ratio: 2048 / 648; object-fit: contain; }
 .project-hero--wide::after { bottom: auto; height: 31.64vw; background: linear-gradient(#0009, transparent); }
 .project-hero--wide .project-hero__text { position: relative; left: auto; bottom: auto; width: 100%; padding: 24px 16px 28px; transform: translateY(var(--project-hero-shift, 0px)); }
 .project-hero--wide .project-hero__text h1 { font-size: 24px; white-space: normal; }
 .project-hero--wide .project-hero__text p { font-size: 10px; white-space: normal; }
 .project-hero--original { display: flex; flex-direction: column; height: auto; aspect-ratio: auto; }
 .project-hero--original > img { position: relative; height: auto; aspect-ratio: var(--project-hero-ratio, 16 / 9); object-fit: contain; }
 .project-hero--original::after { bottom: auto; height: auto; aspect-ratio: var(--project-hero-ratio, 16 / 9); background: linear-gradient(#0009, transparent); }
 .project-hero--original .project-hero__text { position: relative; left: auto; bottom: auto; width: 100%; padding: 24px 16px 28px; transform: translateY(var(--project-hero-shift, 0px)); }
 .project-hero--original .project-hero__text h1 { font-size: 24px; white-space: normal; }
 .project-hero--original .project-hero__text p { font-size: 10px; white-space: normal; }
 .project-pager { width: calc(100% - 32px); }
 .project-nav { flex-direction: column; }
 .project-nav a:last-child { text-align: left; }
}
@media(max-width:420px) {
 .logo-role { max-width: 180px; white-space: normal; line-height: 1.15; }
}
@media(hover:none) {
 .project-card h2 { opacity: 1; filter: none; }
}
@media(prefers-reduced-motion: reduce) {
 * { scroll-behavior: auto!important; }
 .project-live-link, .project-live-link__arrow { transition: none; }
 .gallery-controls .gallery-button, .gallery-button__arrow { transition: none; }
}
.audio { text-align: center; }
audio { max-width: 100%; width: 100%; margin-top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.copy .section-heading { font-size: clamp(24px,3vw,36px); line-height: 1.35; }
