/* ============================================================
   KAIQUE LOPES — v5.0
   Hero novo · Projetos v2 · Footer v4
   Bebas Neue + DM Sans + DM Mono
   Acento: âmbar #E8A03E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@300;400&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; border:0; }

:root {
    --bg:     #0d0e10;
    --bg2:    #111316;
    --bg3:    #181a1e;
    --amber:  #E8A03E;
    --amberD: rgba(232,160,62,0.10);
    --white:  #ECEEF1;
    --muted:  #6b7280;
    --dim:    rgba(255,255,255,0.055);
    --fd:     'Bebas Neue', sans-serif;
    --fb:     'DM Sans', sans-serif;
    --fm:     'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--fb);
    overflow-x: hidden;
}

/* NOISE overlay */
.noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 60px;
    transition: background 0.35s, padding 0.3s, border-color 0.35s;
    border-bottom: 1px solid transparent;
}
#header.scrolled {
    background: rgba(13,14,16,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--dim);
    padding: 16px 60px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    /* limita a largura máxima — nunca vai crescer além disso */
    width: 40px;
    height: 40px;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}
.logo-wrap:hover .logo-img { opacity: 0.7; }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 44px;
}
.nav-desktop a {
    font-family: var(--fm);
    font-size: 0.72rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--white); }
.nav-cta { color: var(--amber) !important; }
.nav-cta:hover { opacity: 0.75; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    cursor: pointer;
    z-index: 201;
    padding: 4px;
    position: relative;
}
.hamburger span {
    display: block;
    height: 1.5px;
    background: var(--white);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.2s, width 0.3s;
}
.hamburger span:first-child { width: 22px; }
.hamburger span:last-child  { width: 14px; }
.hamburger.open span:first-child { transform: rotate(45deg) translate(5px, 5px); width: 22px; }
.hamburger.open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); width: 22px; }

.menu-mobile {
    position: fixed;
    top: 0; right: -100%;
    width: 68%;
    height: 100vh;
    background: var(--bg2);
    border-left: 1px solid var(--dim);
    padding: 96px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: right 0.42s cubic-bezier(0.77,0,0.175,1);
    z-index: 150;
}
.menu-mobile.active { right: 0; }
.menu-mobile a {
    font-family: var(--fb);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.menu-mobile a:hover { color: var(--white); }

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99;
}
.overlay.active { display: block; }

/* ══════════════════════════════════════
   HERO — split: nome à esquerda, conteúdo à direita
══════════════════════════════════════ */
#home {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* corpo principal: dois lados */
.hero-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 120px 60px 48px;
    gap: 0;
}

/* ── ESQUERDA ── */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 60px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--fm);
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.07em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.5s 0.05s ease forwards;
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 9px var(--amber);
    animation: dotPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dotPulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.hero-name {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 28px;
    gap: 0;
}
.hn-ola {
    font-family: var(--fm);
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    color: var(--muted);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.5s 0.08s ease forwards;
}
.hn-kaique {
    font-family: var(--fd);
    font-size: clamp(3.6rem, 7vw, 7rem);
    color: var(--white);
    letter-spacing: 3px;
    line-height: 0.88;
    display: block;
    opacity: 0;
    transform: translateY(60px);
    animation: slideUp 0.85s cubic-bezier(0.16,1,0.3,1) 0.18s forwards;
}
.hn-lopes {
    font-family: var(--fd);
    font-size: clamp(3.6rem, 7vw, 7rem);
    color: var(--white);
    letter-spacing: 3px;
    line-height: 0.88;
    display: block;
    opacity: 0;
    transform: translateY(60px);
    animation: slideUp 0.85s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
.hn-dot {
    color: var(--amber);
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.5s 0.52s ease forwards;
}
.role-pill {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    border: 1px solid var(--dim);
    padding: 7px 14px;
    background: var(--bg3);
}
.role-slash {
    font-family: var(--fm);
    font-size: 0.65rem;
    color: var(--amber);
    opacity: 0.5;
}

/* ── DIVISOR ── */
.hero-divider {
    width: 1px;
    height: 60%;
    background: var(--dim);
    flex-shrink: 0;
    opacity: 0;
    animation: fadeIn 0.4s 0.6s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ── DIREITA ── */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding-left: 60px;
    opacity: 0;
    animation: fadeUp 0.6s 0.4s ease forwards;
}

.hero-desc {
    font-family: var(--fb);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.85;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-numbers {
    display: flex;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--dim);
}
.hn-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 24px;
}
.hn-item:first-child { padding-left: 0; }
.hn-item strong {
    font-family: var(--fd);
    font-size: 2.2rem;
    color: var(--amber);
    letter-spacing: 2px;
    line-height: 1;
}
.hn-item span {
    font-family: var(--fm);
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}
.hn-div {
    width: 1px;
    height: 32px;
    background: var(--dim);
    flex-shrink: 0;
}

/* ── SKILL BAR ── */
.hero-skillbar {
    border-top: 1px solid var(--dim);
    background: var(--bg2);
    padding: 14px 0;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.5s 0.8s ease forwards;
}
.skillbar-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.skillbar-track:hover { animation-play-state: paused; }
.skillbar-track span {
    font-family: var(--fm);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.sb-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--amber);
    opacity: 0.6;
    flex-shrink: 0;
    display: inline-block;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   BOTÕES
══════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    font-family: var(--fm);
    font-size: 0.76rem;
    color: var(--bg);
    background: var(--amber);
    padding: 12px 26px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s, box-shadow 0.3s;
    white-space: nowrap;
}
.btn-primary:hover {
    opacity: 0.85;
    box-shadow: 0 0 28px rgba(232,160,62,0.22);
}
.btn-ghost {
    font-family: var(--fm);
    font-size: 0.76rem;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--dim);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn-ghost:hover { color: var(--white); border-color: var(--muted); }

/* ══════════════════════════════════════
   SEÇÃO — cabeçalho padrão
══════════════════════════════════════ */
section:not(#home) {
    position: relative;
    z-index: 1;
    padding: 100px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

/* seções com fundo alternado precisam ser full-width */
#projetos, #budget-section {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
#projetos > *, #budget-section > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
}

.sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dim);
}
.sec-title {
    font-family: var(--fd);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1;
}
.sec-accent { color: var(--amber); }
.sec-link {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.sec-link:hover { color: var(--amber); }

/* ══════════════════════════════════════
   PROJETOS — estilo v2 restaurado
══════════════════════════════════════ */
#projetos {
    background: var(--bg2);
    border-top: 1px solid var(--dim);
    border-bottom: 1px solid var(--dim);
}

.proj-list { display: flex; flex-direction: column; }

.proj-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    border-bottom: 1px solid var(--dim);
    text-decoration: none;
    gap: 20px;
    position: relative;
    transition: background 0.2s;
}
/* fundo hover que expande além das laterais */
.proj-item::before {
    content: '';
    position: absolute;
    inset: 0 -60px;
    background: var(--amberD);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.proj-item:hover::before { opacity: 1; }
.proj-item:hover .pi-arrow { transform: rotate(0deg); color: var(--amber); }
.proj-item:hover h3 { color: var(--amber); }

.pi-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
}
.pi-num {
    font-family: var(--fm);
    font-size: 0.62rem;
    color: var(--muted);
    opacity: 0.4;
    flex-shrink: 0;
    min-width: 24px;
}
.pi-info h3 {
    font-family: var(--fb);
    font-weight: 500;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    color: var(--white);
    transition: color 0.25s;
    letter-spacing: -0.01em;
}
.pi-info p {
    font-family: var(--fm);
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 5px;
}

.pi-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}
.pi-tags {
    display: flex;
    gap: 7px;
}
.pi-tags span {
    font-family: var(--fm);
    font-size: 0.6rem;
    color: var(--muted);
    border: 1px solid var(--dim);
    padding: 4px 10px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pi-arrow {
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.25s, transform 0.25s;
    transform: rotate(-45deg);
}

/* ══════════════════════════════════════
   SOBRE
══════════════════════════════════════ */
#about { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.about-photo {
    position: relative;
}
.about-photo img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.4s;
}
.about-photo:hover img { filter: grayscale(0%); }

/* cantos decorativos âmbar */
.photo-corners { position: absolute; inset: 0; pointer-events: none; }
.c {
    position: absolute;
    width: 22px; height: 22px;
}
.c.tl { top: -5px; left: -5px; border-top: 1.5px solid var(--amber); border-left: 1.5px solid var(--amber); }
.c.tr { top: -5px; right: -5px; border-top: 1.5px solid var(--amber); border-right: 1.5px solid var(--amber); }
.c.bl { bottom: -5px; left: -5px; border-bottom: 1.5px solid var(--amber); border-left: 1.5px solid var(--amber); }
.c.br { bottom: -5px; right: -5px; border-bottom: 1.5px solid var(--amber); border-right: 1.5px solid var(--amber); }

.about-headline {
    font-family: var(--fd);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: 2px;
    line-height: 0.94;
    color: var(--white);
    margin-bottom: 26px;
}
.about-headline em { font-style: normal; color: var(--amber); }

.about-content p {
    font-family: var(--fb);
    font-size: 0.86rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 12px;
}
.about-content strong { color: var(--white); font-weight: 500; }

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 32px;
}
.about-chips span {
    font-family: var(--fm);
    font-size: 0.65rem;
    color: var(--muted);
    border: 1px solid var(--dim);
    padding: 6px 14px;
    letter-spacing: 0.04em;
    transition: border-color 0.2s, color 0.2s;
}
.about-chips span:hover { border-color: rgba(232,160,62,0.4); color: var(--white); }

.about-actions { display: flex; align-items: center; gap: 20px; }

/* ══════════════════════════════════════
   ORÇAMENTO
══════════════════════════════════════ */
#budget-section {
    background: var(--bg2);
    border-top: 1px solid var(--dim);
}

.budget-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: start;
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.budget-copy h3 {
    font-family: var(--fd);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1;
    margin-bottom: 16px;
}
.budget-copy p {
    font-family: var(--fb);
    font-size: 0.84rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
}
.budget-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.budget-list li {
    font-family: var(--fm);
    font-size: 0.72rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.budget-list li::before { content: '—'; color: var(--amber); font-size: 0.6rem; }

/* card form */
.budget-card {
    background: var(--bg3);
    border: 1px solid var(--dim);
    padding: 30px 28px;
}

.progress-wrap {
    height: 1px;
    background: var(--dim);
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    width: 25%;
    background: var(--amber);
    transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
}
.progress-label {
    font-family: var(--fm);
    font-size: 0.6rem;
    color: var(--muted);
    text-align: right;
    margin-bottom: 24px;
    opacity: 0.5;
}

.step { display: none; animation: stepIn 0.3s ease; }
.step.active { display: block; }
@keyframes stepIn {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

.step h4 {
    font-family: var(--fb);
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.4;
}
.step h4 em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--muted);
}

.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
    font-family: var(--fm);
    font-size: 0.76rem;
    color: var(--muted);
    background: var(--bg2);
    border: 1px solid var(--dim);
    padding: 13px 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    width: 100%;
}
.opt:hover { border-color: rgba(232,160,62,0.4); color: var(--white); }
.opt.chosen { border-color: var(--amber); color: var(--amber); }

input, textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg2);
    border: 1px solid var(--dim);
    color: var(--white);
    font-family: var(--fm);
    font-size: 0.76rem;
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.2s;
    resize: none;
}
input:focus, textarea:focus { border-color: rgba(232,160,62,0.4); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.4; }
textarea { height: 84px; }

.form-row { display: flex; gap: 10px; margin-top: 8px; }

.btn-back {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--muted);
    background: none;
    border: 1px solid var(--dim);
    padding: 10px 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    width: auto;
}
.btn-back:hover { color: var(--white); border-color: var(--muted); }

.btn-adv {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--bg);
    background: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    width: auto;
}
.btn-adv:hover { opacity: 0.8; }

.btn-send {
    font-family: var(--fm);
    font-size: 0.75rem;
    color: var(--bg);
    background: var(--amber);
    border: none;
    padding: 13px 20px;
    cursor: pointer;
    font-weight: 400;
    width: 100%;
    transition: opacity 0.2s, box-shadow 0.3s;
    margin-top: 4px;
    letter-spacing: 0.03em;
}
.btn-send:hover {
    opacity: 0.88;
    box-shadow: 0 0 22px rgba(232,160,62,0.2);
}

/* ══════════════════════════════════════
   FOOTER — v4 mantido fielmente
══════════════════════════════════════ */
footer {
    background: var(--bg);
    border-top: 1px solid var(--dim);
    padding: 72px 60px 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 40px;
}

.fh-small {
    display: block;
    font-family: var(--fm);
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}
.footer-inner h2 {
    font-family: var(--fd);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    letter-spacing: 3px;
    color: var(--white);
    line-height: 0.88;
}
.footer-inner h2 span { color: var(--amber); }

.footer-right {
    display: flex;
    gap: 48px;
    align-items: flex-end;
    padding-bottom: 4px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flg-label {
    font-family: var(--fm);
    font-size: 0.58rem;
    color: var(--amber);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2px;
}

.fc-link {
    font-family: var(--fm);
    font-size: 0.72rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.fc-link:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--dim);
    padding-top: 22px;
}
.footer-bottom span {
    font-family: var(--fm);
    font-size: 0.62rem;
    color: var(--muted);
    opacity: 0.35;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero-body { grid-template-columns: 1fr; grid-template-rows: auto; padding: 110px 40px 40px; }
    .hero-divider { display: none; }
    .hero-left { padding-right: 0; padding-bottom: 40px; border-bottom: 1px solid var(--dim); margin-bottom: 40px; }
    .hero-right { padding-left: 0; }
    .budget-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { display: flex; justify-content: center; }
    .about-photo > div.about-photo-inner,
    .about-photo { width: fit-content; margin: 0 auto; }
    .about-photo img { max-width: 240px; width: 240px; }
    .about-photo .c { width: 16px; height: 16px; }
    .about-photo .c.tl { top: -4px; left: -4px; }
    .about-photo .c.tr { top: -4px; right: -4px; }
    .about-photo .c.bl { bottom: -4px; left: -4px; }
    .about-photo .c.br { bottom: -4px; right: -4px; }
}

@media (max-width: 768px) {
    #header { padding: 18px 24px; }
    #header.scrolled { padding: 13px 24px; }
    .nav-desktop { display: none; }
    .hamburger { display: flex; }
    .logo-wrap { width: 32px; height: 32px; }

    #home { min-height: 100svh; }
    .hero-body { padding: 90px 24px 36px; }
    .hn-ola { font-size: 0.68rem; }
    .hn-kaique, .hn-lopes { font-size: clamp(2.8rem, 13vw, 5rem); letter-spacing: 2px; }
    .hero-skillbar { padding: 10px 0; }
    .skillbar-track { gap: 20px; animation-duration: 22s; }
    .skillbar-track span { font-size: 0.6rem; }

    section:not(#home) { padding: 72px 24px; }
    #projetos > *, #budget-section > * { padding-left: 24px; padding-right: 24px; }
    .budget-grid { padding-left: 24px; padding-right: 24px; }

    .pi-tags { display: none; }
    .hn-div { display: none; }
    .hn-item { padding: 0 12px; }
    .hn-item:first-child { padding-left: 0; }

    footer { padding: 52px 24px 32px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
    .footer-right { flex-direction: row; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}