/* Adriedson Lemos · v2.1: Light Tech como padrão; modo escuro por escolha do visitante. */
:root {
  color-scheme: light;
  --bg: #f7faff; --bg-soft: #edf4fb; --panel: #ffffff; --panel-light: #f2f7fc;
  --heading: #14243c; --ink: #33445f; --muted: #516781; --line: #d7e2ee;
  --cyan: #077b82; --blue: #285ac1; --accent: #077b82; --tag: #eaf3f9;
  --shadow: 0 14px 40px rgba(24,55,92,.08);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080f1d; --bg-soft: #0c1525; --panel: #111e30; --panel-light: #142338;
  --heading: #f3f8ff; --ink: #d0dceb; --muted: #98abc3; --line: #25364e;
  --cyan: #3ee0d0; --blue: #6a9bff; --accent: #77ebdb; --tag: #1a3148;
  --shadow: 0 20px 66px rgba(0,0,0,.22);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button,input { font: inherit; } button { cursor: pointer; }
a { color: inherit; text-decoration: none; } a:hover { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
[hidden] { display: none !important; }
h1,h2,h3,p { margin-top: 0; } h1,h2,h3 { color: var(--heading); line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(2.85rem, 5.5vw, 5.65rem); font-weight: 820; }
h2 { font-size: clamp(2.1rem,3.9vw,3.85rem); font-weight: 790; }
h3 { font-size: 1.3rem; }
.container { width: min(1200px, calc(100% - 52px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 11px 15px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.skip:focus { top: 12px; }
.section { padding-block: clamp(78px,9vw,124px); }
.kicker { display: flex; gap: 12px; align-items: center; color: var(--cyan); letter-spacing: .17em; font-size: .76rem; font-weight: 820; margin: 0 0 20px; }
.small-line { display: inline-block; width: 23px; height: 2px; background: currentColor; }
.accent { color: var(--cyan); }
.gradient-text { background: linear-gradient(100deg,#2059ce 2%,#007f8b 80%); background-clip: text; -webkit-background-clip: text; color: transparent; }
html[data-theme="dark"] .gradient-text { background: linear-gradient(100deg,#68aaff,#63edd9); background-clip:text; -webkit-background-clip:text; }
.section-lead { max-width: 590px; color: var(--muted); line-height: 1.78; font-size: 1.04rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading .section-lead { margin-bottom: 0; }
.section-link, .text-link { color: var(--cyan); font-weight: 750; font-size: .95rem; white-space: nowrap; }
.section-link:hover, .text-link:hover { text-decoration: underline; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 12px; border: 1px solid transparent; padding: 12px 22px; font-size: .93rem; font-weight: 770; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(113deg,#3a8cf0,#3fe2c7); color: #05192a; box-shadow: 0 8px 28px rgba(47,196,212,.15); }
.btn-primary:hover { color: #05192a; background: linear-gradient(113deg,#64a8ff,#65f0d7); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-outline:hover { color: var(--cyan); border-color: var(--cyan); }
.btn-white { background: #fff; color: #0b2536; }
.btn-white:hover { color: #0b2536; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb,var(--bg) 91%,transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-logo { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #257d8b; background: linear-gradient(135deg,#173c55,#0b2437); border-radius: 12px; font-weight: 850; font-size: 17px; color: white; letter-spacing: -.08em; }
.brand-logo span, .footer-brand span { color: #61ecd6; }
.brand-title { display: flex; flex-wrap: wrap; gap: 0; align-content: center; width: 170px; font-size: 1.01rem; color: var(--heading); font-weight: 540; letter-spacing: -.04em; line-height: 1.25; }
.brand-title strong { font-weight: 870; }.brand-title small { width: 100%; color: var(--muted); font-size: .53rem; letter-spacing: .11em; font-weight: 710; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(15px,2.1vw,31px); }
.nav a { font-size: .89rem; color: var(--muted); font-weight: 660; transition: color .2s; }
.nav a:hover { color: var(--heading); }
.nav .nav-contact { border: 1px solid var(--line); border-radius: 11px; padding: 9px 15px; color: var(--heading); }
.nav .nav-contact:hover { border-color: var(--cyan); color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--heading); padding: 6px 13px; font-size: .82rem; font-weight: 760; }
.icon-btn:hover { border-color: var(--cyan); }
.theme-icon { font-size: 1.3rem; line-height: 1; }
.menu-toggle { display: none; width: 43px; font-size: 1.12rem; }

/* Hero */
.hero { isolation: isolate; position: relative; overflow: hidden; padding-top: clamp(80px,8vw,115px); background: radial-gradient(ellipse 50% 55% at 80% 40%,rgba(90,162,220,.15),transparent 72%),linear-gradient(180deg,var(--bg),var(--bg-soft)); }
html[data-theme="dark"] .hero { background: radial-gradient(ellipse 50% 60% at 81% 42%,rgba(32,93,140,.3),transparent 70%),linear-gradient(180deg,var(--bg),var(--bg-soft)); }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(25px,4vw,75px); align-items: center; min-height: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; padding: 8px 13px; border: 1px solid color-mix(in srgb,var(--cyan) 23%,var(--line)); background: color-mix(in srgb,var(--panel) 65%,transparent); border-radius: 40px; color: var(--cyan); letter-spacing: .10em; font-size: .67rem; font-weight: 840; }
.eyebrow-dot,.chip-dot { display: inline-block; width: 7px; height: 7px; flex: none; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(62,224,208,.12); }
.hero-pretitle { margin: 26px 0 11px; color: var(--muted); letter-spacing: .16em; font-weight: 770; font-size: .75rem; }
.hero h1 { max-width: 670px; margin: 0 0 25px; }
.hero-description { max-width: 570px; font-size: 1.1rem; line-height: 1.87; color: var(--muted); margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-pills { margin-top: 31px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-pills span { border: 1px solid var(--line); border-radius: 30px; padding: 6px 12px; font-size: .76rem; color: var(--muted); background: var(--panel); }
.hero-visual { position: relative; height: clamp(350px,40vw,485px); display: grid; place-items: center; }
.visual-grid { position: absolute; inset: 1%; background: radial-gradient(circle at center, transparent 29%,color-mix(in srgb,var(--cyan) 3%,transparent) 31%,transparent 64%),linear-gradient(color-mix(in srgb,var(--cyan) 9%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--cyan) 9%,transparent) 1px,transparent 1px); background-size: auto,31px 31px,31px 31px; mask-image: radial-gradient(circle,black 30%,transparent 74%); }
.visual-ring { position: absolute; width: 84%; aspect-ratio: 1; border: 1px dashed rgba(64,205,210,.31); border-radius: 50%; transform: rotate(-20deg); }
.ring-two { width: 65%; border: 1px solid rgba(57,175,216,.18); transform: rotate(18deg); }
.visual-ring::after { content: ''; position: absolute; top: 16%; right: 14%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.visual-center { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: min(62%,290px); aspect-ratio: 1; background: linear-gradient(145deg,#172e48,#101e32 69%,#143b48); border-radius: 32px; border: 1px solid #38788e; box-shadow: 0 28px 80px rgba(2,15,29,.45),0 0 70px rgba(24,204,184,.07); transform: rotate(-7deg); text-align: center; color: #ecf9ff; }
.visual-center-icon { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 1.85rem; font-weight: 820; color: #67ebd7; }
.visual-center strong { margin: 18px 0; font-size: clamp(1.55rem,3vw,2.7rem); line-height: 1.1; letter-spacing: -.055em; }
.visual-center small { font: 700 .63rem ui-monospace,monospace; letter-spacing: .13em; color: #8bc3ca; }
.visual-chip { position: absolute; padding: 11px 15px; min-width: 124px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; color: var(--heading); box-shadow: var(--shadow); font-weight: 790; font-size: .92rem; }
.visual-chip small { display: block; margin-top: 2px; font-size: .57rem; letter-spacing: .10em; color: var(--muted); }
.chip-top { top: 10%; left: 0; }.chip-right { right: 0; top: 41%; }.chip-bottom { left: 7%; bottom: 9%; }
.visual-coordinate { position: absolute; bottom: 0; right: 0; font: 600 .57rem ui-monospace,monospace; letter-spacing: .16em; color: var(--muted); }
.hero-bottom { padding: 45px 0 25px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; color: var(--muted); }
.hero-bottom a { letter-spacing: 0; font-weight: 730; }

/* Featured */
.featured-section { background: var(--bg-soft); }
.featured-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; min-height: 200px; }
.featured-card { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; box-shadow: 0 12px 42px rgba(0,0,0,.06); transition: transform .2s,border-color .2s; }
.featured-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--cyan) 55%,var(--line)); }
.featured-art { position: relative; aspect-ratio: 16/7.5; background: linear-gradient(135deg,#16344a,#0a202e); border-bottom: 1px solid var(--line); overflow: hidden; }
.featured-art::after { content: 'ILUSTRAÇÃO CONCEITUAL'; position: absolute; bottom: 12px; right: 14px; background: rgba(3,14,24,.8); padding: 4px 8px; border-radius: 5px; font-size: .56rem; letter-spacing: .10em; color: #c7dae3; }
.featured-art img { display:block; width:100%; height:100%; object-fit:cover; }
.featured-body { padding: 26px 29px 30px; }
.featured-overline { display: flex; gap: 15px; align-items: center; justify-content: space-between; color: var(--cyan); font: 750 .66rem ui-monospace,monospace; letter-spacing: .06em; }
.featured-type { color: var(--muted); font: 700 .65rem ui-sans-serif,system-ui,sans-serif; }
.featured-body h3 { font-size: 1.83rem; margin: 18px 0 10px; }
.featured-body p { min-height: 70px; color: var(--muted); margin-bottom: 19px; line-height: 1.7; }
.featured-action { display: inline-flex; align-items: center; margin-top: 20px; color: var(--cyan); font-weight: 780; }
.featured-action:hover { text-decoration: underline; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-tags span { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); border-radius: 7px; background: var(--tag); font-size: .72rem; font-weight: 680; }

/* Catalog */
.catalog-section { background: var(--bg); }
.catalog-counter { align-self: end; display: flex; flex-direction: column; min-width: 120px; border-left: 2px solid var(--cyan); padding-left: 18px; }
.catalog-counter strong { font-size: 2.8rem; line-height: 1.05; color: var(--heading); }.catalog-counter span { font-size: .74rem; color: var(--muted); }
.controls { margin: 25px 0 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; background: var(--panel); color: var(--muted); font-size: .85rem; font-weight: 700; }
.filter:hover { border-color: var(--cyan); color: var(--heading); }
.filter.active { background: var(--cyan); color: #ffffff; border-color: var(--cyan); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); padding: 0 13px; border-radius: 9px; min-height: 43px; min-width: min(100%,285px); }
.search span { font-size: 1.5rem; color: var(--cyan); }.search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: var(--heading); font-size: .88rem; }.search:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.search input::placeholder { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.project-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; transition: transform .2s,border-color .2s; }
.project-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--cyan) 50%,var(--line)); }
.project-artwork { margin: 0; aspect-ratio: 16/8.5; background: var(--panel-light); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-artwork figcaption { position: absolute; bottom: 8px; right: 10px; border-radius: 5px; background: rgba(6,16,27,.82); color: #d2e1f0; font-size: .58rem; padding: 3px 7px; }
.project-card-top { padding: 22px 23px 0; display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.project-icon { display: none; }.project-markers { display: flex; gap: 7px; flex-wrap: wrap; }
.project-kind,.project-stage { font-size: .64rem; font-weight: 750; border-radius: 6px; padding: 4px 7px; color: var(--cyan); background: var(--tag); }
.project-stage { color: var(--muted); background: var(--panel-light); }
.project-card h3 { padding: 0 23px; margin: 14px 0 9px; font-size: 1.38rem; }
.project-card > p { padding: 0 23px; margin-bottom: 17px; color: var(--muted); font-size: .91rem; line-height: 1.73; flex: 1; }
.project-card > .tech-tags { padding: 0 23px 16px; }
.project-version, .project-meta, .project-code-version { margin: 0 23px; font-size: .7rem; color: var(--muted); }
.project-version { font-weight: 740; color: var(--cyan); }.project-meta { margin-bottom: 16px; margin-top: 3px; }
.project-links { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px 23px 23px; margin-top: auto; border-top: 1px solid var(--line); }
.project-link { font-size: .8rem; font-weight: 760; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; color: var(--heading); }
.project-link.code { background: var(--tag); border-color: transparent; color: var(--blue); }
.project-link.apk { background: var(--cyan); color: #082331; border-color: var(--cyan); }
.project-link:hover { border-color: var(--cyan); }
.empty { border: 1px dashed var(--line); padding: 25px; border-radius: 12px; text-align: center; color: var(--muted); }
.catalog-bottom { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin: 23px 0 13px; align-items: center; color: var(--muted); font-size: .87rem; }
.catalog-bottom p { margin: 0; }.catalog-bottom a { font-weight: 740; color: var(--cyan); }
.notice { font-size: .78rem; color: var(--muted); line-height: 1.7; margin: 15px 0 0; }

/* About and experience */
.about-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(45px,7vw,110px); }
.about-copy { padding-top: 25px; }
.about-copy p { font-size: 1.04rem; color: var(--muted); line-height: 1.85; }
.about-copy p + p { margin-top: 22px; }
.about-links { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 27px; }
.about-marks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 33px; }
.about-marks span { color: var(--cyan); padding: 8px 11px; font-size: .68rem; letter-spacing: .09em; border: 1px solid var(--line); border-radius: 7px; }
.expertise-section { background: var(--bg); }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.expertise-card { padding: 27px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.expertise-number { font-size: .67rem; letter-spacing: .12em; font-weight: 740; color: var(--cyan); }
.expertise-icon { margin: 27px 0 18px; font-size: 1.9rem; color: var(--cyan); font-family: ui-monospace,monospace; font-weight: 800; }
.expertise-card h3 { font-size: 1.28rem; margin-bottom: 9px; }.expertise-card p { font-size: .91rem; color: var(--muted); min-height: 62px; }
.education-note { margin-top: 23px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; color: var(--muted); }.education-note strong { color: var(--heading); }
.career-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.career-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,7vw,100px); }
.career-list { border-left: 1px solid var(--line); padding-left: 26px; }
.career-entry { padding: 0 0 27px; margin-bottom: 26px; border-bottom: 1px solid var(--line); position: relative; }
.career-entry::before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); left: -31px; top: 6px; }
.career-entry:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.career-entry span { font-size: .72rem; color: var(--cyan); letter-spacing: .10em; font-weight: 750; }.career-entry h3 { margin: 10px 0; }.career-entry p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.contact-banner-section { background: var(--bg); padding: clamp(64px,7vw,100px) 0; }
.contact-banner { padding: clamp(30px,5vw,65px); background: linear-gradient(105deg,#133e65,#116a72); border: 1px solid #2e8994; border-radius: 24px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.contact-banner .kicker { color: #9cf4e5; }.contact-banner h2 { color: white; margin-bottom: 15px; font-size: clamp(2rem,3.4vw,3.5rem); }.contact-banner h2 span { color: #98f4e7; }.contact-banner p:not(.kicker) { color: #cde9f1; margin-bottom: 0; }.contact-banner .btn { white-space: nowrap; }

/* Contact page */
.contact-hero { position: relative; padding: 66px 0 75px; background: radial-gradient(ellipse 56% 90% at 90% 45%,rgba(23,108,124,.18),transparent),var(--bg-soft); border-bottom: 1px solid var(--line); }
.contact-hero .breadcrumb { display: inline-block; color: var(--muted); font-size: .87rem; font-weight: 680; margin-bottom: 46px; }.contact-hero .breadcrumb:hover { color: var(--cyan); }
.contact-hero h1 { margin-bottom: 17px; }.contact-hero .section-lead { margin-bottom: 0; }
.contact-page-section { padding: 80px 0 100px; }
.contact-page-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,5vw,78px); align-items: start; }
.contact-options h2 { font-size: clamp(1.8rem,2.7vw,2.6rem); margin-bottom: 12px; }.contact-options > p { color: var(--muted); max-width: 570px; margin-bottom: 27px; }
.contact-ways { display: grid; gap: 12px; }
.contact-way { display: flex; align-items: center; gap: 17px; padding: 18px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); min-width: 0; transition: border-color .2s,transform .2s; }
.contact-way:hover { transform: translateX(3px); border-color: var(--cyan); }
.way-icon { display: grid; place-items: center; width: 49px; height: 49px; flex: none; background: var(--tag); color: var(--cyan); border-radius: 11px; font-size: 1.3rem; font-weight: 850; }
.whatsapp-way .way-icon { background: #e3f7eb; color: #146d45; }
html[data-theme="dark"] .whatsapp-way .way-icon { background: #143d35; color: #64e5a3; }
.way-details { display: flex; flex-direction: column; gap: 2px; min-width: 0; }.way-details small { font-size: .64rem; letter-spacing: .12em; color: var(--cyan); font-weight: 780; }.way-details strong { font-size: 1.03rem; color: var(--heading); overflow-wrap: anywhere; }.way-details em { font-size: .77rem; font-style: normal; color: var(--muted); }.way-arrow { margin-left: auto; font-size: 1.2rem; color: var(--cyan); }
.support-panel { border: 1px solid var(--line); background: var(--panel); border-radius: 21px; padding: clamp(25px,4vw,43px); position: relative; overflow: hidden; }
.support-panel::before { content: ''; position: absolute; top: -110px; right: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle,rgba(68,208,197,.16),transparent 67%); pointer-events: none; }
.support-symbol { color: var(--cyan); font-size: 2.2rem; margin-bottom: 14px; }.support-panel h2 { font-size: clamp(1.8rem,2.6vw,2.5rem); }.support-panel > p:not(.kicker) { color: var(--muted); margin-top: 17px; }
.pix-card { margin: 27px 0 20px; padding: 22px; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 14px; }
.pix-card small { color: var(--cyan); letter-spacing: .12em; font-size: .68rem; font-weight: 810; }.pix-value { margin: 10px 0 20px; color: var(--heading); font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 800; overflow-wrap: anywhere; user-select: all; }.pix-card .btn { width: 100%; }.pix-card p { font-size: .76rem; color: var(--muted); margin: 15px 0 0; }
.support-tip { border-top: 1px solid var(--line); padding-top: 16px; }.support-tip strong { color: var(--heading); font-size: .85rem; }.support-tip p { font-size: .79rem; color: var(--muted); margin: 6px 0 0; }
.contact-back { padding: 45px 0 80px; }.contact-back .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 36px; }.contact-back p { color: var(--muted); margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 33px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 40px; }
.footer-left { display: flex; align-items: center; gap: 15px; }.footer-brand { width: 42px; height: 42px; display: grid; place-items: center; color: #f1f9ff; background: #183447; border-radius: 11px; font-weight: 850; }
.footer-left p { font-size: .83rem; color: var(--heading); margin: 0; font-weight: 720; }.footer-left small { color: var(--muted); font-size: .73rem; }
.footer-right { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }.footer-right a { color: var(--muted); font-size: .81rem; font-weight: 650; }.footer-right a:hover { color: var(--cyan); }
.footer-version { width: 100%; border-top: 1px solid var(--line); margin: 12px 0 0; padding-top: 16px; color: var(--muted); font-size: .7rem; }.footer-version a { color: var(--cyan); }

@media(max-width:1100px) { .nav { gap: 13px; } .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .header-inner { gap: 13px; } .nav a { font-size: .82rem; } }
@media(max-width:850px) {
  .menu-toggle { display: inline-flex; }.theme-text { display: none; }.theme-toggle { width: 43px; }
  .nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; margin: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 18px max(26px,calc((100vw - 1200px)/2)); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open { display: flex; }.nav a,.nav .nav-contact { display: block; border: 0; padding: 11px 9px; font-size: .94rem; }
  .hero-layout { grid-template-columns: 1fr; }.hero { padding-top: 65px; }.hero-content { max-width: 670px; }.hero-visual { height: 380px; max-width: 490px; width: 100%; margin: 3px auto 0; }
  .about-layout,.career-layout,.contact-page-grid { grid-template-columns: 1fr; gap: 40px; }.about-copy { padding-top: 0; }
  .expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.expertise-card:last-child { grid-column: span 2; }
  .contact-banner { align-items: flex-start; flex-direction: column; }
}
@media(max-width:620px) {
  .container { width: min(100% - 34px,1200px); }.header-inner { min-height: 68px; }.brand-title { width: 142px; font-size: .92rem; }.brand-title small { font-size: .47rem; }
  .brand-logo { width: 38px; height: 38px; }.section { padding-block: 69px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  h1 { font-size: clamp(2.7rem,10vw,4rem); }.hero h1 { max-width: 550px; }.hero-description { font-size: 1rem; }
  .hero-bottom { padding: 30px 0 20px; font-size: .62rem; }.hero-bottom a { text-align: right; }
  .hero-visual { height: 318px; }.visual-chip { padding: 8px 10px; min-width: 100px; font-size: .76rem; }.visual-chip small { font-size: .51rem; }.visual-center strong { font-size: 1.55rem; }.visual-center-icon { font-size: 1.45rem; }.visual-center small { font-size: .48rem; }
  .featured-grid, .project-grid, .expertise-grid { grid-template-columns: 1fr; }.expertise-card:last-child { grid-column: auto; }.featured-art { aspect-ratio: 16/8.5; }.featured-body { padding: 22px; }.featured-body p { min-height: 0; }
  .catalog-counter { align-self: flex-start; }.controls { align-items: stretch; }.search { flex: 1 0 100%; }.filter { flex: auto; }
  .project-card > p { flex: 0; }.contact-hero { padding: 46px 0 65px; }.contact-hero .breadcrumb { margin-bottom: 34px; }.contact-page-section { padding: 55px 0 65px; }
  .contact-way { padding: 15px; gap: 12px; }.way-icon { width: 44px; height: 44px; }.way-details strong { font-size: .92rem; }
  .contact-back .container { align-items: flex-start; flex-direction: column; }.footer-right { gap: 13px; }
}
@media(max-width:380px) { .eyebrow { font-size: .58rem; }.hero-pills span { font-size: .67rem; }.visual-chip { min-width: 84px; }.chip-top { left: -5px; }.chip-right { right: -4px; }.chip-bottom { left: 0; }.header-actions { gap: 5px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }

/* v2.1: botões, metadados e cards com hierarquia mais curta */
html[data-theme="dark"] .filter.active { color: #07212f; }
.featured-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.featured-links .featured-action { margin: 0; border-radius: 9px; padding: 10px 14px; background: var(--tag); }
.featured-links .project-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.featured-links .project-link.apk { border-color: var(--cyan); }
.featured-body .project-version { margin: 15px 0 2px; }
.featured-body .project-meta { margin: 2px 0 0; }
.project-card > .tech-tags { padding-bottom: 12px; }
.project-link { min-height: 39px; display: inline-flex; align-items: center; }
.project-card > .project-meta { margin-bottom: 12px; }
.contact-hero { padding: 48px 0 48px; }
.contact-hero .breadcrumb { margin-bottom: 26px; }
.contact-page-section { padding: 54px 0 64px; }
.support-panel { padding: clamp(22px,3vw,34px); }
.pix-card { margin: 20px 0 17px; padding: 18px; }
.contact-back { padding: 20px 0 58px; }
.contact-way-group { display: flex; min-width: 0; gap: 9px; align-items: stretch; }
.contact-way-group .contact-way { flex: 1; }
.contact-copy { flex: none; align-self: center; min-height: 42px; padding: 8px 11px; background: var(--tag); color: var(--cyan); border: 1px solid var(--line); border-radius: 10px; font-size: .79rem; font-weight: 780; }
.contact-copy:hover { border-color: var(--cyan); }
.copy-feedback { color: var(--muted); font-size: .79rem; margin: 8px 0 1px; min-height: 1.45em; }
.copy-feedback.is-success { color: #087244; font-weight: 700; }
html[data-theme="dark"] .copy-feedback.is-success { color: #63e7a0; }

/* Páginas individuais de projetos, sem conteúdo inventado ou dependência de JS para o texto */
.detail-hero { padding: clamp(38px,6vw,75px) 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.detail-breadcrumb { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 27px; color: var(--cyan); font-weight: 730; font-size: .86rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); gap: clamp(22px,5vw,65px); align-items: center; }
.detail-hero h1 { max-width: 720px; margin-bottom: 20px; }
.detail-hero p.detail-summary { color: var(--muted); font-size: clamp(.97rem,1.5vw,1.13rem); line-height: 1.75; max-width: 680px; }
.detail-cover { margin: 0; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--panel); }
.detail-cover img { display: block; width: 100%; height: auto; }
.detail-cover figcaption { padding: 7px 14px; font-size: .74rem; color: var(--muted); }
.detail-content { padding: clamp(50px,7vw,86px) 0; }
.detail-columns { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: clamp(25px,5vw,70px); }
.detail-section { margin-bottom: 42px; }
.detail-section h2 { font-size: clamp(1.55rem,2.4vw,2.2rem); margin-bottom: 15px; }
.detail-section p,.detail-section li { color: var(--muted); line-height: 1.75; }
.detail-list { margin: 0; padding-left: 22px; }.detail-list li + li { margin-top: 10px; }
.detail-panel { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 24px; position: sticky; top: 100px; }
.detail-panel h2 { font-size: 1.3rem; }
.detail-panel .tech-tags { margin: 18px 0; }
.detail-panel .project-version,.detail-panel .project-meta { margin: 6px 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.detail-actions .project-link { margin: 0; }
.detail-footnote { margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
@media(max-width:850px) { .detail-layout,.detail-columns { grid-template-columns: 1fr; } .detail-panel { position: static; } .detail-cover { max-width: 650px; } }
@media(max-width:620px) {
  .project-grid { gap: 13px; }
  .project-card { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: start; }
  .project-artwork { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: auto; height: 96px; margin: 13px 9px 0 13px; border-radius: 10px; border: 1px solid var(--line); }
  .project-card-top { grid-column: 2; grid-row: 1; padding: 13px 13px 0 0; }
  .project-card h3 { grid-column: 2; grid-row: 2; margin: 5px 0 3px; padding: 0 13px 0 0; font-size: 1.15rem; }
  .project-card > p { grid-column: 2; grid-row: 3; margin: 0 0 10px; padding: 0 13px 0 0; font-size: .79rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .project-kind,.project-stage { font-size: .59rem; }
  .project-card > .tech-tags { grid-column: 1 / -1; grid-row: 4; padding: 7px 13px; }
  .project-card > .project-version { grid-column: 1 / -1; grid-row: 5; margin: 0 13px; }
  .project-card > .project-meta { grid-column: 1 / -1; grid-row: 6; margin: 2px 13px 8px; }
  .project-card > .project-links { grid-column: 1 / -1; grid-row: 7; padding: 11px 13px 14px; }
  .project-links .project-link { flex: 1; justify-content: center; }
  .project-artwork figcaption { font-size: .5rem; left: 4px; right: auto; bottom: 4px; padding: 2px 4px; }
  .contact-hero { padding: 30px 0 40px; }.contact-hero .breadcrumb { margin-bottom: 21px; }
  .contact-page-section { padding: 40px 0 48px; }.contact-back { padding: 12px 0 46px; }
  .contact-copy { padding-inline: 10px; }
  .detail-hero { padding: 32px 0 39px; }.detail-cover { max-width: 100%; }
  .detail-content { padding: 42px 0; }.detail-panel { padding: 20px; }
  .featured-links .project-link { flex: 1; }.featured-links .featured-action { flex: 1; text-align: center; justify-content: center; }
}
@media(max-width:380px) { .project-card { grid-template-columns: 94px minmax(0,1fr); } .project-artwork { height: 85px; } .project-stage { display: none; } }
