:root{color-scheme:dark;--bg:#09080d;--surface:#121018;--text:#f5f2f7;--muted:#a5a0ae;--purple:#a78bfa;--accent:#7840db;--line:#27232e;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #c0a5ff;outline-offset:4px}[hidden]{display:none!important}svg{width:20px;height:20px;flex-shrink:0}img{max-width:100%}h1,h2,h3,p{margin:0}h2{font-size:clamp(25px,3vw,38px);line-height:1.18;letter-spacing:-.035em}h3{font-size:20px;letter-spacing:-.025em}p{color:var(--muted)}.wrap,.nav-wrap{width:min(var(--max),calc(100% - 64px));margin:auto}.header{position:sticky;top:0;z-index:10;background:#09080deF;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.nav-wrap{height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:19px;letter-spacing:-1px;font-weight:800}.brand img{width:40px;height:40px;object-fit:contain}.brand-accent{color:#aa87ed;font-weight:500}nav{display:flex;gap:8px;align-items:center}nav a{display:flex;gap:7px;align-items:center;padding:10px 13px;color:#b2adbb;font-size:14px;border-radius:7px;transition:background .2s,color .2s}nav a svg{width:16px;height:16px}nav a:hover,nav a.active{color:white;background:#21182f}nav a.active svg{color:#b498ff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 20px;min-height:46px;border:1px solid transparent;border-radius:7px;font-weight:600;font-size:14px;line-height:1.35;transition:transform .22s,background .22s,border-color .22s;white-space:normal}.btn svg{width:17px;height:17px}.btn:hover{transform:translateY(-2px)}.primary{background:#7337d1;color:#fff;border-color:#8a4deb;box-shadow:0 5px 24px #4a1e8c35}.primary:hover{background:#8749e9}.secondary{background:#14111b;color:#eee9f6;border-color:#38313f}.secondary:hover{border-color:#9870dc}.iconbtn{background:#181320;color:white;border:1px solid var(--line);border-radius:7px;padding:8px 12px}.mobile{display:none}.hero{position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #2a2038;background:radial-gradient(ellipse at 50% 96%,#321653 0%,#170d26 34%,#0b0910 72%);min-height:510px}.hero-grid{position:absolute;inset:0;z-index:-1;opacity:.2;background-image:linear-gradient(#8c5cba30 1px,transparent 1px),linear-gradient(90deg,#8c5cba30 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(transparent 5%,#000 100%)}.beam{position:absolute;z-index:-1;width:750px;height:750px;border:1px solid #9865c52c;border-radius:50%;pointer-events:none;animation:drift 14s ease-in-out infinite alternate}.beam-one{left:calc(50% - 375px);top:290px;box-shadow:0 -18px 100px #7840db22,inset 0 0 90px #7131a92a}.beam-two{width:990px;height:990px;left:calc(50% - 495px);top:250px;animation-delay:-5s}.hero-inner{position:relative;text-align:center;padding:87px 0 92px}.hero-tag,.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:650;color:#b49cdb}.hero-tag{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid #493061;border-radius:30px;background:#160f20}.hero-tag span{width:7px;height:7px;border-radius:50%;background:#b084ff;box-shadow:0 0 12px #a979ff}.hero h1{font-size:clamp(42px,5.5vw,72px);font-weight:660;line-height:1.09;letter-spacing:-.055em;margin:24px 0 18px}.hero h1 em{font-style:normal;color:#be9dfb}.hero p{max-width:530px;margin:0 auto;font-size:17px;line-height:1.7;color:#b9afc6}.actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:29px}.hero-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #372744;padding:15px 0;color:#93849f;font-size:10px;letter-spacing:.12em}.hero-bottom a{color:#d5c1ed;display:flex;align-items:center;gap:9px}.hero-bottom a span{animation:bob 2s ease-in-out infinite}.home-services{padding:68px 0 54px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:27px}.section-heading .eyebrow{margin-bottom:9px}.section-heading p{max-width:340px;font-size:14px}.service-list{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service{display:flex;gap:14px;padding:25px 20px 25px 0;align-items:flex-start;transition:background .25s}.service+.service{border-left:1px solid var(--line);padding-left:22px}.service:hover{background:#15101e}.service-icon{width:43px;height:43px;background:#21162e;color:#bda0f9;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.service-icon svg{width:23px;height:23px}.service h3{font-size:16px;margin-bottom:3px}.service p{font-size:13px}.service>svg{margin-left:auto;width:15px;color:#a994ca}.all-link{display:inline-flex;gap:9px;align-items:center;color:#c3a9f8;font-weight:600;font-size:14px;margin-top:20px}.all-link svg{width:17px}.all-link:hover{color:#eee0ff}.home-about{display:flex;justify-content:space-between;align-items:center;gap:36px;padding:40px 0 65px;border-top:1px solid var(--line)}.home-about h2{margin:8px 0 12px}.home-about p{max-width:520px}.profile-mini{display:flex;align-items:center;gap:15px}.profile-mini img{width:76px;height:76px;object-fit:cover;object-position:50% 35%;border-radius:50%;border:2px solid #68459a}.profile-mini strong,.profile-mini span{display:block}.profile-mini strong{font-size:17px}.profile-mini span{font-size:13px;color:var(--muted)}.featured-section{padding:20px 0 55px}.inner{padding:54px 0 90px;min-height:70vh}.page-title{font-size:clamp(36px,4.2vw,58px);font-weight:650;letter-spacing:-.055em;line-height:1.12;margin:9px 0 14px}.page-title span,.page-title em{color:#b18af5;font-style:normal}.lead{font-size:16px;max-width:620px}.breadcrumb{display:flex;gap:10px;color:#a49aac;font-size:13px;margin-bottom:31px}.breadcrumb a:hover{color:white}.portfolio-heading{margin-bottom:34px}.category-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category-tile{overflow:hidden;position:relative;border:1px solid #30263a;border-radius:12px;background:#121017;min-width:0;transition:transform .3s,border-color .3s;display:block}.category-tile:hover{transform:translateY(-4px);border-color:#8855cd}.category-art{height:135px;position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#543179 0%,#251633 50%,#17101f 100%)}.category-art:before,.category-art:after{content:'';position:absolute;z-index:-1;width:220px;height:220px;border:1px solid #c9a2ff20;transform:rotate(35deg);border-radius:32px;transition:transform .6s}.category-art:after{width:160px;height:160px;transform:rotate(-20deg)}.category-tile:hover .category-art:before{transform:rotate(50deg) scale(1.1)}.category-tile:hover .category-art:after{transform:rotate(-40deg) scale(1.1)}.category-art svg{width:54px;height:54px;color:#e1caff;filter:drop-shadow(0 7px 18px #9c5deb70);stroke-width:1.2}.category-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.category-tile:nth-child(3n+2) .category-art{background:radial-gradient(ellipse at 55% 80%,#342b65,#211833 55%,#15101d)}.category-tile:nth-child(3n) .category-art{background:radial-gradient(ellipse at 55% 80%,#4f2359,#26132e 55%,#15101d)}.category-info{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;gap:12px}.category-info h3{font-size:16px}.category-info p{font-size:13px;margin-top:2px}.category-info>svg{width:17px;color:#b29ad9}.category-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 25px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.category-nav a{color:#c8a9ff;font-size:14px}.category-nav label{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px}.category-nav select{width:auto;max-width:220px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project{display:block;text-align:left;padding:0;background:#121017;color:var(--text);border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:transform .25s,border-color .25s}.project:hover{transform:translateY(-4px);border-color:#9264d7}.project-img{aspect-ratio:4/3;display:grid;place-items:center;background:#100d15;overflow:hidden}.project-img img{width:100%;height:100%;object-fit:contain;max-width:100%}.project-info{padding:16px;display:grid;gap:3px}.project-info small{color:#b29bd6;font-size:11px}.project-info strong{font-size:16px}.empty{text-align:center;max-width:550px;margin:55px auto 0;padding:20px 0}.empty>svg{width:36px;height:36px;color:#9475c6;margin-bottom:15px}.empty p{margin:9px 0 23px}.about-layout,.contact-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:45px;margin-top:40px}.bio,.contact-box{border:1px solid var(--line);background:#121017;border-radius:12px;padding:28px}.bio h2{font-size:28px;margin-top:28px}.bio p,.contact-box p{margin-top:15px}.about-aside a{display:block;padding:22px 0;border-bottom:1px solid var(--line);color:#c3a2fa}.about-aside b{color:var(--text);font-size:20px}.about-aside p{margin:5px 0 8px}.contact-box .btn{margin-top:25px}.social-list{display:grid;gap:10px;margin-top:20px}.social-list a{padding:14px 16px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:10px}.social-list a:hover{border-color:#9b74d4}.social-list a svg{color:#b995f2}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0;font-size:12px;color:#8e8798}.footer-row .brand{font-size:16px;color:#eee}.footer-row .brand img{width:28px;height:28px}.footer-links{display:flex;gap:16px}footer{border-top:1px solid var(--line)}.footer-links a:hover{color:white}.modal{width:min(580px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid #49345e;border-radius:14px;background:#15101e;color:var(--text);padding:30px;box-shadow:0 25px 80px #000a}.modal::backdrop{background:#000b;backdrop-filter:blur(5px)}.modal[open]{animation:appear .25s ease both}.modal h2{margin:8px 0 10px;font-size:29px}.modal p{margin-bottom:16px}.close{position:absolute;top:12px;right:12px;font-size:20px;padding:3px 11px;z-index:2}.form{display:grid;gap:15px}.form label{display:grid;gap:6px;font-size:13px;font-weight:600}.form input,.form select,.form textarea,.category-nav select{background:#0d0b12;border:1px solid #393140;border-radius:6px;padding:11px;color:#f3eff8;min-width:0}.form textarea{resize:vertical}.form fieldset{border:0;padding:0;margin:0}.form legend{font-size:13px;margin-bottom:8px;font-weight:600}.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.quote-grid label,.form .check{display:flex;align-items:center;gap:8px;font-weight:400;padding:8px;border:1px solid var(--line);border-radius:6px}.form input[type=checkbox]{accent-color:#a579f5}.viewer{width:min(1050px,calc(100% - 30px));padding:20px}.viewer>img{display:block;max-height:65vh;max-width:100%;width:auto;height:auto;object-fit:contain;margin:auto}.view-info{padding:18px 4px 0}.view-info .actions{justify-content:flex-start;margin-top:13px}.admin-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 30px;border-bottom:1px solid var(--line)}.admin-header>span{color:var(--muted)}.admin .panel{padding:24px;background:#15121a;border:1px solid var(--line);border-radius:10px}.admin .panel h2{font-size:22px;margin-bottom:12px}.admin-top{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.admin-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.admin-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-row img{width:56px;height:56px;object-fit:contain}.admin-row .grow{flex:1;min-width:0;overflow-wrap:anywhere}.admin-row small{display:block;color:var(--muted)}.admin-row .btn{padding:8px;min-height:34px;font-size:12px}.settings{margin-top:20px}.enter{animation:appear .42s cubic-bezier(.2,.7,.3,1) both}@keyframes appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes drift{to{transform:translateY(-20px) scale(1.03)}}@keyframes bob{50%{transform:translateY(3px)}}@media(max-width:950px){.nav-wrap{gap:12px}nav a{padding:9px 7px}.brand{font-size:17px}.header-quote{padding:12px}.service-list{grid-template-columns:1fr}.service+.service{border-left:0;border-top:1px solid var(--line);padding-left:0}.category-gallery,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}}@media(max-width:720px){.wrap,.nav-wrap{width:calc(100% - 36px)}.nav-wrap{height:65px}.mobile{display:block;margin-left:auto;order:2}.header-quote{order:1;font-size:11px;min-height:37px;padding:9px}.header-quote svg{display:none}.brand{font-size:16px;gap:5px}.brand img{width:33px;height:33px}nav{display:none;position:absolute;top:65px;left:0;right:0;padding:12px 18px;background:#100c17;border-bottom:1px solid var(--line)}nav.open{display:grid;grid-template-columns:1fr 1fr}nav a{padding:12px}.hero-inner{padding:65px 0 65px}.hero{min-height:0}.hero h1{font-size:clamp(35px,9vw,55px)}.hero p{font-size:15px}.hero-bottom span:last-child{display:none}.hero-bottom a span{display:inline}.section-heading,.home-about{align-items:flex-start;flex-direction:column;gap:18px}.home-services{padding-top:44px}.inner{padding:34px 0 60px}.category-gallery{gap:10px}.category-art{height:100px}.category-art svg{width:38px;height:38px}.category-info{padding:12px}.category-info h3{font-size:14px}.category-info p{font-size:11px}.category-info>svg{width:14px}.category-nav{align-items:flex-start;flex-direction:column}.category-nav label{flex-wrap:wrap}.about-layout,.contact-layout{grid-template-columns:1fr;gap:22px}.footer-row{flex-wrap:wrap;justify-content:flex-start}.footer-row .brand{flex-basis:100%}.modal{padding:23px}.quote-grid{grid-template-columns:1fr}.admin-header{padding:12px}.admin-header>span{display:none}.admin-row{flex-wrap:wrap}}@media(max-width:370px){.header-quote{font-size:10px}.brand{font-size:14px}.category-gallery,.project-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* V4: clean public-facing portfolio */
:root{--bg:#0b0a0e;--surface:#141218;--text:#f7f5fa;--muted:#aaa5b2;--purple:#b69ae8;--line:#28242f;--max:1140px}body{background:var(--bg)}.header{background:#0b0a0ef5;border-color:#211e26}.nav-wrap{height:76px}.brand{font-size:17px;letter-spacing:-.4px;gap:8px}.brand img{width:38px;height:38px}.brand-accent{color:inherit;font-weight:800;margin-left:-4px}nav{gap:4px}nav a{border-radius:5px;padding:9px 12px}nav a.active,nav a:hover{background:transparent;color:#c4a6ff}nav a.active{box-shadow:inset 0 -2px #a278f1}.btn{border-radius:8px;min-height:46px}.primary{background:#713ac7;border-color:#713ac7;box-shadow:none}.primary:hover{background:#854cde}.secondary{background:transparent;border-color:#42374e}.home-intro{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 120%,#2b1544 0%,#140f20 43%,#0b0a0e 85%);border-bottom:1px solid #211b2a}.intro-content{text-align:center;padding:84px 0 77px}.intro-content h1{font-size:clamp(38px,5.1vw,65px);line-height:1.12;font-weight:650;letter-spacing:-.045em;margin:0 0 18px;animation:slide-in .65s both}.intro-content h1 em{font-style:normal;color:#b494f2}.intro-content p{font-size:17px;max-width:550px;margin:auto;animation:slide-in .65s .1s both}.intro-content .actions{animation:slide-in .65s .2s both;margin-top:24px}.selected{padding:43px 0 58px;min-height:320px}.section-heading{margin-bottom:22px}.section-heading h2{font-size:28px;letter-spacing:-.025em}.section-heading p{font-size:14px;margin-top:6px}.more-row{display:flex;justify-content:center;margin-top:26px}.simple-inner{min-height:calc(100vh - 160px);padding:50px 0 75px}.simple-inner .page-title{font-size:clamp(30px,3.5vw,44px);letter-spacing:-.035em;margin:0 0 8px}.page-lead{font-size:16px;margin-bottom:24px}.filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:25px 0 27px;padding:0 0 17px;border-bottom:1px solid var(--line)}.filter-btn{display:flex;align-items:center;gap:6px;flex:none;white-space:nowrap;background:transparent;color:#b8b1c2;border:1px solid transparent;border-radius:7px;font-size:13px;padding:9px 10px;transition:background .2s,color .2s}.filter-btn svg{width:16px;height:16px}.filter-btn:hover{background:#1c1527;color:white}.filter-btn.selected-filter{background:#302044;color:#e0ccff;border-color:#594078}.project-grid{gap:18px}.project{border:0;border-radius:9px;background:#131017;overflow:hidden;box-shadow:0 0 0 1px #28222e;min-width:0}.project:hover{box-shadow:0 0 0 1px #9661e9;transform:translateY(-3px)}.project-img{aspect-ratio:4/3;background:#17131e}.project-img img{width:100%;height:100%;object-fit:contain}.project-info{padding:12px 15px 15px}.project-info strong{font-size:15px;font-weight:600}.quiet-empty{padding:40px 0;text-align:center;font-size:14px;color:#aaa4b1}.profile-block{display:flex;gap:20px;align-items:center;margin:28px 0 24px}.profile-block img{width:100px;height:100px;object-fit:cover;object-position:50% 35%;border-radius:50%;border:2px solid #7655a0}.profile-block h2{font-size:23px}.profile-block p{font-size:14px;margin-top:4px}.bio-copy{max-width:640px}.bio-copy p{margin-bottom:15px}.bio-copy button{margin-top:10px}.social-list{max-width:440px}.contact-quote{margin-top:23px}.footer-row{padding:18px 0;gap:15px;font-size:12px}.footer-row .brand{font-size:15px}.footer-row .brand img{width:28px;height:28px}@keyframes slide-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:750px){.wrap,.nav-wrap{width:calc(100% - 36px)}.nav-wrap{height:65px}.intro-content{padding:56px 0 50px}.intro-content h1{font-size:clamp(32px,8vw,49px)}.intro-content p{font-size:15px}.selected{padding:30px 0 43px}.section-heading h2{font-size:24px}.simple-inner{padding:31px 0 53px}.filter-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:12px;gap:5px; margin-top:20px}.filter-btn{padding:9px 10px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-info{padding:10px}.project-info strong{font-size:13px}.footer-row{justify-content:space-between}.footer-row .brand{flex-basis:auto}.profile-block img{width:76px;height:76px}.profile-block h2{font-size:20px}}@media(max-width:390px){.project-grid{grid-template-columns:1fr}.intro-content .actions{gap:8px}.intro-content .actions .btn{padding:11px 13px;font-size:13px}}@media(prefers-reduced-motion:reduce){.intro-content h1,.intro-content p,.intro-content .actions{animation:none}}
.brand-accent{margin-left:0}.project-img{position:relative}.project-img img{position:absolute;inset:0;object-fit:contain;display:block}.intro-content{padding:67px 0 64px}.filter-btn:focus:not(:focus-visible){outline:none}@media(max-width:750px){.intro-content{padding:48px 0 46px}.filter-bar{flex-wrap:wrap;overflow:visible;gap:5px}.filter-btn{padding:7px 8px;font-size:12px}.filter-btn svg{width:14px;height:14px}}

/* V4.1 — apenas Sobre mim e Contato */
.centered-page{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:880px;margin-inline:auto;padding:62px 0 68px;min-height:calc(100vh - 160px)}
.centered-page .page-title{margin-bottom:12px}
.about-page .profile-block{flex-direction:column;gap:12px;margin:18px 0 25px}
.about-page .profile-block img{width:96px;height:96px;border:2px solid #8054c4;box-shadow:0 0 0 5px #8254c412}
.about-page .profile-block h2{font-size:25px;letter-spacing:-.025em}
.about-page .profile-block p{margin:4px 0 7px;color:#b8b1c1}
.founder-label{display:inline-block;color:#c0a0f3;font-size:13px;font-weight:600}
.about-page .bio-copy{max-width:680px;margin:0 auto;line-height:1.75}
.about-page .bio-copy p{font-size:15px;margin:0 0 14px;color:#b8b1c1}
.bio-goal{border-top:1px solid var(--line);padding-top:21px;margin:23px auto 0}
.bio-goal h3{font-size:18px;margin:0 0 9px;letter-spacing:-.02em;color:#f2edf7}
.about-page .bio-copy .btn{margin-top:9px}
.contact-page .page-lead{max-width:480px;margin:0 auto 24px;line-height:1.65}
.contact-page .social-list{width:100%;max-width:620px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0 auto}
.contact-page .social-list a{flex:1 1 175px;max-width:300px;min-height:70px;justify-content:center;background:#17121d;transition:background .2s,border-color .2s,transform .2s}
.contact-page .social-list a:hover{background:#23182f;transform:translateY(-2px)}
.contact-page .social-list a svg{width:21px;height:21px;flex:none}
.contact-next{width:100%;max-width:620px;margin-top:34px;padding-top:29px;border-top:1px solid var(--line)}
.contact-next h2{font-size:22px;letter-spacing:-.025em;margin:0 0 8px}
.contact-next p{max-width:450px;margin:0 auto;line-height:1.65;font-size:15px}
.contact-next .contact-quote{margin-top:20px}
@media(max-width:750px){.centered-page{padding:37px 0 50px;justify-content:flex-start;min-height:calc(100svh - 160px)}.about-page .profile-block img{width:82px;height:82px}.about-page .profile-block h2{font-size:22px}.about-page .bio-copy p{font-size:14px;line-height:1.7}.contact-page .social-list a{flex:1 1 100%;max-width:100%;min-height:56px}.contact-next{margin-top:26px;padding-top:24px}.contact-next h2{font-size:20px}.contact-page .page-lead{font-size:15px}}
@media(prefers-reduced-motion:reduce){.contact-page .social-list a{transition:none}}

/* V4.4 — fundos transparentes, sem cortar a arte. */
.project-img{background:transparent;overflow:hidden;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}.project-img img,#view-image{background:transparent!important;box-shadow:none;object-fit:contain}.viewer>img{border-radius:10px}

/* V4.9: grade pública compacta e uniforme, para todas as categorias. */
#featured.project-grid,#gallery.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;justify-content:start;grid-auto-rows:1fr}
#featured .project,#gallery .project{display:flex;flex-direction:column;width:100%;max-width:none;min-width:0;align-self:stretch;justify-self:stretch;overflow:hidden}
#featured .project-img,#gallery .project-img{width:100%;height:176px;aspect-ratio:auto;flex:none;background:transparent}
#featured .project-img img,#gallery .project-img img{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:contain;background:transparent}
#featured .project-logo .project-img img,#gallery .project-logo .project-img img{inset:13px;width:calc(100% - 26px);height:calc(100% - 26px)}
#featured .project-info,#gallery .project-info{width:100%;flex:1;display:flex;flex-direction:column;gap:5px;padding:10px 12px 12px;min-width:0;overflow-wrap:anywhere}
#featured .project-info small,#gallery .project-info small{font-size:11px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#featured .project-info strong,#gallery .project-info strong{font-size:14px;line-height:19px;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1000px){#featured.project-grid,#gallery.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){#featured.project-grid,#gallery.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#featured .project-img,#gallery .project-img{height:clamp(104px,34vw,160px)}#featured .project-info,#gallery .project-info{padding:9px 10px 11px}#featured .project-info strong,#gallery .project-info strong{font-size:13px;line-height:18px;min-height:36px}}

/* V4.6 — abertura expandida, apenas na página inicial */
.home-intro{isolation:isolate;display:grid;place-items:center;min-height:clamp(560px,74vh,720px);background:radial-gradient(ellipse at 50% 100%,#35204f 0%,#1b1129 32%,#100c18 62%,#0b0a0e 100%);position:relative;overflow:hidden}
.home-intro .intro-content{position:relative;z-index:2;padding:102px 0 112px;max-width:850px;width:calc(100% - 52px)}
.intro-content h1{font-size:clamp(40px,5.3vw,76px);line-height:1.08;letter-spacing:-.052em;margin:22px 0 24px;font-weight:680}
.intro-content h1 em{color:#b99af5}
.intro-content p{max-width:560px;font-size:18px;line-height:1.65;color:#c1b8cd}
.intro-content .actions{margin-top:32px}
.intro-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.19em;font-weight:650;color:#bb9bea;animation:slide-in .65s both}
.intro-kicker span{width:6px;height:6px;border-radius:50%;background:#b28af7;box-shadow:0 0 14px #9b59ff}
.intro-decor{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.intro-grid{position:absolute;inset:0;background-image:linear-gradient(#bb92f30c 1px,transparent 1px),linear-gradient(90deg,#bb92f30c 1px,transparent 1px);background-size:75px 75px;mask-image:radial-gradient(ellipse at 50% 90%,#000,transparent 73%)}
.intro-orbit{position:absolute;left:50%;top:80%;width:980px;height:500px;border:1px solid #9e70d21c;border-radius:50%;transform:translate(-50%,-50%) rotate(-15deg)}
.orbit-b{width:1250px;height:640px;transform:translate(-50%,-50%) rotate(14deg);border-color:#9e70d212}
.intro-float{position:absolute;display:grid;place-items:center;width:66px;height:66px;border:1px solid #a57add40;border-radius:17px;color:#bfa1ef;background:linear-gradient(140deg,#302043d9,#17101e91);box-shadow:0 14px 40px #08050e66,inset 0 1px #d6b5ff15;animation:intro-hover var(--dur,8s) ease-in-out infinite;opacity:.82}
.intro-float svg{width:29px;height:29px}
.float-pen{left:12%;top:23%;--tilt:-13deg;--dur:8s}
.float-code{right:12%;top:20%;--tilt:12deg;--dur:9s;animation-delay:-2s}
.float-layers{left:20%;bottom:15%;--tilt:10deg;--dur:10s;animation-delay:-4s;width:54px;height:54px;opacity:.6}
.float-cursor{right:20%;bottom:13%;--tilt:-12deg;--dur:8.5s;animation-delay:-5s;width:54px;height:54px;opacity:.6}
.float-layers svg,.float-cursor svg{width:24px;height:24px}
.intro-spark{position:absolute;color:#b69af0;font-size:19px;opacity:.5;animation:intro-twinkle 5s ease-in-out infinite}
.spark-one{top:16%;left:26%}.spark-two{right:8%;bottom:24%;animation-delay:-2s}.spark-three{left:9%;bottom:29%;font-size:38px;animation-delay:-3s}
.intro-scroll{position:absolute;z-index:3;bottom:24px;left:50%;transform:translateX(-50%);border:1px solid #b290e640;border-radius:50%;display:grid;place-items:center;width:38px;height:38px;color:#bca5e7;background:#150f1e70;transition:background .2s,color .2s}
.intro-scroll:hover{background:#3b255a;color:white}.intro-scroll svg{width:17px;height:17px;animation:intro-arrow 2.8s ease-in-out infinite}
@keyframes intro-hover{0%,100%{transform:translateY(0) rotate(var(--tilt))}50%{transform:translateY(-20px) rotate(calc(var(--tilt) + 5deg))}}
@keyframes intro-twinkle{0%,100%{opacity:.27;transform:scale(.85)}50%{opacity:.75;transform:scale(1.15)}}
@keyframes intro-arrow{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
@media(max-width:1200px){.float-pen{left:5%;top:19%}.float-code{right:5%;top:18%}.float-layers{left:10%;bottom:12%}.float-cursor{right:10%;bottom:12%}}
@media(max-width:900px){.home-intro .intro-content{max-width:650px;padding:115px 0 125px}.float-pen,.float-code{top:8%;width:47px;height:47px}.float-pen svg,.float-code svg{width:23px;height:23px}.float-layers,.float-cursor{bottom:8%;width:44px;height:44px}.spark-one{top:10%}}
@media(max-width:750px){.home-intro{min-height:clamp(510px,72svh,620px)}.home-intro .intro-content{width:calc(100% - 36px);padding:105px 0 106px}.intro-content h1{font-size:clamp(32px,7.9vw,49px);line-height:1.13;margin:16px 0 20px}.intro-content p{font-size:15px;max-width:340px}.intro-content .actions{margin-top:25px}.intro-kicker{font-size:10px}.float-pen{left:9%;top:6%}.float-code{right:9%;top:7%}.float-layers{left:9%;bottom:7%}.float-cursor{right:9%;bottom:7%}.intro-float{opacity:.55}.intro-spark{display:none}.intro-orbit{width:650px;height:350px}.orbit-b{width:800px;height:420px}.intro-scroll{bottom:21px;width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.intro-float,.intro-spark,.intro-scroll svg,.intro-kicker{animation:none!important}}

#featured-section{scroll-margin-top:90px}

/* V4.8 — relâmpago e rasgo diagonal */
.lightning-transition{position:fixed;inset:0;z-index:9999;pointer-events:none;overflow:hidden;isolation:isolate}
.lightning-transition>svg{display:block;width:100%;height:100%;overflow:hidden}
.tear-half{opacity:0;animation:tear-cover .13s .10s ease-out forwards;will-change:transform}
.tear-edge{stroke:#a74bff;stroke-width:3;filter:drop-shadow(0 0 8px #a83dff) drop-shadow(0 0 18px #7f20ec);opacity:.9;vector-effect:non-scaling-stroke}
.tear-arc path{stroke-dasharray:1;stroke-dashoffset:1;animation:tear-draw .17s cubic-bezier(.22,.7,.4,1) forwards;vector-effect:non-scaling-stroke}
.tear-halo{stroke:#8b2cff;stroke-width:26;filter:blur(12px);opacity:.58}
.tear-violet{stroke:#ae45ff;stroke-width:8;filter:drop-shadow(0 0 9px #a83dff) drop-shadow(0 0 22px #8c35ff)}
.tear-core{stroke:#ead0ff;stroke-width:2.3;filter:drop-shadow(0 0 4px #d9a1ff)}
.tear-branch{stroke:#bd7aff;stroke-width:1.6;filter:drop-shadow(0 0 5px #982fff);opacity:.7;animation-delay:.055s!important;animation-duration:.16s!important}
.lightning-transition.tear-open .tear-left{animation:tear-left .42s cubic-bezier(.5,.04,.22,1) forwards}
.lightning-transition.tear-open .tear-right{animation:tear-right .42s cubic-bezier(.5,.04,.22,1) forwards}
.lightning-transition.tear-open .tear-arc{animation:tear-fade .20s ease-out forwards}
@keyframes tear-draw{to{stroke-dashoffset:0}}
@keyframes tear-cover{to{opacity:1}}
@keyframes tear-left{from{opacity:1;transform:translateX(0)}to{opacity:1;transform:translateX(-105vw)}}
@keyframes tear-right{from{opacity:1;transform:translateX(0)}to{opacity:1;transform:translateX(105vw)}}
@keyframes tear-fade{to{opacity:0}}
.modal[open]{animation:tech-dialog .38s cubic-bezier(.2,.8,.2,1) both}
@keyframes tech-dialog{from{opacity:0;transform:translateY(12px) scale(.96);box-shadow:0 0 0 1px #bf89ff,0 0 42px #8f39ef70;clip-path:inset(0 0 65% 0 round 14px)}to{opacity:1;transform:translateY(0) scale(1);box-shadow:0 25px 80px #000a;clip-path:inset(0 0 0 0 round 14px)}}
@media(prefers-reduced-motion:reduce){.lightning-transition{display:none}.modal[open]{animation:none!important}}
