:root{
  --ink:#1a1a1a;--muted:#626262;--line:#e8dfdc;--paper:#fffdfa;--off:#f7f5f3;--peach:#f7ded7;--peach-2:#fff0ec;--beige:#eadbd3;--accent:#d78c7a;--dark:#182026;--white:#fff;
  --radius:22px;--shadow:0 18px 50px rgba(30,24,22,.08);--max:1180px;--base:16px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;font-size:var(--base)}body{margin:0;font-family:Poppins,Arial,Helvetica,sans-serif;background:var(--paper);color:var(--ink);line-height:1.6}img{max-width:100%;display:block}a{color:inherit}button,input,select,textarea{font:inherit}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;background:#000;color:#fff;padding:10px 14px;z-index:9999}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,250,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{height:78px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;margin-right:auto}.brand img{width:260px;max-width:42vw}.nav-links{display:flex;align-items:center;gap:24px;font-size:.9rem}.nav-links a{text-decoration:none}.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--accent)}.nav-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:999px;padding:13px 20px;text-decoration:none;border:1px solid var(--ink);background:transparent;cursor:pointer;transition:.2s ease}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--dark);color:#fff;border-color:var(--dark)}.btn-soft{background:var(--peach-2);border-color:transparent}.icon-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--paper);cursor:pointer}.menu-btn{display:none}.hero{background:linear-gradient(120deg,var(--peach-2),#fff 58%,var(--off));overflow:hidden}.hero-grid{min-height:620px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:46px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;color:var(--accent);font-weight:700}.hero h1,.page-hero h1{font-size:clamp(2.7rem,6vw,5.2rem);line-height:1.02;letter-spacing:-.045em;margin:.25em 0}.hero p.lead,.page-hero p{font-size:1.1rem;color:var(--muted);max-width:680px}.hero-photo{align-self:stretch;position:relative;display:flex;align-items:flex-end;justify-content:center}.hero-photo:before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:var(--peach);right:0;top:65px}.hero-photo img{position:relative;width:82%;max-height:580px;object-fit:cover;object-position:center;border-radius:180px 180px 20px 20px;filter:grayscale(100%);box-shadow:var(--shadow)}.hero-note{position:absolute;right:0;bottom:60px;background:#fff;padding:12px 16px;border-radius:14px;box-shadow:var(--shadow);font-family:Georgia,serif;font-style:italic;transform:rotate(-4deg);color:#444}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stat{padding:24px 20px;text-align:center;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat strong{font-size:1.5rem}.stat span{display:block;color:var(--muted);font-size:.82rem}.section{padding:88px 0}.section.alt{background:linear-gradient(180deg,var(--peach-2),#fff5f1)}.section.gray{background:var(--off)}.section.dark{background:var(--dark);color:#fff}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}.section-head h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.035em;line-height:1.05;margin:.15em 0}.section-head p{max-width:640px;color:var(--muted)}.dark .section-head p{color:#cfd5d8}.about-home{display:grid;grid-template-columns:1fr .75fr;gap:65px;align-items:center}.about-home .visual{min-height:340px;border-radius:var(--radius);background:linear-gradient(135deg,var(--beige),var(--peach-2));padding:42px;display:flex;align-items:end;justify-content:flex-end;box-shadow:var(--shadow)}.hand-note{font-family:Georgia,serif;font-size:2rem;font-style:italic;line-height:1.25;color:#47414a;transform:rotate(-4deg)}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:rgba(255,255,255,.76);border:1px solid rgba(255,255,255,.9);border-radius:var(--radius);padding:28px;box-shadow:0 8px 30px rgba(92,59,48,.05)}.service-icon{width:54px;height:54px;border-radius:50%;background:var(--peach);display:grid;place-items:center;margin-bottom:22px;font-weight:800}.card h3{margin:.1em 0 .4em;font-size:1.25rem}.card p{color:var(--muted)}.text-link{font-weight:700;text-decoration:none;border-bottom:1px solid transparent}.text-link:hover{border-color:currentColor}.portfolio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.project-card{cursor:pointer}.project-thumb{aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#eee6e1,#f7ded7);position:relative}.project-thumb img{width:100%;height:100%;object-fit:cover;transition:.35s ease}.project-card:hover img{transform:scale(1.035)}.project-card h3{margin:12px 0 2px}.meta{font-size:.85rem;color:var(--muted)}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 32px}.filter{border:1px solid var(--line);background:#fff;padding:8px 13px;border-radius:999px;cursor:pointer}.filter.active{background:var(--dark);color:#fff}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.process{background:var(--off);padding:28px}.process b{display:block;font-size:1.15rem;margin:.6em 0}.cta{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}.site-footer{padding:34px 0;background:#10171b;color:#dce2e5}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr auto;gap:30px;align-items:center}.site-footer .brand img{filter:none}.footer-links{display:flex;gap:16px;flex-wrap:wrap;font-size:.86rem}.footer-links a{color:#dce2e5}.page-hero{padding:90px 0 56px;background:linear-gradient(120deg,var(--peach-2),#fff)}.page-hero h1{font-size:clamp(2.5rem,5vw,4.4rem)}.service-list{display:grid;gap:18px}.service-row{display:grid;grid-template-columns:72px 1fr 1fr;gap:26px;align-items:start;padding:34px;border-radius:var(--radius);background:#fff;border:1px solid var(--line)}.service-row ul{margin:0;padding-left:20px;color:var(--muted)}.timeline{border-left:2px solid var(--peach);margin-left:9px;padding-left:30px;display:grid;gap:30px}.timeline-item{position:relative}.timeline-item:before{content:"";position:absolute;left:-39px;top:8px;width:14px;height:14px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px var(--peach-2)}.timeline-item .date{font-size:.82rem;color:var(--accent);font-weight:700}.skills-grid,.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tag-list{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:6px 10px;border-radius:999px;border:1px solid var(--line);font-size:.78rem;background:#fff}.tech-row{display:flex;gap:18px;flex-wrap:wrap}.tech{padding:10px 14px;border:1px solid var(--line);border-radius:12px;filter:grayscale(1);background:#fff;font-weight:700}.blog-card img{aspect-ratio:16/10;object-fit:cover;border-radius:16px}.blog-card h3{font-size:1.25rem}.article{max-width:800px;margin:auto}.article h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.05}.article h2{margin-top:2.2em}.article p,.article li{font-size:1.06rem;color:#3d3d3d}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field.full{grid-column:1/-1}.field label{display:block;font-weight:700;font-size:.86rem;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #d9d1ce;background:#fff;border-radius:12px;padding:13px 14px}.field textarea{min-height:160px;resize:vertical}.small{font-size:.84rem;color:var(--muted)}.notice{padding:12px 14px;border-radius:12px;background:var(--peach-2);margin-top:14px}.modal{position:fixed;inset:0;background:rgba(13,17,20,.72);display:none;align-items:center;justify-content:center;padding:24px;z-index:500}.modal.open{display:flex}.modal-panel{width:min(1080px,100%);max-height:92vh;overflow:auto;background:var(--paper);border-radius:24px;padding:28px;position:relative;box-shadow:0 30px 100px rgba(0,0,0,.35)}.modal-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;cursor:pointer;font-size:1.3rem}.project-detail{display:grid;grid-template-columns:1.15fr .85fr;gap:34px}.project-main{border-radius:18px;overflow:hidden;background:var(--off)}.project-main img{width:100%;max-height:560px;object-fit:contain}.project-thumbs{display:flex;gap:8px;margin-top:10px}.project-thumbs button{width:74px;height:55px;border:1px solid var(--line);padding:0;background:#fff;border-radius:8px;overflow:hidden}.project-thumbs img{width:100%;height:100%;object-fit:cover}.access-panel{position:fixed;right:22px;top:88px;width:310px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow);z-index:400;display:none}.access-panel.open{display:block}.access-group{margin:14px 0}.access-group strong{display:block;margin-bottom:8px}.segmented{display:flex;gap:8px;flex-wrap:wrap}.segmented button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 11px;cursor:pointer}.segmented button.active{background:var(--dark);color:#fff}.reveal{opacity:0;transform:translateY(22px);transition:.6s ease}.reveal.visible{opacity:1;transform:none}body.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important} body.reduce-motion .reveal{opacity:1;transform:none} @media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}}@media(max-width:900px){.nav-links{display:none}.menu-btn{display:block}.hero-grid{grid-template-columns:1fr;min-height:auto;padding:64px 0 0}.hero-photo{min-height:430px}.hero-photo:before{width:340px;height:340px;top:25px}.hero-photo img{width:75%;max-height:420px}.hero-note{right:5%;bottom:30px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.about-home,.contact-grid,.project-detail{grid-template-columns:1fr}.services-grid,.skills-grid,.blog-grid{grid-template-columns:repeat(2,1fr)}.portfolio-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}.service-row{grid-template-columns:64px 1fr}.service-row .service-side{grid-column:2}.footer-grid{grid-template-columns:1fr}.cta{grid-template-columns:1fr}.nav.open .nav-links{display:flex;position:absolute;left:20px;right:20px;top:74px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px;flex-direction:column;align-items:flex-start}.brand img{width:220px}.section{padding:68px 0}}
@media(max-width:600px){.container{width:min(var(--max),calc(100% - 28px))}.nav{height:68px;gap:10px}.brand img{width:190px}.nav-actions .btn{display:none}.hero h1{font-size:2.9rem}.hero-photo{min-height:360px}.hero-photo img{width:88%;max-height:360px}.hero-photo:before{width:280px;height:280px}.services-grid,.skills-grid,.blog-grid,.portfolio-grid,.process-grid{grid-template-columns:1fr}.section-head{display:block}.service-row{grid-template-columns:52px 1fr;padding:24px}.service-row .service-side{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.access-panel{right:12px;left:12px;width:auto;top:76px}.modal{padding:10px}.modal-panel{padding:18px}.project-detail{gap:18px}.hero-actions .btn{width:100%}.about-home{gap:30px}.hand-note{font-size:1.55rem}.stats-grid{grid-template-columns:1fr 1fr}.footer-grid{gap:16px}}

/* v3: cores semânticas e acessibilidade */
body{--bg:#fffdfa;--surface:#ffffff;--surface-alt:#f7f5f3;--text:#1a1a1a;--text-muted:#626262;--border:#e8dfdc;--brand:#d78c7a;--action:#182026;background:var(--bg);color:var(--text)}body[data-theme="dark"]{--bg:#11181c;--surface:#182126;--surface-alt:#202b31;--text:#f7f8f8;--text-muted:#cbd1d4;--border:#3b484f;--brand:#f0aa98;--action:#f4f6f7;--paper:var(--bg);--off:var(--surface-alt);--ink:var(--text);--muted:var(--text-muted);--line:var(--border);--dark:#0b1013;--peach-2:#2b2220;--peach:#44302b;--beige:#352c29}body[data-theme="contrast"]{--bg:#fff;--surface:#fff;--surface-alt:#fff;--text:#000;--text-muted:#000;--border:#000;--brand:#000;--action:#000;--paper:#fff;--off:#fff;--ink:#000;--muted:#000;--line:#000;--dark:#000;--peach-2:#fff;--peach:#fff;--beige:#fff;--accent:#000}body[data-theme="dark"] .site-header{background:rgba(17,24,28,.97)}body[data-theme="dark"] .stats,body[data-theme="dark"] .card,body[data-theme="dark"] .service-row,body[data-theme="dark"] .contact-card,body[data-theme="dark"] .modal-panel,body[data-theme="dark"] .access-panel,body[data-theme="dark"] .filter,body[data-theme="dark"] .tech,body[data-theme="dark"] .tag,body[data-theme="dark"] .field input,body[data-theme="dark"] .field select,body[data-theme="dark"] .field textarea,body[data-theme="dark"] .segmented button{background:var(--surface);color:var(--text);border-color:var(--border)}body[data-theme="dark"] .process{background:var(--surface-alt)}body[data-theme="dark"] .hero-note{background:var(--surface);color:var(--text)}body[data-theme="contrast"] *{box-shadow:none!important;text-shadow:none!important}body[data-theme="contrast"] a{text-decoration:underline;text-decoration-thickness:2px}body[data-theme="contrast"] .btn-primary,body[data-theme="contrast"] .filter.active,body[data-theme="contrast"] .segmented button.active{background:#000!important;color:#fff!important}body[data-theme="contrast"] :focus-visible{outline:4px solid #000!important;outline-offset:3px}.tools-logos{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.tools-logos span{min-height:72px;display:grid;place-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-weight:700;color:var(--text);filter:grayscale(1);letter-spacing:-.02em}.segmented button.active{background:var(--dark);color:#fff}@media(max-width:900px){.tools-logos{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.tools-logos{grid-template-columns:repeat(2,1fr)}}/* v3.1: cobertura completa dos esquemas de cor */
body[data-theme="dark"] .hero,body[data-theme="dark"] .page-hero{background:linear-gradient(120deg,#211c1a,var(--bg) 58%,var(--surface-alt))}
body[data-theme="dark"] .section.alt{background:linear-gradient(180deg,#2a211f,var(--surface-alt))}
body[data-theme="dark"] .section.gray,body[data-theme="dark"] .stats{background:var(--surface-alt)}
body[data-theme="dark"] .card,body[data-theme="dark"] .service-row,body[data-theme="dark"] .contact-card,body[data-theme="dark"] .modal-panel,body[data-theme="dark"] .access-panel,body[data-theme="dark"] .filter,body[data-theme="dark"] .tag,body[data-theme="dark"] .tech,body[data-theme="dark"] .tools-logos span,body[data-theme="dark"] .project-thumbs button,body[data-theme="dark"] .icon-btn{background:var(--surface);color:var(--text);border-color:var(--border)}
body[data-theme="dark"] .field input,body[data-theme="dark"] .field select,body[data-theme="dark"] .field textarea{background:#10171b;color:var(--text);border-color:var(--border)}
body[data-theme="dark"] .hand-note,body[data-theme="dark"] .article p,body[data-theme="dark"] .article li{color:var(--text)}
body[data-theme="dark"] .modal-close{background:var(--surface-alt);color:var(--text)}
body[data-theme="contrast"] .hero,body[data-theme="contrast"] .page-hero,body[data-theme="contrast"] .section.alt,body[data-theme="contrast"] .section.gray,body[data-theme="contrast"] .stats,body[data-theme="contrast"] .process{background:#fff!important;color:#000!important}
body[data-theme="contrast"] .section.dark,body[data-theme="contrast"] .site-footer{background:#000!important;color:#fff!important}
body[data-theme="contrast"] .site-header{background:#fff!important;border-color:#000!important}
body[data-theme="contrast"] .card,body[data-theme="contrast"] .service-row,body[data-theme="contrast"] .contact-card,body[data-theme="contrast"] .modal-panel,body[data-theme="contrast"] .access-panel,body[data-theme="contrast"] .filter,body[data-theme="contrast"] .tag,body[data-theme="contrast"] .tech,body[data-theme="contrast"] .tools-logos span,body[data-theme="contrast"] .project-thumbs button,body[data-theme="contrast"] .icon-btn,body[data-theme="contrast"] .field input,body[data-theme="contrast"] .field select,body[data-theme="contrast"] .field textarea{background:#fff!important;color:#000!important;border:2px solid #000!important}
body[data-theme="contrast"] .eyebrow,body[data-theme="contrast"] .meta,body[data-theme="contrast"] .small,body[data-theme="contrast"] .card p,body[data-theme="contrast"] .section-head p,body[data-theme="contrast"] .hero p.lead,body[data-theme="contrast"] .page-hero p,body[data-theme="contrast"] .service-row ul,body[data-theme="contrast"] .article p,body[data-theme="contrast"] .article li{color:#000!important}
body[data-theme="contrast"] .btn{border:2px solid #000!important;background:#fff!important;color:#000!important}body[data-theme="contrast"] .btn-primary,body[data-theme="contrast"] .filter.active,body[data-theme="contrast"] .segmented button.active{background:#000!important;color:#fff!important}
body[data-theme="contrast"] .dark .btn-soft{background:#fff!important;color:#000!important;border-color:#fff!important}
body[data-theme="contrast"] .hero-photo img{filter:grayscale(100%) contrast(1.15)}
body[data-theme="contrast"] .hero-note{background:#fff!important;color:#000!important;border:2px solid #000}
/* ferramentas monocromáticas */
.tools-logos span{font-size:.95rem;text-align:center;position:relative;overflow:hidden}.tools-logos span:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.8;margin-bottom:7px}.tools-logos span{grid-template-rows:auto auto}.tools-logos span:hover{transform:translateY(-2px);border-color:var(--text)}
.article-narrow{max-width:820px}.article{max-width:none;padding:80px 0}.article .eyebrow{display:block;margin-top:28px}.article .lead{font-size:1.2rem;color:var(--text-muted)}.article-cover{width:100%;border-radius:var(--radius);margin:32px 0}.article-content{font-size:1.04rem}.article-content h2{margin-top:2.2em}.article-content img{border-radius:16px}.blog-card h2 a,.blog-card h3 a{text-decoration:none}.blog-cover{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;margin-bottom:18px}

/* v3.2 — marcas e ferramentas em SVG monocromático */
.tools-logos{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.tool-logo{min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 10px;border:1px solid var(--line);border-radius:16px;background:var(--surface);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.tool-logo img{width:42px;height:42px;object-fit:contain;filter:grayscale(1) brightness(0);opacity:.86;transition:opacity .2s ease,transform .2s ease}
.tool-logo span{font-size:.78rem;font-weight:600;text-align:center;color:var(--muted)}
.tool-logo:hover{transform:translateY(-3px);border-color:var(--ink)}
.tool-logo:hover img{opacity:1;transform:scale(1.04)}
body[data-theme="dark"] .tool-logo{background:var(--surface);border-color:var(--border)}
body[data-theme="dark"] .tool-logo img{filter:grayscale(1) brightness(0) invert(1)}
body[data-theme="dark"] .tool-logo span{color:var(--text-muted)}
body[data-theme="contrast"] .tool-logo{background:#fff!important;border:2px solid #000!important}
body[data-theme="contrast"] .tool-logo img{filter:grayscale(1) brightness(0)!important;opacity:1}
body[data-theme="contrast"] .tool-logo span{color:#000!important}
@media(max-width:1050px){.tools-logos{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:760px){.tools-logos{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-logo{min-height:96px}}
@media(max-width:430px){.tools-logos{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tools-logos .tool-logo span{min-height:0;display:block;padding:0;border:0;border-radius:0;background:transparent;filter:none;letter-spacing:0;grid-template-rows:none;overflow:visible}
.tools-logos .tool-logo span:before{display:none!important;content:none!important}
.tools-logos .tool-logo span:hover{transform:none;border:0}

/* v3.2 — galeria de projeto */
.project-main-wrap{position:relative}.project-main{background:var(--surface-alt)}
.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(0,0,0,.12);border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:1.75rem;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 20px rgba(0,0,0,.12)}
.gallery-prev{left:12px}.gallery-next{right:12px}.project-image-meta{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:34px;margin-top:10px;color:var(--muted);font-size:.76rem}.image-type{text-transform:uppercase;letter-spacing:.08em;font-weight:700}.project-thumbs{overflow-x:auto;padding-bottom:4px}.project-thumbs button{flex:0 0 78px;opacity:.58;cursor:pointer}.project-thumbs button.active{opacity:1;outline:2px solid var(--accent);outline-offset:2px}
body[data-theme="dark"] .gallery-nav{background:rgba(24,33,38,.94);color:#fff;border-color:var(--border)}body[data-theme="contrast"] .gallery-nav{background:#fff!important;color:#000!important;border:2px solid #000!important}
@media(max-width:600px){.gallery-nav{width:38px;height:38px}.project-image-meta{grid-template-columns:auto 1fr}.project-image-meta #modalImageCount{grid-column:2;text-align:right}.project-thumbs button{flex-basis:66px}}

/* v3.4 — capas dinâmicas e manutenção */
.project-thumb{isolation:isolate;border:1px solid color-mix(in srgb,var(--line) 78%,transparent);box-shadow:0 18px 42px rgba(39,27,22,.08)}
.cover-browser{padding:28px 12px 12px;background:linear-gradient(145deg,var(--peach-2),var(--off))}
.browser-bar{position:absolute;left:12px;right:12px;top:8px;height:14px;display:flex;gap:5px;align-items:center;padding-left:4px}.browser-bar span{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.5}
.browser-view{height:100%;overflow:hidden;border-radius:10px;background:var(--surface);box-shadow:0 10px 24px rgba(0,0,0,.08)}.browser-view img{width:100%;height:100%;object-fit:cover;object-position:top}
.cover-app{padding:22px;background:linear-gradient(135deg,var(--off),var(--peach-2));display:grid;place-items:center}.app-frame{width:84%;height:88%;border:7px solid var(--dark);border-radius:17px;background:var(--surface);overflow:hidden;box-shadow:0 14px 30px rgba(0,0,0,.15);position:relative}.app-top{height:13px;background:var(--dark);opacity:.92}.app-frame img{width:100%;height:calc(100% - 13px);object-fit:cover;object-position:top}
.cover-brand{padding:24px;background:linear-gradient(145deg,var(--peach-2),var(--beige));display:grid;place-items:center}.cover-brand img{max-width:82%;max-height:82%;object-fit:contain!important;filter:none}.cover-label{position:absolute;left:12px;bottom:10px;padding:5px 8px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--muted)}
.cover-plain img{object-position:top}
body[data-theme="dark"] .app-frame{border-color:#f4f6f7}body[data-theme="contrast"] .project-thumb{border:2px solid #000!important;box-shadow:none!important}body[data-theme="contrast"] .app-frame{border-color:#000!important}
@media(max-width:600px){.cover-browser{padding:24px 9px 9px}.browser-bar{left:9px;right:9px}.cover-app{padding:16px}.cover-brand{padding:18px}}


/* v3.5 — navegação, acessibilidade, blog e contactos */
.nav-links a{position:relative;padding:8px 0}.nav-links a[aria-current="page"]{color:var(--ink);font-weight:700}.nav-links a[aria-current="page"]:after{content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;border-radius:2px;background:var(--accent)}
.access-trigger{display:grid;place-items:center}.access-trigger svg{width:22px;height:22px}.access-trigger:hover,.access-trigger[aria-expanded="true"]{background:var(--peach-2);border-color:var(--accent);color:var(--dark)}
.blog-hero{background:linear-gradient(135deg,var(--peach-2),var(--paper) 58%,var(--off))}.blog-featured-section{padding-top:64px}.blog-featured{display:grid;grid-template-columns:1.08fr .92fr;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--shadow);margin-top:18px}.blog-featured-media{min-height:410px;background:linear-gradient(135deg,var(--peach),var(--beige));overflow:hidden}.blog-featured-media img{width:100%;height:100%;object-fit:cover}.blog-featured-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}.blog-featured-copy h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.08;letter-spacing:-.035em;margin:.35em 0}.blog-featured-copy h2 a{text-decoration:none}.blog-featured-copy p{color:var(--muted);font-size:1.04rem}.blog-featured-copy .btn{align-self:flex-start;margin-top:12px}.blog-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.78rem;font-weight:600;letter-spacing:.02em}.blog-archive .blog-card{display:flex;flex-direction:column}.blog-archive .blog-card .text-link{margin-top:auto}.blog-cover-placeholder{display:block;background:linear-gradient(135deg,var(--peach),var(--beige));position:relative}.blog-cover-placeholder:after{content:"Notas & ideias";position:absolute;left:22px;bottom:18px;font-weight:700;color:var(--dark);font-size:.9rem}.empty-state{max-width:760px;padding:44px}.article-meta{margin-top:28px}.article .article-meta+.article-title{margin-top:.3em}
.form-feedback{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border-radius:16px;margin:0 0 18px;border:1px solid var(--line);background:var(--surface)}.form-feedback strong{display:block}.form-feedback p{margin:4px 0 0}.form-feedback.success{background:#eef8f1;border-color:#b9dfc4;color:#174f2c}.form-feedback.error{background:#fff0ee;border-color:#efc5bf;color:#7a2b22}.feedback-icon{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:currentColor;color:#fff}.form-feedback.success .feedback-icon{background:#2f7d49}.form-feedback.error .feedback-icon{background:#a44235}.captcha-box{display:grid;grid-template-columns:1fr 130px;align-items:end;gap:16px;padding:18px;border:1px dashed var(--line);border-radius:14px;background:var(--off)}.captcha-box p{margin:3px 0 0;color:var(--muted)}.captcha-box label{margin:0}.privacy-check label{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px;font-weight:400!important}.privacy-check input{width:auto;margin-top:5px}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body[data-theme="dark"] .nav-links a[aria-current="page"]{color:var(--text)}body[data-theme="dark"] .captcha-box{background:var(--surface-alt);border-color:var(--border)}body[data-theme="dark"] .form-feedback.success{background:#163522;color:#dff7e7;border-color:#326b45}body[data-theme="dark"] .form-feedback.error{background:#44221f;color:#ffe6e1;border-color:#7d4038}body[data-theme="contrast"] .nav-links a[aria-current="page"]{color:#000!important;text-decoration:underline!important;text-decoration-thickness:3px!important;text-underline-offset:5px}body[data-theme="contrast"] .nav-links a[aria-current="page"]:after{display:none}body[data-theme="contrast"] .captcha-box,body[data-theme="contrast"] .form-feedback{background:#fff!important;color:#000!important;border:2px solid #000!important}
@media(max-width:850px){.blog-featured{grid-template-columns:1fr}.blog-featured-media{min-height:300px}.blog-featured-copy{padding:32px}.captcha-box{grid-template-columns:1fr}}@media(max-width:600px){.blog-featured-copy{padding:26px}.blog-featured-media{min-height:230px}.nav-links a[aria-current="page"]:after{bottom:4px}}


/* v3.5.4 — contactos, captcha, serviços e CTA */
.contact-hero{background:linear-gradient(125deg,var(--peach-2),var(--paper) 58%,var(--off))}
.contact-list{display:grid;gap:12px;margin-top:28px}.contact-item{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.contact-item:last-child{border-bottom:0}.contact-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--peach-2);color:var(--ink)}.contact-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contact-item strong{display:block;font-size:.86rem}.contact-item a,.contact-item span:not(.contact-icon){color:var(--muted);text-decoration:none}.contact-item a:hover{color:var(--accent)}
.human-check{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:var(--off)}.human-check-label{display:flex;align-items:center;gap:11px}.human-check-label strong{display:block;font-size:.86rem}.human-check-label small{display:block;color:var(--muted);font-size:.72rem}.shield-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--peach);font-weight:800;color:var(--dark)}.human-question{display:flex;align-items:center;gap:8px;flex:0 0 auto}.human-question label{margin:0;font-weight:700;white-space:nowrap}.human-question input{width:72px!important;text-align:center;padding:10px!important}.contact-submit{min-width:190px}
.service-row>.service-icon{width:58px;height:58px;min-width:58px;min-height:58px;margin:0;border-radius:50%;display:grid;place-items:center}.service-row>.service-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.service-cta{padding:72px 0;background:var(--dark);color:#fff;position:relative;overflow:hidden}.service-cta:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:var(--peach);opacity:.12;right:-90px;top:-150px}.service-cta-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:48px}.service-cta-copy{max-width:720px}.service-cta .eyebrow{color:#f0ae9d}.service-cta h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.035em;margin:.25em 0}.service-cta p{margin:0;color:#cfd5d8;max-width:650px}.service-cta-btn{background:var(--peach);color:var(--dark);border-color:var(--peach);font-weight:700;padding:15px 24px}.service-cta-btn:hover{background:#fff;border-color:#fff}
body[data-theme="dark"] .contact-icon,body[data-theme="dark"] .human-check{background:var(--surface-alt);border-color:var(--border)}body[data-theme="dark"] .contact-item{border-color:var(--border)}body[data-theme="dark"] .human-check-label small{color:var(--text-muted)}body[data-theme="contrast"] .contact-icon,body[data-theme="contrast"] .human-check{background:#fff!important;color:#000!important;border:2px solid #000!important}body[data-theme="contrast"] .service-cta{background:#000!important;color:#fff!important}.captcha-box{display:none!important}
@media(max-width:850px){.service-cta-inner{grid-template-columns:1fr}.service-cta-btn{justify-self:start}.human-check{align-items:flex-start;flex-direction:column}.human-question{width:100%;justify-content:space-between}}


/* v3.5.5 — controlo lateral Saber mais / Topo */
.scroll-side-control{position:fixed;right:18px;bottom:92px;z-index:260;display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--text);font:600 .72rem/1 Poppins,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;cursor:pointer;transform:rotate(-90deg) translateX(100%);transform-origin:right bottom;padding:10px 0;transition:color .2s ease,opacity .2s ease}.scroll-side-control[hidden]{display:none}.scroll-side-control:before{content:"";width:32px;height:1px;background:currentColor;opacity:.5}.scroll-side-control:hover{color:var(--accent)}.scroll-side-arrow{font-size:1.05rem;line-height:1;animation:bc-side-pulse 1.35s ease-in-out infinite}.scroll-side-control[data-mode="top"] .scroll-side-arrow{animation-name:bc-side-pulse-up}@keyframes bc-side-pulse{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}@keyframes bc-side-pulse-up{0%,100%{transform:translateX(0)}50%{transform:translateX(-4px)}}body[data-theme="dark"] .scroll-side-control{color:var(--text)}body[data-theme="contrast"] .scroll-side-control{color:#000}.reduce-motion .scroll-side-arrow{animation:none!important}@media(prefers-reduced-motion:reduce){.scroll-side-arrow{animation:none!important}}@media(max-width:700px){.scroll-side-control{right:12px;bottom:78px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:10px 12px;box-shadow:0 8px 28px rgba(0,0,0,.12);transform:none;letter-spacing:.06em}.scroll-side-control:before{display:none}.scroll-side-arrow{font-size:1rem}.scroll-side-label{font-size:.68rem}}

/* v3.6 — polimento visual, blog e ícones */
.service-icon img{width:25px;height:25px;display:block;object-fit:contain;color:currentColor}
.service-icon svg{width:25px;height:25px;display:block;stroke:currentColor;fill:none}
.blog-card h2,.blog-card h3{line-height:1.2;letter-spacing:-.025em}.blog-card .blog-cover{aspect-ratio:16/10;object-fit:cover;border-radius:15px;margin-bottom:18px}.blog-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.78rem;margin:9px 0 13px}.blog-featured{display:grid;grid-template-columns:1.15fr .85fr;background:var(--surface,#fff);border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.blog-featured-media{min-height:390px;background:linear-gradient(135deg,var(--peach),var(--beige));overflow:hidden}.blog-featured-media img{width:100%;height:100%;object-fit:cover}.blog-featured-copy{padding:52px;align-self:center}.blog-featured-copy h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.06;letter-spacing:-.035em;margin:.25em 0}.blog-featured-copy p{color:var(--muted);font-size:1.05rem}.blog-cover-placeholder{display:block;background:linear-gradient(135deg,var(--peach),var(--beige));position:relative}.blog-cover-placeholder:after{content:"Notas & ideias";position:absolute;left:24px;bottom:20px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;color:var(--ink)}
.article{padding:70px 0 100px}.article-shell{display:grid;grid-template-columns:minmax(0,760px) 270px;gap:70px;align-items:start}.article-main h1{font-size:clamp(2.7rem,6vw,5rem);line-height:1.02;letter-spacing:-.045em;margin:.25em 0}.article-main .lead{font-size:1.18rem;color:var(--muted);max-width:720px}.article-cover{width:100%;max-height:520px;object-fit:cover;border-radius:24px;margin:34px 0 44px}.article-content{font-size:1.04rem;line-height:1.82}.article-content h2{font-size:2rem;line-height:1.2;margin:2.1em 0 .65em;letter-spacing:-.025em}.article-content h3{font-size:1.35rem;margin:1.8em 0 .55em}.article-content p{margin:0 0 1.35em}.article-content ul,.article-content ol{padding-left:1.25em;margin-bottom:1.5em}.article-content blockquote{margin:2em 0;padding:22px 26px;border-left:4px solid var(--accent);background:var(--peach-2);border-radius:0 18px 18px 0}.article-aside{position:sticky;top:110px;display:grid;gap:18px}.article-author,.article-cta{border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--surface,#fff)}.article-author strong{display:block;margin-bottom:7px}.article-author p,.article-cta p{font-size:.88rem;color:var(--muted);margin:.4em 0}.article-cta{background:var(--peach-2)}.article-related{margin-top:70px;padding-top:48px;border-top:1px solid var(--line)}.article-related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.article-related .card{padding:22px}
.email-preview-note{font-size:.78rem;color:var(--muted)}
@media(max-width:900px){.blog-featured{grid-template-columns:1fr}.blog-featured-media{min-height:260px}.blog-featured-copy{padding:32px}.article-shell{grid-template-columns:1fr}.article-aside{position:static;grid-template-columns:1fr 1fr}.article-related-grid{grid-template-columns:1fr}}
@media(max-width:600px){.article{padding:48px 0 70px}.article-aside{grid-template-columns:1fr}.blog-featured-copy{padding:26px}.article-main h1{font-size:2.5rem}}


/* v3.8 — case study visual */
.modal{align-items:flex-start;overflow-y:auto;padding:24px}.modal-panel{width:min(1240px,96vw);max-height:none;min-height:min(760px,92vh);margin:auto;padding:clamp(28px,4vw,58px);border-radius:26px}.modal-close{position:fixed;right:max(30px,calc((100vw - min(1240px,96vw))/2 + 20px));top:34px;z-index:520;box-shadow:0 4px 18px rgba(0,0,0,.12)}
.project-case{max-width:1100px;margin:auto}.case-header{max-width:820px;padding:14px 0 30px}.case-header h2{font-size:clamp(2.4rem,5vw,4.8rem);line-height:.98;letter-spacing:-.055em;margin:.16em 0}.case-subtitle{font-size:clamp(1.05rem,2vw,1.35rem);color:var(--muted);margin:0 0 20px}.case-chips{display:flex;gap:8px;flex-wrap:wrap}.case-chips span{padding:7px 11px;border:1px solid var(--line);border-radius:999px;font-size:.76rem;font-weight:700;background:var(--surface)}.case-intro{max-width:900px;padding:26px 0 34px;border-top:1px solid var(--line)}.case-intro p{font-size:clamp(1rem,1.25vw,1.18rem);line-height:1.7;margin:0;color:var(--ink)}.case-work{display:grid;grid-template-columns:1.35fr .65fr;gap:50px;padding:0 0 48px}.case-label{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800;margin-bottom:14px;color:var(--muted)}.case-work ul{columns:2;column-gap:34px;margin:0;padding-left:18px}.case-work li{break-inside:avoid;margin:0 0 8px}.case-gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-gallery-item{margin:0;min-width:0}.case-gallery-featured{grid-column:1/-1}.case-image-button{display:block;width:100%;padding:0;border:0;border-radius:18px;overflow:hidden;background:var(--off);cursor:zoom-in}.case-gallery-item img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;background:var(--off)}.case-gallery-item:not(.case-gallery-featured) img{aspect-ratio:16/10;object-fit:cover}.case-gallery-item-mobile:not(.case-gallery-featured) img{object-fit:contain}.case-gallery-item figcaption{display:flex;gap:10px;padding:9px 4px 3px;color:var(--muted);font-size:.78rem}.case-gallery-item figcaption span{font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--ink)}.case-footer{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;margin-top:48px;padding:32px 0 4px;border-top:1px solid var(--line)}.case-footer p{margin:0;max-width:700px}.case-lightbox{position:fixed;inset:0;background:rgba(8,10,12,.94);z-index:700;display:none;align-items:center;justify-content:center;padding:60px}.case-lightbox.open{display:flex}.case-lightbox img{max-width:92vw;max-height:88vh;object-fit:contain}.case-lightbox-close,.case-lightbox-nav{position:absolute;border:0;background:rgba(255,255,255,.95);color:#111;border-radius:50%;display:grid;place-items:center;cursor:pointer}.case-lightbox-close{right:24px;top:22px;width:44px;height:44px;font-size:1.5rem}.case-lightbox-nav{top:50%;transform:translateY(-50%);width:46px;height:46px;font-size:2rem}.case-lightbox-prev{left:22px}.case-lightbox-next{right:22px}.project-loading{padding:80px 0;text-align:center}
@media(max-width:760px){.modal{padding:0}.modal-panel{width:100%;min-height:100vh;margin:0;border-radius:0;padding:72px 20px 30px}.modal-close{right:14px;top:14px}.case-work{grid-template-columns:1fr;gap:28px}.case-work ul{columns:1}.case-gallery{grid-template-columns:1fr}.case-gallery-featured{grid-column:auto}.case-gallery-item:not(.case-gallery-featured) img{aspect-ratio:auto;object-fit:contain}.case-footer{grid-template-columns:1fr;align-items:start}.case-lightbox{padding:54px 12px}.case-lightbox-nav{width:38px;height:38px}.case-lightbox-prev{left:8px}.case-lightbox-next{right:8px}}

.about-home .visual.about-photo{padding:0;overflow:hidden;align-items:stretch;justify-content:stretch;background:linear-gradient(135deg,var(--beige),var(--peach-2))}.about-home .visual.about-photo img{width:100%;height:100%;min-height:420px;object-fit:cover;object-position:center 30%;border-radius:inherit}@media(max-width:900px){.about-home .visual.about-photo img{min-height:480px}}@media(max-width:600px){.about-home .visual.about-photo img{min-height:380px}}

/* v3.13: créditos com formatação e alinhamento mobile */
.case-collaboration{max-width:700px;line-height:1.75;white-space:normal}.case-collaboration a{color:var(--accent);font-weight:700;text-underline-offset:3px}.case-collaboration strong,.case-collaboration b{font-weight:700}
@media(max-width:600px){
  .container{width:calc(100% - 36px);max-width:none}
  .site-header .container{width:calc(100% - 32px)}
  .nav{height:66px}
  .brand img{width:178px;max-width:58vw}
  .nav.open .nav-links{left:16px;right:16px;top:66px;padding:16px;gap:14px}
  .page-hero{padding:54px 0 38px}
  .page-hero h1,.hero h1{font-size:clamp(2.25rem,12vw,3rem);line-height:1.04;margin:.28em 0}
  .page-hero p,.hero p.lead{font-size:1rem;line-height:1.7}
  .section{padding:56px 0}
  .section-head{margin-bottom:26px}
  .section-head h2{font-size:2.15rem;line-height:1.08}
  .section-head p{margin-top:10px}
  .hero-grid{padding-top:48px;gap:28px}
  .hero-photo{min-height:330px}
  .hero-photo img{width:92%;max-height:340px}
  .hero-note{right:2%;bottom:20px;max-width:78%;font-size:.88rem}
  .about-home{gap:26px}
  .about-home .visual{padding:26px;min-height:290px}
  .card,.contact-card{padding:22px}
  .service-row{grid-template-columns:1fr;gap:16px;padding:22px}
  .service-row .service-icon{margin-bottom:0}
  .service-row .service-side{grid-column:1}
  .filters{margin:16px 0 26px;gap:7px}
  .filter{padding:8px 11px;font-size:.84rem}
  .portfolio-grid{gap:26px}
  .project-card h3{margin-top:10px}
  .footer-grid{grid-template-columns:1fr;align-items:start;text-align:left}
  .footer-links{gap:10px 14px}
  .cta{gap:20px}
  .cta .btn{justify-self:start}
  .modal-panel{padding:68px 18px 28px}
  .case-header{padding:4px 0 24px}
  .case-header h2{font-size:2.45rem;line-height:1.02;overflow-wrap:anywhere}
  .case-subtitle{font-size:1rem;line-height:1.55}
  .case-intro{padding:22px 0 28px}
  .case-work{gap:24px;padding-bottom:36px}
  .case-gallery{gap:14px}
  .case-image-button{border-radius:14px}
  .case-footer{margin-top:34px;padding-top:26px;gap:20px}
  .case-footer .btn{width:100%}
  .case-collaboration{font-size:.95rem;line-height:1.7;overflow-wrap:anywhere}
}

/* v3.14 — afinação mobile: Home, Serviços e Portefólio */
@media(max-width:600px){
  .container{width:calc(100% - 40px);max-width:none}
  .site-header .container{width:calc(100% - 32px)}
  .nav{height:64px;gap:9px}
  .brand img{width:166px;max-width:54vw}
  .icon-btn{width:40px;height:40px}

  .hero-grid{padding:38px 0 0;gap:34px}
  .hero h1{font-size:clamp(2.25rem,10.7vw,2.65rem);line-height:1.06;letter-spacing:-.042em;margin:.32em 0 .38em}
  .hero p.lead{font-size:.98rem;line-height:1.65}
  .hero-actions{gap:10px;margin-top:22px}
  .hero-actions .btn{min-height:52px;padding:12px 18px}
  .hero-photo{min-height:345px;margin-top:4px}
  .hero-photo:before{width:260px;height:260px;top:34px;right:4%}
  .hero-photo img{width:86%;max-height:340px}
  .hero-note{right:0;bottom:20px;max-width:70%;padding:10px 13px;font-size:.8rem}

  .page-hero{padding:42px 0 34px}
  .page-hero .eyebrow{display:block;margin-bottom:12px}
  .page-hero h1{font-size:clamp(2.12rem,10vw,2.5rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 18px}
  .page-hero p{font-size:.97rem;line-height:1.65;margin:0}
  .section{padding:46px 0}
  .section-head{margin-bottom:22px}
  .section-head h2{font-size:2rem;line-height:1.1}

  /* Serviços: composição vertical mais limpa e alinhada à esquerda */
  .service-list{gap:16px}
  .service-row{display:block;padding:20px;border-radius:18px;text-align:left}
  .service-row>.service-icon{width:52px;height:52px;min-width:52px;min-height:52px;margin:0 0 16px}
  .service-row>div:nth-child(2){width:100%}
  .service-row h2{font-size:1.55rem;line-height:1.14;margin:0 0 12px;letter-spacing:-.025em}
  .service-row p{font-size:.96rem;line-height:1.62;margin:0 0 16px;color:var(--muted);max-width:none}
  .service-row .tag-list{gap:7px;margin:0 0 18px}
  .service-row .tag{padding:6px 10px;font-size:.74rem}
  .service-row .service-side{margin-top:4px}
  .service-row ul{padding-left:19px;margin:0;font-size:.9rem;line-height:1.52}
  .service-row li+li{margin-top:4px}

  /* Portefólio: filtros compactos numa faixa horizontal */
  .filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:8px -20px 24px;padding:0 20px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .filters::-webkit-scrollbar{display:none}
  .filter{flex:0 0 auto;padding:7px 12px;font-size:.79rem;line-height:1.25;white-space:nowrap}
  .portfolio-grid{gap:28px}
  .project-thumb{border-radius:16px}
  .project-card h3{font-size:1.28rem;line-height:1.25;margin:11px 0 4px}
  .project-card .meta{font-size:.84rem;line-height:1.5}

  /* Home: cartões e blocos com alinhamento consistente */
  .services-grid{gap:14px}
  .services-grid .card{padding:20px;text-align:left}
  .services-grid .service-icon{margin-bottom:15px}
  .services-grid .card h3{font-size:1.18rem;line-height:1.25}
  .services-grid .card p{font-size:.92rem;line-height:1.55}
  .about-home{gap:24px}
  .about-home .visual{min-height:260px;padding:24px}

  /* Controlo lateral menos intrusivo */
  .scroll-side-control{right:10px;bottom:70px;padding:8px 10px;gap:6px;box-shadow:0 6px 20px rgba(0,0,0,.1)}
  .scroll-side-label{font-size:.62rem;letter-spacing:.04em}
  .scroll-side-arrow{font-size:.9rem}
}

@media(max-width:390px){
  .container{width:calc(100% - 32px)}
  .site-header .container{width:calc(100% - 24px)}
  .brand img{width:154px}
  .hero h1{font-size:2.2rem}
  .page-hero h1{font-size:2.05rem}
  .service-row{padding:18px}
  .service-row h2{font-size:1.42rem}
  .filters{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
}

/* v3.16 — conteúdo gerível, usabilidade e acessibilidade */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid #2c6bed;
  outline-offset:3px;
}
.project-card:focus-visible,.filter:focus-visible,.icon-btn:focus-visible{border-radius:18px}
.text-link,.article-content a,.case-collaboration a,.about-home p a,.page-hero p a,.contact-intro p a{text-underline-offset:3px}
.article-content a,.about-home p a,.page-hero p a,.contact-intro p a{text-decoration-thickness:1.5px}
.service-icon img{width:28px;height:28px;object-fit:contain}
.about-page-photo{overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);background:var(--off)}
.about-page-photo img{width:100%;height:100%;min-height:430px;object-fit:cover;object-position:center;filter:grayscale(1)}
.about-home-photo{position:relative;padding:0!important;overflow:hidden;align-items:stretch!important;justify-content:stretch!important}
.about-home-photo img{width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center;filter:grayscale(1)}
.about-photo-note{right:18px;bottom:18px;max-width:72%}
.protected-email{appearance:none;border:0;background:none;padding:0;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left;font:inherit}
.protected-email:hover,.revealed-email:hover{color:var(--accent)}
.revealed-email{overflow-wrap:anywhere}
.contact-form input:invalid:not(:placeholder-shown),.contact-form textarea:invalid:not(:placeholder-shown){border-color:#9c4545}
.project-card[role="button"]{border-radius:18px}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1!important;transform:none!important}
}
@media(forced-colors:active){
  .filter.active,.btn-primary,.status-badge{forced-color-adjust:auto}
  .project-card,.card,.service-row{border:1px solid CanvasText}
}
@media(max-width:600px){
  .about-page-photo img{min-height:340px}
  .about-home-photo img{min-height:300px}
  .btn,.filter,.icon-btn,.protected-email{min-height:44px}
  .protected-email{display:inline-flex;align-items:center}
  .nav-links a{min-height:44px;display:flex;align-items:center}
  .case-lightbox-close,.case-lightbox-nav{min-width:44px;min-height:44px}
}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-required-note{margin:0 0 10px;color:var(--muted);font-size:.85rem}.form-required-note span{color:#9c4545;font-weight:800}


/* v3.17 — Home / Sobre mim: imagem gerível como fundo, overlay e texto fixos */
.about-home-photo{
  position:relative;
  min-height:340px;
  padding:42px!important;
  overflow:hidden;
  isolation:isolate;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  background-image:var(--about-home-bg)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.about-home-photo::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(90deg,rgba(234,219,211,.10) 0%,rgba(255,230,224,.28) 42%,rgba(255,230,224,.88) 100%);
  pointer-events:none;
}
.about-home-note{
  position:relative;
  z-index:1;
  margin:0;
  max-width:72%;
  text-align:left;
  color:#47414a;
  text-shadow:0 1px 16px rgba(255,255,255,.45);
}
body[data-theme="dark"] .about-home-photo::before{
  background:linear-gradient(90deg,rgba(17,24,28,.10) 0%,rgba(43,34,32,.38) 48%,rgba(43,34,32,.90) 100%);
}
body[data-theme="dark"] .about-home-note{color:#f4eeee;text-shadow:0 1px 16px rgba(0,0,0,.35)}
body[data-theme="contrast"] .about-home-photo::before{background:rgba(255,255,255,.88)}
body[data-theme="contrast"] .about-home-note{color:#000;text-shadow:none}
@media(max-width:900px){
  .about-home-photo{min-height:420px;background-position:center 35%!important}
  .about-home-note{max-width:78%}
}
@media(max-width:600px){
  .about-home-photo{min-height:340px;padding:26px!important;background-position:center 30%!important}
  .about-home-note{max-width:82%;font-size:1.5rem}
}

/* v3.18 — Home: hierarquia, projetos, serviços e CTA */
:root{--accent-readable:#b86655}
.eyebrow{color:var(--accent-readable)}

/* Sobre mim: dar um pouco mais de presença à imagem sem alterar a composição */
#sobre-home .about-home{grid-template-columns:1fr .9fr;gap:48px}
#sobre-home .about-home-photo{min-height:390px}

/* Serviços da Home: card inteiro clicável e CTA visual mais discreto */
.home-service-card{
  position:relative;
  display:block;
  min-height:100%;
  color:inherit;
  text-decoration:none;
  padding:24px 24px 52px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.home-service-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(92,59,48,.09);border-color:var(--beige)}
.home-service-card:focus-visible{border-radius:var(--radius)}
.home-service-card .service-icon{width:48px;height:48px;margin-bottom:18px}
.home-service-card .service-icon img{width:24px;height:24px}
.home-service-card p{margin-bottom:0}
.service-card-arrow{
  position:absolute;
  left:24px;
  bottom:20px;
  font-size:1.15rem;
  line-height:1;
  font-weight:700;
  color:var(--ink);
  transition:transform .2s ease;
}
.home-service-card:hover .service-card-arrow{transform:translateX(4px)}

/* Projetos em destaque: mais importantes visualmente do que os serviços */
.home-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}
.home-featured-grid .project-thumb{aspect-ratio:16/9;border-radius:20px}
.home-featured-grid .project-card h3{font-size:1.42rem;line-height:1.2;margin:15px 0 4px}
.home-featured-grid .project-card .meta{font-size:.92rem;line-height:1.5;max-width:92%}

/* Blog da Home: melhorar leitura */
.home-blog-grid .blog-card h3{font-size:1.32rem;line-height:1.22}
.home-blog-grid .blog-card p{font-size:.94rem;line-height:1.62}

/* CTA final: corrigir contraste e proporção do botão */
.home-cta-section{padding:68px 0}
.home-cta h2{margin:0 0 12px;font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.12}
.home-cta p{margin:0;color:#d8dde0;max-width:720px;font-size:1rem}
.dark .btn-soft,
.home-cta .btn-soft{
  color:var(--dark);
  background:#fff0ec;
  border:1px solid #f3d8d1;
  font-weight:600;
  min-width:190px;
  min-height:52px;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.dark .btn-soft:hover,
.home-cta .btn-soft:hover{background:#fff;color:#10171b;border-color:#fff}

/* Controlo lateral: sem a linha decorativa depois da seta */
.scroll-side-control:before{display:none!important;content:none!important}
.scroll-side-control{gap:7px}

@media(max-width:900px){
  #sobre-home .about-home{grid-template-columns:1fr;gap:30px}
  #sobre-home .about-home-photo{min-height:440px}
  .home-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
}
@media(max-width:600px){
  #sobre-home .about-home-photo{min-height:350px}
  .home-service-card{padding:20px 20px 48px}
  .service-card-arrow{left:20px;bottom:18px}
  .home-featured-grid{grid-template-columns:1fr;gap:30px}
  .home-featured-grid .project-card h3{font-size:1.3rem}
  .home-featured-grid .project-card .meta{max-width:none}
  .home-cta-section{padding:52px 0}
  .home-cta{grid-template-columns:1fr;gap:24px}
  .home-cta .btn{width:100%;min-height:54px}
}


/* v3.19 — Home: 4 projetos, alternância de fundos e footer logo dinâmico */
.home-featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
.home-featured-grid .project-thumb{aspect-ratio:4/3;border-radius:18px}
.home-featured-grid .project-card h3{font-size:1.15rem;line-height:1.25;margin:12px 0 3px}
.home-featured-grid .project-card .meta{font-size:.84rem;line-height:1.48;max-width:none}
.home-blog-section{background:linear-gradient(180deg,var(--peach-2),#fff5f1)}

@media(max-width:900px){
  .home-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
}
@media(max-width:600px){
  .home-featured-grid{grid-template-columns:1fr;gap:30px}
}

/* v3.22 — cards do portefólio são links reais para URLs partilháveis */
.project-card{display:block;color:inherit;text-decoration:none}
.project-card:visited{color:inherit}
