@font-face{font-family:Outfit;src:url('/fonts/outfit-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Outfit;src:url('/fonts/outfit-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Outfit;src:url('/fonts/outfit-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Figtree;src:url('/fonts/figtree-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Figtree;src:url('/fonts/figtree-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Figtree;src:url('/fonts/figtree-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--yellow:#F4B719;--yellow-hover:#DFA30D;--black:#161616;--raised:#1B1B1B;--white:#F2F2F2;--muted:#A1A09E;--border:rgba(242,242,242,.1);--display:Outfit,system-ui,sans-serif;--body:Figtree,system-ui,sans-serif;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--black);color:var(--white);font-family:var(--body);font-size:16px;-webkit-font-smoothing:antialiased}
body.locked{overflow:hidden}
[hidden]{display:none!important}
::selection{background:var(--yellow);color:var(--black)}
a{color:inherit;text-decoration:none;transition:color .18s ease}
a:hover{color:var(--yellow)}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:5px}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:500}
h2{font-size:clamp(36px,4.6vw,64px);line-height:1.04;letter-spacing:-.03em;text-wrap:balance}
.container{width:min(1280px,100%);padding-inline:clamp(20px,4vw,48px);margin-inline:auto}
.section{padding-block:clamp(88px,10.8vw,148px)}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--muted);line-height:1.6}
.yellow{color:var(--yellow)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:14px 25px;border-radius:999px;font-size:14px;font-weight:500;line-height:1.2;border:1px solid transparent;transition:background .18s,border-color .18s,transform .2s,color .18s;white-space:nowrap}
.button:hover{transform:translateY(-2px)}
.button-yellow{background:var(--yellow);color:var(--black);font-weight:600}
.button-yellow:hover{background:var(--yellow-hover);color:var(--black)}
.button-outline{background:transparent;border-color:#686765;color:var(--white)}
.button-outline:hover{border-color:var(--yellow);color:var(--white)}
.button span{font-size:18px;line-height:1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:12px;left:20px;z-index:200;background:var(--yellow);color:var(--black);padding:12px 20px;border-radius:4px;transform:translateY(-160%)}
.skip-link:focus{transform:none;color:var(--black)}
/* A identidade aparece antes da página, como na referência. */
.intro{position:fixed;inset:0;z-index:100;background:var(--black);display:grid;place-items:center;cursor:pointer;transition:transform 850ms cubic-bezier(.76,0,.24,1)}
.intro.dismissed{transform:translateY(-100%);pointer-events:none}
.intro-wordmark{width:clamp(200px,24vw,300px);overflow:hidden}
.intro-wordmark img{width:100%;animation:logo-reveal 1.1s var(--ease) both}
.intro-caption,.intro-agency{position:absolute;bottom:28px;left:48px;font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:var(--muted);animation:fade 1s .5s both}
.intro-agency{left:auto;right:48px}
.intro-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--yellow);transform-origin:left;animation:bar 1.8s cubic-bezier(.65,0,.35,1) both}
.header{position:fixed;top:0;left:0;right:0;z-index:30;background:rgba(22,22,22,.84);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(242,242,242,.06)}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:84px}
.desktop-nav{display:flex;gap:clamp(18px,2.5vw,34px)}
.desktop-nav a{font-size:14px;color:#BABABA;padding-block:12px}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--white)}
.desktop-nav a.active{box-shadow:0 2px var(--yellow)}
.header-logo img{height:35px;width:auto}
.header-contact{justify-self:end;min-height:40px;padding:10px 18px}
.header-contact .arrow{color:var(--yellow)}
.menu-toggle{display:none;border:1px solid var(--border);border-radius:50%;width:44px;height:44px;background:transparent;padding:0;align-content:center;justify-items:center;gap:6px}
.menu-toggle span{height:2px;width:18px;background:var(--white);transition:transform .22s}
.menu-toggle span:last-child{background:var(--yellow)}
.menu-toggle[aria-expanded='true'] span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-toggle[aria-expanded='true'] span:last-child{transform:translateY(-4px) rotate(-45deg)}
.mobile-menu{height:calc(100dvh - 72px);padding:24px 20px 28px;background:var(--black);display:flex;flex-direction:column;gap:0;overflow:auto}
.mobile-menu>a:not(.button){display:flex;justify-content:space-between;align-items:center;min-height:48px;padding-block:12px;font-family:var(--display);font-size:20px;line-height:1.3;letter-spacing:-.01em;border-bottom:1px solid var(--border)}
.mobile-menu>a>span{color:var(--muted);font-size:13px;letter-spacing:0}
.mobile-menu .button{margin-top:auto;margin-bottom:24px}
.mobile-menu .eyebrow{text-align:center}
.hero{position:relative;min-height:100svh;min-height:max(780px,100svh);display:grid;place-items:center;padding:152px 24px 128px;background:radial-gradient(ellipse 65% 55% at 50% 38%,#343434 0%,#1B1B1B 58%,#161616 100%);overflow:hidden}
.hero-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center;max-width:980px}
.hero-eyebrow{color:#BABABA}
.hero h1{font-size:clamp(48px,8.4vw,120px);line-height:.98;letter-spacing:-.04em;text-wrap:balance}
.hero-description{font-size:clamp(16px,1.5vw,19px);line-height:1.55;color:#BABABA;max-width:50ch;text-wrap:pretty}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;padding-top:5px}
.hero-art{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1}
.hero-art img{width:min(980px,130vw);max-width:none;opacity:.85;transform:translateY(7vh);animation:float 8s ease-in-out infinite}
.hero-scroll{position:absolute;z-index:3;bottom:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;color:#BABABA;font-size:10px;text-transform:uppercase;letter-spacing:.15em;white-space:nowrap}
.scroll-line{width:35px;height:1px;background:#5c5c5c}
html.intro-pending .hero-content{opacity:0;transform:translateY(22px)}
.hero-content{transition:opacity .7s ease,transform .9s var(--ease)}
.marquee{overflow:hidden;padding-block:28px;border-block:1px solid var(--border)}
.marquee-track{display:flex;width:max-content;animation:marquee 34s linear infinite}
.marquee-group{display:flex;flex-shrink:0}
.marquee-group span{display:inline-flex;align-items:center;gap:clamp(28px,4vw,56px);padding-right:clamp(28px,4vw,56px);font-family:var(--display);font-size:clamp(24px,2.6vw,34px);font-weight:500;letter-spacing:-.02em;white-space:nowrap}
.marquee-group i{width:28px;height:5px;background:var(--yellow)}
.marquee:hover .marquee-track{animation-play-state:paused}
.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:64px}
.section-heading .eyebrow{margin-bottom:18px}
.section-description{max-width:38ch;font-size:17px;line-height:1.6;color:var(--muted);padding-bottom:3px}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.service-card{padding:clamp(28px,3vw,40px);min-height:360px;display:flex;flex-direction:column;gap:22px;background:var(--raised);border:1px solid rgba(242,242,242,.06);border-radius:12px;transition:border-color .2s,transform .2s}
.service-card:hover{border-color:rgba(244,183,25,.5);transform:translateY(-4px)}
.card-top{display:flex;align-items:center;justify-content:space-between;font-family:var(--display);font-size:14px;color:var(--muted)}
.card-top i{height:4px;width:28px;background:var(--yellow)}
.service-card h3{font-size:30px;line-height:1.1;letter-spacing:-.02em}
.service-card>p{font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.service-card ul{margin:auto 0 0;padding:0;list-style:none}
.service-card li{padding:12px 0;border-top:1px solid var(--border);display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.45}
.service-card li:before{content:'';width:14px;height:3px;background:var(--yellow);flex-shrink:0}
.method{background:var(--raised);overflow:hidden}
.method-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,6vw,96px);align-items:center}
.method-content>.eyebrow{margin-bottom:18px}
.method h2{font-size:clamp(48px,5.4vw,76px);line-height:.98;letter-spacing:-.035em}
.steps{list-style:none;padding:0;margin:40px 0 0}
.steps li{display:grid;grid-template-columns:56px 1fr;gap:16px;padding-block:24px;border-top:1px solid var(--border)}
.step-number{color:var(--yellow);font-family:var(--display);font-size:14px;padding-top:4px}
.steps h3{font-size:22px;margin-bottom:6px}
.steps p{color:var(--muted);font-size:15px;line-height:1.55;max-width:44ch}
.method-art{position:relative;aspect-ratio:1;display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,#333 0%,#1B1B1B 64%)}
.method-art img{width:88%;animation:gentle-float 9s ease-in-out infinite}
.method-art span{position:absolute;bottom:16px;left:24px;color:var(--muted);font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.method-art i{position:absolute;width:24px;height:4px;bottom:20px;right:24px;background:var(--yellow)}
.projects-heading{margin-bottom:40px}
.project-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.filter{padding:10px 18px;min-height:42px;border:1px solid rgba(242,242,242,.18);border-radius:999px;background:transparent;color:var(--white);font-size:14px;transition:background .18s,color .18s,border-color .18s}
.filter:hover{border-color:var(--yellow)}
.filter[aria-pressed='true']{background:var(--yellow);border-color:var(--yellow);color:var(--black)}
.filter span{opacity:.6;margin-left:8px;font-size:12px}
.portfolio-note{color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:26px;max-width:70ch}
.gallery{column-count:3;column-gap:16px}
.project-card{position:relative;display:block;break-inside:avoid;margin-bottom:16px;border-radius:12px;overflow:hidden;background:var(--raised);aspect-ratio:var(--ratio,1);width:100%;border:1px solid var(--border)}
.project-card.video-available{cursor:pointer}
.project-card.video-available:hover{border-color:rgba(244,183,25,.65)}
.project-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.project-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px 24px 90px;background:radial-gradient(ellipse at 40% 25%,#2a2a2a,var(--raised) 75%)}
.project-placeholder:before{content:'';width:calc(100% - 40px);height:calc(100% - 40px);position:absolute;inset:20px;border:1px solid rgba(242,242,242,.035);border-radius:6px;pointer-events:none}
.project-index{font-family:var(--display);font-size:clamp(36px,5vw,64px);color:#555452;font-weight:400;line-height:1;letter-spacing:-.04em}
.project-placeholder>p{font-size:11px;color:var(--muted);text-align:center;letter-spacing:.03em;line-height:1.5;max-width:23ch}
.project-placeholder .small-bar{height:3px;width:24px;background:var(--yellow);opacity:.8}
.project-info{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:22px 20px;background:linear-gradient(transparent,rgba(22,22,22,.92));pointer-events:none}
.project-info .eyebrow{font-size:9px;letter-spacing:.2em;color:#BABABA;margin-bottom:5px}
.project-info h3{font-size:22px;letter-spacing:-.02em}
.project-info .play-icon{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--yellow);color:var(--black);font-size:12px}
.project-info .pending-icon{width:26px;height:3px;background:var(--yellow);margin-bottom:12px}
.project-play{position:absolute;inset:0;background:transparent;border:0;border-radius:12px;padding:0}
.project-play:focus-visible{outline-offset:-5px}
.more-projects{display:flex;justify-content:center;margin-top:30px}
.about{background:var(--white);color:var(--black)}
.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,96px)}
.about .eyebrow{color:#686765;margin-bottom:18px}
.brand-line{height:6px;width:72px;background:var(--yellow);margin-top:28px}
.about-copy{display:flex;flex-direction:column;gap:20px;color:#686765;font-size:clamp(17px,1.5vw,20px);line-height:1.6}
.values{display:flex;flex-wrap:wrap;list-style:none;margin:72px 0 0;padding:0;border-top:1px solid #DBDBD7}
.values li{display:flex;align-items:center;gap:12px;flex:1;min-width:185px;padding-block:28px;border-bottom:1px solid #DBDBD7;font-family:var(--display);font-size:22px;font-weight:500}
.values li:before{content:'';height:4px;width:18px;background:var(--yellow)}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,96px);align-items:start}
.contact-copy .eyebrow{margin-bottom:18px}
.contact-copy>p:not(.eyebrow){max-width:42ch;font-size:17px;line-height:1.6;color:var(--muted);margin-top:22px}
.contact-copy>img{width:min(360px,75%);margin-top:26px;opacity:.95}
.contact-card{background:var(--white);color:var(--raised);border-radius:12px;padding:clamp(28px,3.4vw,44px)}
#contact-form{display:flex;flex-direction:column;gap:18px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field label{font-size:13px;font-weight:600}
.field label>span{color:#777}
.field input,.field select,.field textarea{width:100%;color:var(--raised);background:#FFF;border:1px solid #BABABA;border-radius:4px;padding:11px 12px;font-size:14px;outline:none;transition:border-color .15s,box-shadow .15s;min-height:44px}
.field input::placeholder,.field textarea::placeholder{color:#777572;opacity:1}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--black);box-shadow:0 0 0 3px rgba(244,183,25,.4)}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23161616' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:32px}
.field textarea{resize:vertical;min-height:110px;line-height:1.5}
.field [aria-invalid='true']{border-color:#A52A1D}
.field-error{color:#A52A1D;font-size:12px;line-height:1.4}
.field-error:empty{display:none}
.form-button{align-self:flex-start;margin-top:6px}
.form-note{font-size:12px;color:#686765;line-height:1.55;max-width:42ch}
.form-result{padding:18px;border:1px solid #D6C596;border-radius:6px;background:#F4B71912;font-size:14px;line-height:1.55}
.form-result p{margin:6px 0 10px;color:#686765}
.form-result a{color:var(--black);text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:4px;font-weight:600}
.whatsapp-float{position:fixed;right:clamp(16px,3vw,32px);bottom:calc(clamp(16px,3vw,32px) + env(safe-area-inset-bottom));z-index:40;width:60px;height:60px;border-radius:50%;background:var(--yellow);color:var(--black);display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .2s,background .18s}
.whatsapp-float svg{width:28px;height:28px}
.whatsapp-float:hover{background:var(--yellow-hover);color:var(--black);transform:translateY(-3px)}
.footer{border-top:1px solid var(--border);padding:72px 0 40px}
.footer-top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;margin-bottom:64px}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.footer-column .eyebrow{margin-bottom:2px}
.footer-column>a:not(.button){font-size:15px;color:#BABABA}
.footer-column>a:hover{color:var(--white)}
.footer-cta .button{font-size:14px;padding:12px 20px}
.footer-tagline{font-family:var(--display);font-size:26px;line-height:1.2;color:#BABABA;letter-spacing:-.02em;margin-top:14px}
.footer-logo{display:block;width:clamp(140px,18vw,220px);margin-bottom:42px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:12px;padding-right:80px}
.project-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(16px,3vw,32px);background:rgba(10,10,10,.97);color:var(--white);border:0;overflow:hidden}
.project-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px;animation:fade .2s both}
.project-dialog::backdrop{background:#0A0A0A}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.dialog-heading h2{font-size:24px;margin-top:4px}
.dialog-heading .eyebrow{font-size:10px}
.icon-button{width:46px;height:46px;border-radius:50%;border:1px solid rgba(242,242,242,.2);background:transparent;color:var(--white);font-size:22px;display:grid;place-items:center;flex:none}
.icon-button:hover{border-color:var(--yellow);color:var(--yellow)}
.icon-button:disabled{opacity:.35}
.dialog-media{display:flex;align-items:center;justify-content:center;min-height:0;position:relative}
.dialog-media video{max-height:100%;max-width:100%;border-radius:8px;display:block;background:#000}
.dialog-error{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:#161616;color:#BABABA;padding:30px;border-radius:8px}
.dialog-navigation{display:flex;align-items:center;justify-content:center;gap:18px;font-size:13px;color:#BABABA}
.dialog-navigation>span{min-width:60px;text-align:center}
.page-unfocused .marquee-track,.page-unfocused .hero-art img,.page-unfocused .method-art img{animation-play-state:paused}
@keyframes logo-reveal{from{opacity:0;transform:translateY(110%)}to{opacity:1;transform:none}}
@keyframes bar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes float{0%,100%{transform:translateY(7vh)}50%{transform:translateY(calc(7vh - 14px))}}
@keyframes gentle-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes marquee{to{transform:translateX(-50%)}}
@media(min-width:1600px){.hero{min-height:900px}}
@media(max-width:1100px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{gap:32px}.section-description{max-width:30ch}.gallery{column-count:2}.service-card{min-height:350px}.contact-layout{gap:40px}.field-row{grid-template-columns:1fr}.contact-card{padding:30px}.values li{min-width:150px;font-size:20px}}
@media(max-width:859px){.header-inner{display:flex;justify-content:space-between;min-height:72px}.desktop-nav,.header-contact{display:none}.menu-toggle{display:grid}.header-logo img{height:30px}.hero{min-height:max(720px,100svh);padding:140px 20px 110px}.hero h1{font-size:clamp(50px,10vw,84px)}.hero-art img{width:1100px;opacity:.6}.hero-content{gap:24px}.section-heading{display:block;margin-bottom:42px}.section-description{margin-top:24px;max-width:48ch}.projects-heading .button{margin-top:24px}.method-layout{grid-template-columns:1fr;gap:32px}.method-art{max-width:520px;width:100%;margin:auto}.method-content{max-width:600px}.about-layout,.contact-layout{grid-template-columns:1fr;gap:36px}.about-copy{max-width:58ch}.contact-copy>img{display:none}.contact-card{max-width:620px;width:100%}.field-row{grid-template-columns:1fr 1fr}.footer-top{gap:28px}.footer-tagline{font-size:23px}.footer-cta .button{white-space:normal}.intro-caption{left:20px}.intro-agency{right:20px}}
@media(max-width:560px){html{scroll-padding-top:90px}.hero{min-height:max(680px,100svh)}.hero h1{font-size:clamp(44px,12vw,66px);letter-spacing:-.035em}.hero-description{font-size:16px;max-width:31ch}.hero-actions{gap:10px}.hero-actions .button{padding:14px 18px;font-size:13px;min-height:46px}.hero-art img{width:820px;transform:translateY(12vh)}.services-grid{grid-template-columns:1fr}.service-card{min-height:330px;padding:28px}.service-card h3{font-size:29px}.section-heading h2 br{display:none}.method h2{font-size:64px}.steps li{grid-template-columns:40px 1fr;gap:12px}.method-art{aspect-ratio:1.08}.gallery{column-gap:12px}.project-card{margin-bottom:12px;border-radius:8px}.project-placeholder{gap:12px;padding:16px 12px 70px}.project-placeholder:before{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px)}.project-index{font-size:38px}.project-placeholder>p{font-size:10px;max-width:20ch}.project-info{padding:16px 12px;gap:8px}.project-info h3{font-size:17px}.project-info .eyebrow{font-size:8px;letter-spacing:.12em}.project-info .play-icon{width:28px;height:28px;font-size:10px}.project-info .pending-icon{width:16px}.filter{font-size:12px;padding:10px 14px;min-height:42px}.portfolio-note{font-size:12px}.values{margin-top:44px}.values li{min-width:50%;font-size:20px;padding-block:22px}.contact-card{padding:26px 22px}.field-row{grid-template-columns:1fr}.field input,.field select,.field textarea{font-size:16px}.contact-copy h2 br{display:none}.footer-top{grid-template-columns:1fr 1fr;gap:40px 24px}.footer-cta{grid-column:1/-1}.footer-tagline{display:none}.footer{padding-top:52px}.footer-bottom{font-size:11px;max-width:300px;padding-right:0;line-height:1.6}.footer-bottom>a{padding-block:8px}.whatsapp-float{width:54px;height:54px}.whatsapp-float svg{width:26px;height:26px}.intro-agency{display:none}.intro-caption{left:0;right:0;text-align:center;font-size:9px}.project-dialog{padding:16px}.dialog-heading h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.intro{display:none!important}.hero-content{opacity:1!important;transform:none!important}.hero-art img{transform:translateY(7vh)}.marquee-track{transform:none}}

/* Cartões horizontais preservam legibilidade mesmo sem uma mídia cadastrada. */
.project-card[data-format='h'] .project-placeholder{gap:8px;padding-bottom:76px}
.project-card[data-format='h'] .project-index{font-size:30px}
.project-card[data-format='h'] .small-bar{display:none}
@media(max-width:560px){.project-card[data-format='h']{min-height:170px}.project-card[data-format='h'] .project-placeholder{padding-bottom:68px}.project-card[data-format='h'] .project-index{font-size:26px}}

/* Capas reais chegam primeiro; só previews curtos são carregados na galeria. */
.project-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.project-card.video-available video{opacity:0;transition:opacity .2s ease;pointer-events:none}
.project-card.video-available video.preview-ready{opacity:1}
.project-card.video-available .project-info{z-index:2}
.project-play{z-index:3}
.dialog-loading{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);background:rgba(22,22,22,.84);border:1px solid rgba(242,242,242,.15);border-radius:999px;padding:10px 18px;color:#F2F2F2;font-size:12px;white-space:nowrap;pointer-events:none}
.projects.section{padding-block:clamp(72px,8vw,112px)}
@media(prefers-reduced-motion:reduce){.project-card.video-available video{opacity:0!important}}

/* Fotografias preservam a proporção original, sem disputar reprodução com vídeos. */
.photo-count{position:absolute;top:16px;left:16px;z-index:4;padding:7px 11px;background:rgba(22,22,22,.8);border:1px solid rgba(242,242,242,.15);border-radius:999px;font-size:11px;color:var(--white);pointer-events:none}
.photo-media{position:relative;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:0}
.photo-media>img{width:auto;height:auto;max-width:100%;max-height:calc(100% - 42px);object-fit:contain;border-radius:8px;min-height:0}
.photo-media figcaption{font-size:12px;line-height:1.5;color:var(--muted);text-align:center;flex:none}
.photo-footer{display:flex;flex-direction:column;align-items:center;gap:14px}
.photo-thumbnails{display:flex;gap:8px}
.photo-thumbnails button{padding:3px;border:1px solid transparent;border-radius:5px;background:transparent;opacity:.55;transition:opacity .2s,border-color .2s}
.photo-thumbnails button[aria-pressed='true']{border-color:var(--yellow);opacity:1}
.photo-thumbnails button:hover{opacity:1}
.photo-thumbnails img{width:72px;height:48px;object-fit:cover;border-radius:2px}
@media(max-width:560px){.photo-count{top:12px;left:12px;padding:6px 9px;font-size:10px}.photo-dialog[open]{gap:14px}.photo-footer{gap:10px}.photo-media figcaption{font-size:11px}}
