/* ─────────────────────────────────────────────
   PORTFOLIO ANNY — style.css
   ───────────────────────────────────────────── */

/* ── RESET & TOKENS ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg-dark: #080808;
  --clr-bg-mid:  #0d0d0d;
  --clr-bg-light: #ffffff;
  --clr-bg-soft:  #f7f7f7;
  --clr-accent:  #8100FF;
  --clr-accent-dim: rgba(129, 0, 255, .12);
  --clr-text-light: rgba(255,255,255,.75);
  --clr-text-muted: rgba(255,255,255,.4);
  --clr-border-dark: rgba(255,255,255,.08);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --radius-card: 20px;
  --radius-sm: 12px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--clr-bg-light);
  color: #111;
  cursor: none;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { cursor: none; }
button { cursor: none; }

/* ── SPLASH SCREEN ──────────────────────────── */
#splash {
  position: fixed; inset: 0;
  background: #080808;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}

.splash-bird {
  width: clamp(32px, 6vw, 52px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  margin-bottom: 1rem;
}

/* Wrap: bird em cima, nome embaixo */
.splash-name-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}

/* Texto — revela da esquerda pra direita como se fosse escrito */
.splash-name {
  font-family: 'Nanum Pen Script', cursive;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: #fff;
  letter-spacing: .03em;
  text-shadow: 0 0 30px rgba(255,255,255,.15);
  white-space: nowrap;

  /* começa escondido; JS adiciona .ready para iniciar a animação */
  clip-path: inset(0 100% 0 0);
}
.splash-name.ready {
  animation:
    writeReveal 1.8s cubic-bezier(.4,0,.2,1) forwards,
    birdFloat 5s ease-in-out 1.8s infinite;
}

@keyframes writeReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0% 0 0); }
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes cursorFade {
  to { opacity: 0; }
}

@keyframes splashFadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ── CUSTOM CURSOR ──────────────────────────── */
.cursor {
  width: 9px; height: 9px;
  background: #fff;
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .06s linear, width .2s ease, height .2s ease, background .2s ease;
}
.cursor.hovering {
  width: 13px; height: 13px;
  background: var(--clr-accent);
}
#cursor-trail {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  width: 100vw; height: 100vh;
}

/* ── SCROLL PROGRESS ────────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--clr-accent);
  z-index: 10000;
  transition: width .08s linear;
  border-radius: 0 3px 3px 0;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0 1.4rem;
  height: 56px;
  width: min(960px, 92vw);
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 1rem;
  background: rgba(12,12,12,.75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 60px;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
  transition: background .4s ease, box-shadow .4s ease;
}
nav.scrolled {
  background: rgba(8,8,8,.95);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-bird { width: 26px; height: auto; filter: brightness(0) invert(1); flex-shrink: 0; }
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem;
  color: #fff; letter-spacing: -.5px;
}

.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem; list-style: none; flex-wrap: nowrap;
  flex: 1;
}
.nav-links a {
  color: var(--clr-text-light);
  text-decoration: none; font-size: .82rem;
  font-weight: 500; letter-spacing: .2px;
  transition: color .2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1.5px;
  background: var(--clr-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-orcamento {
  background: var(--clr-accent); color: #fff;
  border: none; border-radius: 30px;
  padding: .5rem 1.3rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .82rem;
  text-decoration: none;
  letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: .4rem;
  flex-shrink: 0; white-space: nowrap;
}
.btn-arrow {
  width: 11px; height: 11px;
  filter: brightness(0) invert(1);
  transition: transform .2s;
}
.btn-orcamento:hover .btn-arrow { transform: translate(2px, -2px); }
.btn-orcamento:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(129,0,255,.5);
}

.nav-hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px; background: none; border: none;
  padding: 4px;
}

@media (max-width: 720px) {
  .nav-hamburger { display: flex !important; }
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE MENU ────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: #080808;
  z-index: 900;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin-bottom: 1.5rem; }
.mobile-link {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: #fff; text-decoration: none;
  transition: color .2s;
}
.mobile-link:hover { color: var(--clr-accent); }
.mobile-orcamento { margin-top: 1rem; font-size: 1rem; padding: .8rem 2.5rem; }

/* ── SECTION BASE ────────────────────────────── */
section { padding: 100px 5%; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--clr-accent); margin-bottom: .7rem;
}
.section-title-dark {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff; margin-bottom: 2.5rem; line-height: 1.1;
}
.section-title-dark span { color: var(--clr-accent); }
.section-sub-dark {
  color: var(--clr-text-muted);
  font-size: .95rem; margin-bottom: 2rem; margin-top: -.5rem;
}

/* ── HERO ─────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #080808 0%, #0e0014 60%, #1a0030 100%);
  display: flex; align-items: center;
  padding: 110px 5% 80px;
  position: relative; overflow: hidden;
}

.hero-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' 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)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 250px;
}
.hero-glow {
  position: absolute; top: -120px; right: 10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(129,0,255,.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:.5} 50%{opacity:.9} }

.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--clr-accent-dim);
  border: 1px solid rgba(129,0,255,.25);
  color: var(--clr-accent); border-radius: 30px;
  padding: .3rem .9rem; font-size: .75rem; font-weight: 500;
  letter-spacing: .5px; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s .2s ease forwards;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clr-accent);
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400; font-size: clamp(2.4rem, 4.8vw, 4rem);
  color: #fff; line-height: 1.1;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s .35s ease forwards;
}
.hero-title .accent {
  font-weight: 800;
  background: linear-gradient(90deg, #8100FF 0%, #b060ff 50%, #8100FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem; line-height: 1.7;
  margin-top: 1.4rem; max-width: 520px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s .5s ease forwards;
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-desc {
  color: rgba(255,255,255,.45);
  font-size: .88rem; line-height: 1.75;
  margin-top: 1.6rem; max-width: 480px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .65s ease forwards;
}
.hero-desc strong { color: rgba(255,255,255,.7); font-weight: 600; }

.hero-ctas {
  display: flex; gap: 1rem; margin-top: 2.4rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .8s ease forwards;
}
.btn-primary {
  background: var(--clr-accent); color: #fff;
  padding: .75rem 2rem; border-radius: 30px;
  font-weight: 700; font-size: .9rem;
  text-decoration: none; letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(129,0,255,.5);
}
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.2); color: #fff;
  padding: .73rem 1.8rem; border-radius: 30px;
  font-weight: 500; font-size: .9rem;
  text-decoration: none; letter-spacing: .2px;
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(129,0,255,.05);
}

.hero-img-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateX(40px);
  animation: fadeLeft .9s .4s ease forwards;
}
.hero-img-card {
  position: relative;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: #8100FF;
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(129,0,255,.25),
    0 0 0 14px rgba(129,0,255,.1),
    0 30px 80px rgba(129,0,255,.35);
  animation: float 4s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* ── HERO SOCIALS FIXED (bottom of image col) ── */
.hero-socials-fixed {
  display: flex; gap: .55rem; margin-top: 1.8rem;
  flex-wrap: wrap; justify-content: center;
}
.social-icon-pill {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(129,0,255,.6);
  background: rgba(129,0,255,.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0;
  transition: border-color .25s, background .25s, transform .2s;
}
.social-icon-pill img {
  width: 30px; height: 30px;
  object-fit: contain;
  opacity: .85;
  transition: opacity .2s;
}
.social-icon-pill:hover {
  border-color: var(--clr-accent);
  background: rgba(129,0,255,.22);
  transform: translateY(-3px);
}
.social-icon-pill:hover img { opacity: 1; }


/* ── MARQUEE ─────────────────────────────────── */
.marquee-section {
  background: #fff;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  padding: 1.5rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3.5rem;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: #ccc; letter-spacing: 1.5px;
  text-transform: uppercase; flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ───────────────────────────────────── */
#about { background: var(--clr-bg-light); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
  margin-top: 1.5rem;
}
.about-heading {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15; color: #111;
}
.about-heading em { font-style: normal; color: var(--clr-accent); }

.about-text {
  color: #555; font-size: .97rem; line-height: 1.8;
}
.about-year {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700;
  font-size: .75rem; color: #fff;
  background: var(--clr-accent);
  padding: .2rem .6rem; border-radius: 6px;
  margin-right: .4rem;
}

.about-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.2rem;
  color: #111; line-height: 1;
}
.stat-label { color: #999; font-size: .82rem; }

/* ── SKILLS ──────────────────────────────────── */
#skills {
  background: var(--clr-bg-mid);
  padding-bottom: 80px;
}
.skills-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 5rem;
}
.skills-scroll-wrap {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.skills-scroll-wrap::-webkit-scrollbar {
  display: none;
}
.skills-grid {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  padding-bottom: .25rem;
  width: max-content;
}
.skills-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-dark);
  background: rgba(255,255,255,.04);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.skills-arrow:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  transform: scale(1.1);
}
.skill-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--clr-border-dark);
  border-radius: var(--radius-card);
  padding: 1.5rem 1rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  text-align: center;
  flex-shrink: 0;
  width: 155px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.skill-card:hover {
  transform: translateY(-7px);
  border-color: rgba(129,0,255,.4);
  background: rgba(129,0,255,.05);
}
.skill-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  border-radius: 14px;
}
.skill-name {
  color: #fff; font-size: .88rem;
  font-weight: 600; font-family: var(--font-display);
}
.skill-desc { color: rgba(255,255,255,.35); font-size: .73rem; line-height: 1.4; }

/* ── APPS ─────────────────────────────────────── */
#apps { background: var(--clr-bg-mid); padding-top: 0; }
.apps-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.8rem; margin-top: 1rem;
}
.app-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--clr-border-dark);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129,0,255,.35);
}
.app-header {
  background: rgba(255,255,255,.04);
  padding: 1.8rem; display: flex; align-items: center; gap: 1.2rem;
  border-bottom: 1px solid var(--clr-border-dark);
}
.app-logo-box {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--clr-border-dark);
} 
.app-logo-box img {
  width: 110%; height: 110%;
  object-fit: contain;
}
.app-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.2rem; color: #fff;
}
.app-stack { color: var(--clr-accent); font-size: .78rem; font-weight: 500; }
.app-body { padding: 1.8rem; }
.app-body p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.7; }
.app-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.2rem;
}
.app-tags span {
  font-size: .72rem; font-weight: 600; letter-spacing: .5px;
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
  border: 1px solid rgba(129,0,255,.2);
  padding: .25rem .7rem; border-radius: 20px;
}
.app-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.2rem;
  padding: .55rem 1.2rem;
  border-radius: 40px;
  border: 1px solid var(--clr-accent);
  background: var(--clr-accent-dim);
  color: var(--clr-accent);
  font-size: .82rem; font-weight: 600; letter-spacing: .3px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.app-cta:hover {
  background: var(--clr-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(129,0,255,.3);
}
.app-cta .btn-arrow {
  width: 14px; height: 14px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(90%) saturate(5000%) hue-rotate(265deg);
  transition: filter var(--transition);
}
.app-cta:hover .btn-arrow {
  filter: brightness(0) invert(1);
}

/* ── DESIGN TICKER ────────────────────────────── */
.design-ticker {
  background: var(--clr-accent);
  padding: .8rem 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 2.5rem;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem;
  color: #fff; letter-spacing: 2px;
  text-transform: uppercase; flex-shrink: 0;
}

/* ── TOOLS ───────────────────────────────────── */
#tools { background: var(--clr-bg-light); }
.tools-sub {
  color: #888; font-size: .9rem; margin-top: .6rem; margin-bottom: 2.8rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.tool-card {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #eee; border-radius: var(--radius-card);
  background: #fff;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-accent);
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
}
.tool-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  background: transparent;
}
.tool-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.tool-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; color: #111; margin-bottom: .25rem;
}
.tool-desc { color: #888; font-size: .82rem; line-height: 1.4; }

/* ── PROJECTS ─────────────────────────────────── */
#projects { background: var(--clr-bg-soft); }
.projects-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 2.5rem;
}
.btn-ghost-dark {
  border: 1.5px solid #ddd; color: #333;
  padding: .6rem 1.4rem; border-radius: 30px;
  font-size: .85rem; font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-ghost-dark:hover { border-color: #111; color: #111; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.2rem;
}
.project-card {
  border-radius: var(--radius-card); overflow: hidden;
  position: relative;
  transition: transform var(--transition);
}
.project-card:hover { transform: scale(1.025); }
.project-card.big { grid-column: span 2; }
.project-img {
  width: 100%; padding-top: 65%;
  position: relative; overflow: hidden;
  min-height: 220px;
}
.project-card.big .project-img { padding-top: 55%; }
.project-img--decolar {
  background: #0d1b2e url('../assets/clinica-decolar.png') center/cover no-repeat;
}
.project-img--ej {
  background: #1a0a00 url('../assets/banner-ej.png') center/cover no-repeat;
}
.project-img--sm {
  background: #0a0a0a url('../assets/rigon-sm.png') center/cover no-repeat;
}
.project-img--3d {
  background: #0a0a0a url('../assets/3d-animacao.png') center/cover no-repeat;
}
.project-img--ilus {
  background: #0a0a0a url('../assets/ilustracoes.png') center/cover no-repeat;
}
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  justify-content: flex-end; gap: .3rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: 1.5px;
  color: #fff; text-transform: uppercase;
  background: var(--clr-accent);
  padding: .2rem .7rem;
  border-radius: 20px;
}
.project-overlay h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; color: #fff;
}
.project-overlay p {
  color: rgba(255,255,255,.65); font-size: .8rem; line-height: 1.4;
}

/* ── FOOTER ──────────────────────────────────── */
#contact {
  background: var(--clr-bg-dark);
  color: #fff;
  padding: 80px 5% 48px;
  overflow: hidden;
  position: relative;
}

/* Glow roxo canto inferior direito */
.footer-glow {
  position: absolute; bottom: -100px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(129,0,255,.45) 0%, transparent 70%);
  pointer-events: none; filter: blur(40px);
}

/* Topo: bird + lets talk | nav links */
.footer-top {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-hero {
  display: flex; align-items: center; gap: 2.5rem;
}

.footer-bird {
  width: clamp(100px, 14vw, 190px);
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.lets-talk {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: .95;
  color: #fff; text-decoration: none;
  transition: color .2s;
}
.lets-talk:hover { color: rgba(255,255,255,.85); }
.lets-talk span { display: flex; align-items: center; gap: .3em; }

.footer-arrow {
  width: clamp(1.8rem, 4vw, 4rem);
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.lets-talk:hover .footer-arrow { transform: translate(6px, -6px); }

/* Nav links lado direito */
.footer-nav {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: .2rem;
  flex-shrink: 0;
}
.footer-nav a {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 2rem);
  color: rgba(255,255,255,.6);
  text-decoration: none; line-height: 1.6;
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }

/* Social links em grid 4 colunas */
.footer-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 2.5rem;
}
.footer-social-link {
  display: flex; align-items: center; gap: .55rem;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  font-weight: 500; color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}
.footer-social-link img {
  width: 14px; opacity: .55;
  filter: brightness(0) invert(1);
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.footer-social-link:hover { color: #fff; }
.footer-social-link:hover img { transform: translate(3px,-3px); opacity: 1; }

.footer-bottom {
  padding-top: 1.8rem;
  color: rgba(255,255,255,.25); font-size: .8rem;
}

/* ── SCROLL REVEAL STATES ─────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity .45s ease, transform .45s ease;
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal        { transform: translateY(16px); }
.reveal-left   { transform: translateX(-16px); }
.reveal-right  { transform: translateX(16px); }
.reveal-up     { transform: translateY(20px); }

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-up.in-view {
  opacity: 1;
  transform: translate(0);
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft{ to { opacity: 1; transform: translateX(0); } }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav { width: 96vw; padding: 0 1.2rem; }
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .78rem; }
}

@media (max-width: 960px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 2rem; }
  .hero-img-wrap    { max-width: 300px; margin: 0 auto; order: -1; }
  .hero-text        { order: 1; }
  .hero-sub         { max-width: 100%; }
  .hero-desc        { max-width: 100%; }
  .about-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .apps-grid        { grid-template-columns: 1fr; }
  .projects-grid    { grid-template-columns: 1fr 1fr; }
  .project-card.big { grid-column: span 2; }
  .footer-top       { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .footer-nav       { align-items: flex-start; }
  .footer-socials   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  section { padding: 72px 5%; }
  nav { justify-content: space-between; }
  .nav-links        { display: none; }
  .btn-orcamento:not(.mobile-orcamento) { display: none; }
  .nav-hamburger    { display: flex; }
  .hero-ctas        { flex-direction: column; }
  .projects-grid    { grid-template-columns: 1fr; }
  .project-card.big { grid-column: span 1; }
  .about-stats      { gap: 1.5rem; }
  .footer-bottom    { flex-direction: column; gap: .5rem; text-align: center; }
  .tools-grid       { grid-template-columns: 1fr; }
  .skills-carousel  { gap: .5rem; }
  .skills-arrow     { width: 32px; height: 32px; }
}
