@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');:root{--bg:#0b1424;--bg2:#111e32;--card:#17253b;--text:#f6f8fc;--muted:#b3c0d1;--gold:#60a5fa;--line:rgba(255,255,255,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.header{position:sticky;top:0;z-index:50;background:rgba(11,20,36,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-size:16px;font-weight:600}.brand b{color:var(--gold)}.monogram{display:grid;place-items:center;width:40px;height:40px;background:var(--gold);color:#0b1424;border-radius:10px;font-weight:800}.nav-links{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:600}.nav-links>a:not(.nav-cta){color:#d4dce7}.nav-links>a:hover,.footer a:hover{color:var(--gold)}.nav-cta{padding:10px 17px;border:1px solid var(--gold);border-radius:8px;color:var(--gold)}.menu-toggle{display:none;background:none;color:#fff;border:0;font-size:25px;cursor:pointer}.hero{min-height:640px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:70px;padding-top:70px;padding-bottom:90px}.eyebrow,.kicker{font-size:11px;letter-spacing:.19em;font-weight:800;color:var(--gold)}.dot{display:inline-block;width:7px;height:7px;background:var(--gold);border-radius:50%;margin-right:9px}.hero h1,h2{font-family:Manrope,sans-serif;letter-spacing:-.045em;line-height:1.14}.hero h1{font-size:clamp(38px,5.2vw,69px);margin:20px 0 23px}.hero h1 em,h2 em{color:var(--gold);font-style:normal}.hero p{font-size:16px;color:var(--muted);max-width:610px}.hero p strong{color:#fff}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;gap:18px;justify-content:center;padding:13px 20px;border-radius:9px;font-weight:800;font-size:13px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px)}.primary{background:var(--gold);color:#0b1424}.outline{border:1px solid #738096;color:#fff}.hero-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:35px}.hero-tags span,.pills span{border:1px solid var(--line);color:#c7d2e0;border-radius:50px;padding:5px 12px;font-size:11px}.hero-visual{position:relative;display:flex;justify-content:center}.portrait{width:min(380px,100%);aspect-ratio:4/4.7;border:1px solid rgba(59,130,246,.45);border-radius:26px;overflow:hidden;background:linear-gradient(140deg,#293d5b,#101b2c);padding:12px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:18px}.float-label{position:absolute;bottom:22px;left:-20px;background:#60a5fa;color:#172034;padding:12px 16px;border-radius:8px;font-weight:800;font-size:10px;letter-spacing:.08em;box-shadow:0 10px 25px #0006}.float-label span{margin:0 5px}.section{padding-top:100px;padding-bottom:100px}.section-alt{background:var(--bg2);border-block:1px solid var(--line)}h2{font-size:clamp(30px,3.6vw,47px);margin:15px 0 0}h3{font-family:Manrope,sans-serif;line-height:1.3}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.about-grid p{color:var(--muted);margin:0 0 16px}.small-note{font-size:13px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:35px}.section-head>p{max-width:330px;color:var(--muted);margin:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service{padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--card);position:relative;transition:transform .2s,border-color .2s}.service:hover,.project:hover{transform:translateY(-5px);border-color:rgba(59,130,246,.5)}.service-icon{font-size:30px;color:var(--gold)}.service-no{position:absolute;right:27px;top:30px;color:#8392a7;font-size:12px}.service h3{font-size:20px;margin:24px 0 10px}.service p{color:var(--muted);font-size:14px;min-height:105px}.pills{display:flex;gap:6px;flex-wrap:wrap}.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}.filter{border:1px solid var(--line);background:transparent;color:#dce4ee;border-radius:8px;padding:9px 16px;cursor:pointer;font-size:13px}.filter.active,.filter:hover{background:var(--gold);color:#111b2c;border-color:var(--gold)}.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.project{background:#142238;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .2s,border-color .2s}.project[hidden]{display:none}.project-art{height:210px;display:flex;align-items:center;justify-content:center;gap:25px;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.04em;line-height:1.1}.art-mark{font-size:80px;font-weight:800;opacity:.8}.art-pasteis{background:linear-gradient(130deg,#a71c21,#e84e24);color:#ffe8a1}.art-bi{background:linear-gradient(130deg,#102e5a,#2d78a0);color:#dceaff}.art-eco{background:linear-gradient(130deg,#0e564c,#2d9980);color:#e4fff0}.art-bank{background:linear-gradient(130deg,#243d78,#5a4d96);color:#e9e5ff}.chart-bars{height:90px;display:flex;gap:9px;align-items:end}.chart-bars i{display:block;width:14px;background:#60a5fa;border-radius:3px 3px 0 0}.chart-bars i:nth-child(1){height:38%}.chart-bars i:nth-child(2){height:65%}.chart-bars i:nth-child(3){height:49%}.chart-bars i:nth-child(4){height:90%}.chart-bars i:nth-child(5){height:75%}.project-content{padding:26px}.project-type{color:var(--gold);font-size:10px;letter-spacing:.15em;font-weight:800}.project h3{margin:10px 0;font-size:22px}.project p{color:var(--muted);font-size:14px;min-height:72px}.project-links{display:flex;gap:24px;margin-top:22px;flex-wrap:wrap}.project-links a{font-size:13px;font-weight:800;color:var(--gold)}.project-links a:hover{text-decoration:underline}.projects-note{font-size:12px;color:var(--muted);margin-top:24px}.tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tech-grid span{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:16px 18px;font-weight:700;font-size:14px}.contact-section{background:linear-gradient(130deg,#152941,#101a2b)}.contact-grid{display:grid;grid-template-columns:1.5fr .7fr;gap:100px;align-items:center}.contact-grid p{max-width:610px;color:var(--muted)}.contact-card{border:1px solid var(--line);border-radius:16px;padding:27px;background:#1a2b43}.contact-card>span{font-size:11px;letter-spacing:.15em;color:var(--gold);font-weight:800}.contact-card a{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-weight:700}.contact-card a:last-child{border:0}.contact-card b{color:var(--gold)}.footer{padding:25px 0;border-top:1px solid var(--line)}.footer-inner{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}:focus-visible{outline:3px solid var(--gold);outline-offset:4px}@media(max-width:900px){.hero{gap:30px}.about-grid,.contact-grid{gap:35px}.services{grid-template-columns:1fr}.service p{min-height:0}.tech-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.wrap{width:min(100% - 32px,1160px)}.nav{min-height:68px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;left:0;right:0;top:68px;background:#0d1a2d;padding:20px;flex-direction:column;align-items:stretch;gap:14px;border-bottom:1px solid var(--line)}.nav-links.open{display:flex}.nav-links a{padding:8px}.hero{grid-template-columns:1fr;gap:45px;padding-top:65px;padding-bottom:65px;min-height:0}.hero-visual{max-width:350px;margin:auto}.float-label{left:-8px;font-size:8px}.section{padding-top:70px;padding-bottom:70px}.about-grid,.contact-grid{grid-template-columns:1fr}.section-head{display:block}.section-head>p{margin-top:16px}.projects{grid-template-columns:1fr}.tech-grid{grid-template-columns:repeat(2,1fr)}.project-art{height:180px}.footer-inner{flex-direction:column}.brand{font-size:14px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Refinamento visual e acessibilidade — etapa 2 */
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;background:var(--gold);color:#0b1424;border-radius:8px}.skip-link:focus{top:12px}
.project-art-image{position:relative;overflow:hidden;isolation:isolate;padding:18px}
.project-art-image>img:not(.food-photo){width:145px;height:145px;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(0,0,0,.28));transition:transform .3s ease}
.project:hover .project-art-image>img:not(.food-photo){transform:scale(1.06)}
.project-art-image.art-pasteis{justify-content:flex-start;background:radial-gradient(circle at 75% 50%,#f84e32 0%,#ae2026 68%)}
.project-art-image.art-pasteis>img:not(.food-photo){width:155px;height:155px;z-index:2}
.project-art-image .food-photo{position:absolute;right:2%;bottom:-28px;width:49%;height:95%;object-fit:cover;object-position:center;border-radius:22px 22px 0 0;transform:rotate(-7deg);box-shadow:0 15px 30px #0007}
.project-art-image.art-eco{background:radial-gradient(circle at 50% 30%,#227b72,#0b403d)}
.project-art-image.art-bank{background:radial-gradient(circle at 50% 30%,#5364a8,#1c2d5b)}
.art-caption{position:absolute;left:18px;bottom:12px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:rgba(8,16,28,.72);padding:6px 10px;border-radius:6px}
.service{display:flex;flex-direction:column}.service .pills{margin-top:auto}.service-cta{display:inline-block;margin-top:23px;color:var(--gold);font-size:12px;font-weight:800}.service-cta:hover{text-decoration:underline}
.project-links a,.contact-card a,.service-cta{transition:color .2s}.project-links a:hover,.contact-card a:hover{color:#93c5fd}
@media(max-width:700px){.project-art-image>img:not(.food-photo){width:125px;height:125px}.project-art-image.art-pasteis>img:not(.food-photo){width:132px;height:132px}.project-art-image .food-photo{width:45%}.service-cta{margin-top:18px}}

/* V3 — sistema de layout consistente */
:root{--bg:#0b1424;--bg2:#101d30;--card:#142238;--muted:#b9c6d5;--gold:#60a5fa;--line:rgba(215,228,245,.12)}
body{overflow-x:hidden;-webkit-font-smoothing:antialiased}
.wrap{width:min(1120px,calc(100% - 48px))}
.section{padding-block:clamp(72px,8vw,112px)}
.section-head{align-items:end;margin-bottom:38px}
.section-head>div{max-width:680px}
.section-head>p{max-width:330px;font-size:15px;line-height:1.7}
h2{max-width:720px;line-height:1.18}
.hero{min-height:620px;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:clamp(36px,6vw,76px);padding-block:85px 100px}
.hero-copy{min-width:0}.hero h1{font-size:clamp(40px,4.9vw,65px);max-width:680px}.hero p{max-width:570px}
.hero-visual{width:100%;min-width:0}.portrait{width:min(360px,100%);aspect-ratio:4/4.6}
.float-label{left:0;bottom:20px;max-width:100%;text-align:center}
.about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,7vw,100px);align-items:start}
.about-grid>div,.contact-grid>div{min-width:0}
.services{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px}
.service{min-width:0;min-height:355px;padding:30px 27px;display:flex;flex-direction:column;border-radius:16px}
.service h3{min-height:54px;margin:22px 0 12px;font-size:19px}
.service p{min-height:0;margin:0 0 25px;flex:1;line-height:1.75}
.service .pills{margin-top:0;min-height:36px;align-content:start}
.service-cta{margin-top:25px;min-height:24px;line-height:1.5}
.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.project{min-width:0;display:flex;flex-direction:column;height:100%;border-radius:16px}
.project-art{height:auto;aspect-ratio:2.35/1;min-height:195px;max-height:245px;flex:none}
.project-content{padding:28px;display:flex;flex-direction:column;flex:1;min-height:280px}
.project-content h3{margin:9px 0 10px;font-size:22px}
.project-content p{margin:0 0 22px;min-height:0;flex:1;line-height:1.75}
.project-content .pills{min-height:32px;align-items:flex-start}
.project-links{margin-top:20px;min-height:24px;align-items:center;gap:20px}
.project-art-image .food-photo{right:5%;width:42%;height:90%}
.tech-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tech-grid span{display:flex;align-items:center;min-height:62px}
.contact-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:clamp(36px,7vw,90px)}
.contact-card{width:100%}
.btn{min-height:46px;text-align:center}
@media(max-width:1000px){.hero{gap:32px}.services{gap:14px}.service{padding:25px 20px}.service h3{font-size:18px}}
@media(max-width:800px){.hero{grid-template-columns:1fr;min-height:0;padding-block:70px}.hero-copy{max-width:690px}.hero-visual{max-width:370px;margin-inline:auto}.about-grid{gap:32px}.services{grid-template-columns:1fr;gap:15px}.service{min-height:0}.service h3{min-height:0}.service p{flex:none;margin-bottom:20px}.service .pills{min-height:0}.projects{gap:16px}.project-content{padding:22px}.contact-grid{grid-template-columns:1fr}.contact-card{max-width:520px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.section{padding-block:66px}.hero{padding-block:58px 72px;gap:42px}.hero h1{font-size:clamp(35px,9vw,48px)}.hero p{font-size:15px}.hero-visual{width:min(100%,320px)}.float-label{font-size:8px;left:0;right:0;bottom:12px;padding:10px 8px}.about-grid,.projects{grid-template-columns:1fr}.section-head{margin-bottom:26px}.project-art{min-height:175px;max-height:none;aspect-ratio:2/1}.project-content{min-height:0;padding:24px}.project-content p{flex:none}.project-content .pills{min-height:0}.tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-grid span{min-height:55px;padding:13px 12px;font-size:12px}.actions .btn{flex:1 1 180px}.contact-grid{gap:28px}.footer-inner{align-items:flex-start}.nav-links{max-height:calc(100vh - 68px);overflow:auto}}
@media(max-width:370px){.wrap{width:calc(100% - 28px)}.hero h1{font-size:34px}.tech-grid{grid-template-columns:1fr}.float-label{letter-spacing:0}}

/* V4 — foto e faixa profissional perfeitamente alinhadas */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: min(360px, 100%);
  max-width: 100%;
  margin-inline: auto;
}
.hero-visual .portrait {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: 24px 24px 0 0;
  border-bottom: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.hero-visual .portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px 15px 0 0;
}
.hero-visual .float-label {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  max-width: none;
  min-height: 49px;
  margin: 0;
  padding: 12px 10px;
  border-radius: 0 0 18px 18px;
  background: #60a5fa;
  color: #142238;
  font-size: clamp(9px, 1vw, 11px);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.20);
}
.hero-visual .float-label span { margin: 0 1px; }
@media (max-width: 650px) {
  .hero-visual { width: min(320px, 100%); }
  .hero-visual .float-label { font-size: 9px; padding: 12px 7px; }
}

/* Links de projetos: layout consistente em todos os cards */
.project-content { display: flex; flex-direction: column; flex: 1; }
.project-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 20px; align-items: stretch; }
.project-links .project-link { box-sizing: border-box; display: flex; justify-content: center; align-items: center; text-align: center; min-height: 46px; padding: 10px 8px; border-radius: 10px; font-size: .85rem; font-weight: 700; text-decoration: none; line-height: 1.3; }
.project-links .project-link.live { background: #2563eb; color: #142033; border: 1px solid #2563eb; }
.project-links .project-link.code { background: transparent; color: #2563eb; border: 1px solid #3b82f6; }
.project-links .project-link.pending { color: #9ca8b9; border: 1px dashed #64748b; background: rgba(148,163,184,.07); font-weight: 500; cursor: default; }
.project-links a.project-link:hover { transform: translateY(-2px); filter: brightness(1.07); }
@media (max-width: 380px) { .project-links { grid-template-columns: 1fr; } }

/* V6 — cabeçalho, hero e email alinhados */
.header .nav{min-height:78px;gap:24px}
.nav-links{gap:clamp(12px,1.6vw,23px)}
.nav-email{color:var(--gold)!important;border-bottom:1px solid rgba(59,130,246,.5);white-space:nowrap}
.hero{grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);align-items:center;gap:clamp(36px,5vw,68px);min-height:0;padding-block:clamp(70px,8vw,110px)}
.hero-copy{max-width:660px}
.hero h1{font-size:clamp(39px,4.65vw,63px);line-height:1.13;letter-spacing:-.045em;margin:20px 0 22px}
.hero-copy>p{font-size:16px;line-height:1.85;max-width:590px;margin:0}
.hero-copy .eyebrow{display:block;max-width:570px;line-height:1.7;font-size:11px;letter-spacing:.13em}
.hero-copy .actions{margin-top:27px;align-items:center}
.hero-copy .actions .btn{min-width:165px}
.hero-email{display:inline-flex;align-items:center;margin-top:19px;font-size:13px;color:var(--gold);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.hero-email:hover,.nav-email:hover{color:#93c5fd!important}
.hero-tags{margin-top:26px}
.hero-visual{justify-self:center;align-self:center}
.contact-card a{gap:12px;overflow-wrap:anywhere}
@media(max-width:1050px){.nav-links{gap:13px;font-size:12px}.brand{white-space:nowrap}}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:38px;padding-block:65px 75px}.hero-copy{max-width:700px}.hero-visual{justify-self:center}}
@media(max-width:700px){.nav-links{gap:10px;font-size:14px}.nav-email{width:max-content}.hero h1{font-size:clamp(36px,9vw,50px)}.hero-copy .eyebrow{font-size:10px;letter-spacing:.09em}.hero-copy>p{font-size:15px}.hero-copy .actions .btn{min-width:0}.hero-email{font-size:13px}}
@media(max-width:400px){.hero h1{font-size:35px}.hero-tags span{font-size:10px}}

/* V7: identidade tipográfica do cabeçalho, sem monograma */
.brand{gap:0;flex-shrink:0;text-decoration:none}
.brand-identity{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.15}
.brand-name{font-family:Manrope,sans-serif;font-size:19px;font-weight:800;letter-spacing:-.035em;color:#fff}
.brand-name b{color:var(--gold);font-weight:800}
.brand-subtitle{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:.17em;font-weight:700;color:#a9b8cb}
@media(max-width:700px){.brand-name{font-size:17px}.brand-subtitle{font-size:8px;letter-spacing:.13em}}

/* V8 — identidade preto e azul, componentes e espaçamento refinados */
:root{--bg:#080b12;--bg2:#0e1420;--card:#121c2b;--text:#f5f8ff;--muted:#b2c0d4;--gold:#60a5fa;--line:rgba(134,166,214,.17);--blue:#2563eb;--blue-bright:#60a5fa}
body{background:var(--bg);color:var(--text)}
.header{background:rgba(8,11,18,.94);border-bottom:1px solid var(--line)}
.nav-links>a:not(.nav-cta){color:#d5e0ef}
.nav-cta{border-color:rgba(96,165,250,.55);color:#93c5fd;background:rgba(37,99,235,.09)}
.nav-cta:hover{background:rgba(37,99,235,.18)}
.brand-name b{color:#60a5fa}.brand-subtitle{color:#aabbd4}
.hero{background:transparent}.hero h1 em,h2 em{color:#60a5fa}
.eyebrow,.kicker,.project-type,.service-icon,.service-cta,.project-links a,.contact-card>span,.contact-card b{color:#60a5fa}
.dot{background:#3b82f6}.hero-email,.nav-email{color:#93c5fd!important}
.hero-email:hover,.nav-email:hover{color:#bfdbfe!important}
.btn.primary,.primary{background:#2563eb;color:#fff;border:1px solid #3b82f6;box-shadow:0 10px 28px rgba(37,99,235,.19)}
.btn.primary:hover,.primary:hover{background:#1d4ed8}
.btn.outline,.outline{border:1px solid #557094;color:#e8f1ff;background:rgba(96,165,250,.035)}
.btn.outline:hover,.outline:hover{border-color:#60a5fa;background:rgba(96,165,250,.1)}
.hero-tags span,.pills span{border-color:rgba(125,164,224,.23);color:#d2def0;background:rgba(96,165,250,.04)}
.section-alt{background:#0e1420}.service,.project,.tech-grid span{background:#121c2b;border-color:var(--line)}
.service:hover,.project:hover{border-color:rgba(96,165,250,.62);box-shadow:0 16px 45px rgba(0,0,0,.19)}
.filter.active,.filter:hover{background:#2563eb;border-color:#2563eb;color:#fff}
.project-links .project-link.live{background:#2563eb;border-color:#3b82f6;color:#fff}
.project-links .project-link.code{background:rgba(59,130,246,.08);border-color:#3b82f6;color:#bfdbfe}
.project-links .project-link:hover{filter:brightness(1.13)}
.hero-visual .portrait{border-color:rgba(96,165,250,.48);background:linear-gradient(145deg,#152c4d,#090f1b)}
.hero-visual .float-label{background:#2563eb;color:#fff;box-shadow:0 14px 30px rgba(0,0,0,.28)}
.contact-section{background:linear-gradient(135deg,#101d32,#080d17)}
.contact-card{background:#131f30;border-color:var(--line)}
:focus-visible{outline-color:#60a5fa}
.skip-link{background:#2563eb;color:#fff}
@media(max-width:700px){.nav-links{background:#0e1725;border-bottom-color:var(--line)}}

/* V9: cartões de tecnologias com imagens locais e animação acessível */
#tecnologias .section-head{align-items:end}
#tecnologias .section-head p{color:var(--muted);max-width:340px;margin:0}
.tech-group+.tech-group{margin-top:34px}
.tech-group-title{font-size:15px;letter-spacing:.025em;color:#c6d8f6;margin:0 0 15px;font-weight:700}
#tecnologias .tech-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#tecnologias .tech-card{display:flex;align-items:center;gap:14px;min-width:0;min-height:98px;padding:17px;border-radius:15px;border:1px solid rgba(107,144,195,.20);background:linear-gradient(145deg,#111c2d,#0e1726);box-shadow:0 6px 22px rgba(0,0,0,.10);transition:transform .26s ease,border-color .26s ease,box-shadow .26s ease;animation:tech-enter .65s both}
#tecnologias .tech-card:nth-child(2){animation-delay:.06s}#tecnologias .tech-card:nth-child(3){animation-delay:.12s}#tecnologias .tech-card:nth-child(4){animation-delay:.18s}#tecnologias .tech-card:nth-child(5){animation-delay:.24s}
#tecnologias .tech-card:hover{transform:translateY(-6px);border-color:#3985f4;box-shadow:0 12px 32px rgba(20,100,235,.17)}
#tecnologias .tech-logo-wrap{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:12px;background:#0b1424;border:1px solid rgba(140,172,220,.13)}
#tecnologias .tech-logo-wrap img{width:39px;height:39px;object-fit:contain;display:block;transition:transform .26s ease;filter:none}
#tecnologias .tech-card:hover img{transform:scale(1.12)}
#tecnologias .tech-info{display:flex;flex-direction:column;gap:3px;min-width:0}
#tecnologias .tech-info strong{font-size:14px;line-height:1.35;color:#f4f8ff}
#tecnologias .tech-info small{font-size:11px;line-height:1.4;color:#a5b8d2}
@keyframes tech-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){#tecnologias .tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){#tecnologias .tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tecnologias .section-head p{margin-top:14px}}
@media(max-width:480px){#tecnologias .tech-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#tecnologias .tech-card{padding:12px 9px;gap:9px;min-height:82px}#tecnologias .tech-logo-wrap{width:40px;height:40px;flex-basis:40px}#tecnologias .tech-logo-wrap img{width:31px;height:31px}#tecnologias .tech-info strong{font-size:12px}#tecnologias .tech-info small{font-size:10px}}
@media(max-width:350px){#tecnologias .tech-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#tecnologias .tech-card{animation:none;transition:none}#tecnologias .tech-logo-wrap img{transition:none}#tecnologias .tech-card:hover{transform:none}#tecnologias .tech-card:hover img{transform:none}}

/* V11: marcas maiores e legíveis */
#tecnologias .tech-card{min-height:132px;padding:20px 14px;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px}
#tecnologias .tech-logo-wrap{width:78px;height:78px;flex:0 0 78px;border-radius:18px;background:#17263b;border-color:rgba(115,160,229,.28)}
#tecnologias .tech-logo-wrap img{width:61px;height:61px;max-width:90%;max-height:90%;object-fit:contain}
#tecnologias .tech-logo-wrap img.logo-github{filter:invert(1)}
#tecnologias .tech-logo-wrap img.logo-aws{width:72px;height:62px}
#tecnologias .tech-info{align-items:center;gap:4px}
#tecnologias .tech-info strong{font-size:15px}
#tecnologias .tech-info small{font-size:12px}
@media(max-width:480px){#tecnologias .tech-card{min-height:145px;padding:14px 8px;gap:10px}#tecnologias .tech-logo-wrap{width:68px;height:68px;flex-basis:68px}#tecnologias .tech-logo-wrap img{width:54px;height:54px}#tecnologias .tech-info strong{font-size:13px}#tecnologias .tech-info small{font-size:11px}}

/* V12 — brand logos without illustrative SVG fallbacks */
.competency-mark{display:grid;place-items:center;width:74px;height:74px;border-radius:17px;background:linear-gradient(135deg,#123a76,#1769d3);border:1px solid #498ce9;color:#fff;font-weight:800;font-size:23px;letter-spacing:.04em;box-shadow:0 8px 26px #0004}
.tech-logo-wrap img{object-fit:contain;max-width:100%;max-height:100%}

/* V13 — imagens PNG fornecidas, legibilidade no fundo escuro */
#tecnologias .tech-logo-wrap:has(.logo-support),
#tecnologias .tech-logo-wrap:has(.logo-aws-local){background:#f5f8fc;border-color:#b7cbe6}
#tecnologias .tech-logo-wrap img.logo-aws-local{width:69px;height:65px;filter:none}
#tecnologias .tech-logo-wrap img.logo-powerbi-local{width:68px;height:66px}
#tecnologias .tech-logo-wrap img.logo-support{width:58px;height:58px}
@media(max-width:480px){#tecnologias .tech-logo-wrap img.logo-aws-local{width:60px;height:56px}#tecnologias .tech-logo-wrap img.logo-powerbi-local{width:58px;height:56px}#tecnologias .tech-logo-wrap img.logo-support{width:51px;height:51px}}

/* V14: ícones PNG locais, legibilidade em tema escuro */
#tecnologias .tech-logo-wrap:has(.logo-github-local),
#tecnologias .tech-logo-wrap:has(.logo-spring-local),
#tecnologias .tech-logo-wrap:has(.logo-git-local),
#tecnologias .tech-logo-wrap:has(.logo-mysql-local){background:#f5f8fc;border-color:#b7cbe6}
#tecnologias .tech-logo-wrap img.logo-github-local{filter:none}
#tecnologias .tech-logo-wrap img.logo-spring-local{width:68px;height:58px}
#tecnologias .tech-logo-wrap img.logo-git-local{width:68px;height:58px}
#tecnologias .tech-logo-wrap img.logo-mysql-local{width:64px;height:64px}
@media(max-width:480px){#tecnologias .tech-logo-wrap img.logo-spring-local,#tecnologias .tech-logo-wrap img.logo-git-local,#tecnologias .tech-logo-wrap img.logo-mysql-local{width:56px;height:52px}}

/* V16 — acabamento profissional e acessibilidade */
html{scroll-behavior:smooth;scroll-padding-top:85px}
body{overflow-x:hidden}
.nav-links a[aria-current="location"]{color:#93c5fd!important}
.nav-links a[aria-current="location"]:not(.nav-cta){text-decoration:underline;text-decoration-color:#3b82f6;text-underline-offset:7px}
.service{transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.service:hover{transform:translateY(-5px);border-color:rgba(96,165,250,.55);box-shadow:0 18px 40px rgba(0,0,0,.18)}
.service-cta{display:inline-flex;align-items:center;min-height:42px}
.project{overflow:hidden;transition:transform .26s ease,box-shadow .26s ease,border-color .26s ease}
.project:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(0,0,0,.24);border-color:rgba(96,165,250,.45)}
.project-art img{object-fit:contain}
.project-links .project-link{transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
a:focus-visible,button:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
[data-reveal]{opacity:1;transform:none}
.js-motion [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js-motion [data-reveal].is-visible{opacity:1;transform:none}
@media(max-width:650px){.project-art{min-height:190px}.service-cta{padding-block:10px}.project-links .project-link{min-height:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.js-motion [data-reveal]{opacity:1;transform:none;transition:none}.service:hover,.project:hover{transform:none}}

/* V17: logotipos locais e acessíveis na seção de contato */
.contact-card a{align-items:center;min-height:69px;gap:12px}
.contact-link-content{display:flex;align-items:center;gap:13px;min-width:0}
.contact-link-content>span{overflow-wrap:anywhere}
.contact-logo{display:block;width:36px;height:36px;object-fit:contain;flex:0 0 36px;background:#f8fafc;border-radius:9px;padding:5px}
.contact-card a:hover .contact-logo{transform:translateY(-2px)}
.contact-logo{transition:transform .2s ease}
@media(max-width:420px){.contact-card{padding:20px}.contact-link-content{gap:9px}.contact-logo{width:32px;height:32px;flex-basis:32px}}
@media(prefers-reduced-motion:reduce){.contact-logo{transition:none}}


/* V18 — ajustes finais para telas pequenas e navegação por toque */
html,body{max-width:100%;overflow-x:clip}
img,svg,video{max-width:100%;height:auto}
.hero-copy,.about-grid>*,.contact-grid>*,.project,.service{min-width:0}
.nav-links a,.filter,.project-link,.service-cta{touch-action:manipulation}
@media(max-width:800px){
  .hero{grid-template-columns:minmax(0,1fr);gap:30px;padding-block:48px 62px}
  .hero-visual{width:min(100%,390px);max-width:100%}
  .portrait{max-width:100%}
  .about-grid,.contact-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .section-head{align-items:start}
  .contact-card{width:100%;min-width:0}
}
@media(max-width:700px){
  .nav{gap:10px}
  .brand{min-width:0;line-height:1.25}
  .nav-links{top:100%;max-height:calc(100dvh - 68px);overflow-y:auto;box-shadow:0 14px 28px #0008}
  .nav-links a{min-height:44px;display:flex;align-items:center}
  .menu-toggle{min-width:44px;min-height:44px;display:grid;place-items:center;flex-shrink:0}
  .hero h1{font-size:clamp(32px,8.8vw,48px);overflow-wrap:break-word}
  .hero p{font-size:15px}
  .float-label{position:static;left:auto;bottom:auto;margin:12px auto 0;width:fit-content;max-width:100%;text-align:center;line-height:1.5}
  .hero-visual{display:flex;flex-direction:column;align-items:center}
  .section{padding-block:58px}
  .section-head{margin-bottom:24px}
  .section-head h2{overflow-wrap:break-word}
  .projects{grid-template-columns:minmax(0,1fr)}
  .project-art{min-width:0}
  .project-links{gap:10px}
  .project-links a{flex:1 1 130px;text-align:center;justify-content:center}
  .filters{gap:8px}
  .filter{min-height:44px}
  .contact-card a{min-width:0}
}
@media(max-width:480px){
  .wrap{width:calc(100% - 28px)}
  .brand{font-size:13px}
  .hero{padding-top:35px}
  .hero h1{font-size:clamp(30px,9vw,40px)}
  .actions{gap:10px}
  .actions .btn{flex:1 1 100%;min-height:46px;text-align:center}
  .hero-tags{gap:6px}
  .hero-tags span{font-size:10px}
  .service{padding:23px 19px}
  .project-content{padding:20px 17px}
  .project-art{height:175px;min-height:175px;gap:12px;font-size:19px}
  .project-art .art-mark{font-size:52px}
  #tecnologias .tech-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #tecnologias .tech-card{min-width:0;padding:13px 7px}
  #tecnologias .tech-info strong{font-size:13px;overflow-wrap:anywhere}
  #tecnologias .tech-info small{font-size:11px}
  .contact-card{padding:17px}
  .contact-link-content{min-width:0}
  .contact-link-content>span{font-size:13px}
  .footer-inner{align-items:flex-start}
}
@media(max-width:340px){
  #tecnologias .tech-grid{grid-template-columns:minmax(0,1fr)}
  .brand{font-size:12px}
  .contact-logo{width:29px;height:29px;flex-basis:29px}
}
@media(hover:none){.service:hover,.project:hover,#tecnologias .tech-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.float-label{transition:none}}
