﻿:root {
  --bg-main: #050816;
  --bg-alt: #0b1020;
  --bg-card: #0f172a;
  --bg-card-alt: #050816;
  --primary: #22c55e;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition: 0.25s ease;
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 10%, rgba(34, 197, 94, 0.12) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 100%, rgba(15, 23, 42, 0.8) 0%, transparent 60%),
    linear-gradient(160deg, #060a1a 0%, #020617 50%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout base */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Overlay sidebar mobile */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 95;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 8, 20, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-photo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.logo:hover .logo-photo {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
}

.logo-sub {
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Desktop nav */

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-icon {
  display: none;
}

.nav-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
}

/* Header actions (linkedin + hamburger) */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.header-linkedin img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header-linkedin:hover {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-1px);
}

/* Hamburger button */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition), background var(--transition);
}

.menu-toggle:hover {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav mobile parts (hidden on desktop) */

.nav-header-mobile,
.nav-footer-mobile {
  display: none;
}

/* Nav close button */

.nav-close {
  display: none;
}

/* Garante que tudo fica acima do canvas fixo */
header, main, footer, .float-actions, .mobile-bar, .nav-overlay, .unlock-modal {
  position: relative;
  z-index: 1;
}

/* Hero */

.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.12), transparent 38%),
    radial-gradient(circle at 85% 5%, rgba(34, 197, 94, 0.1), transparent 35%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-text h2 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(105deg, #f9fafb 0%, #c7d2fe 45%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: #b0b8c8;
  line-height: 1.7;
  max-width: 40rem;
  font-size: 1.02rem;
}

/* Ticker de tecnologias */

.tech-ticker {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.95), rgba(2, 6, 23, 0.85));
  --ticker-speed: 40s;
}

.tech-ticker::before,
.tech-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.tech-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 8, 22, 1), rgba(5, 8, 22, 0));
}

.tech-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 8, 22, 1), rgba(5, 8, 22, 0));
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: ticker var(--ticker-speed) linear infinite;
  padding: 0.8rem 0;
  will-change: transform;
}

.ticker-group {
  display: flex;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.chip-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.chip-icon-text {
  stroke: none;
  fill: currentColor;
}

.chip-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.ticker-group .chip:nth-child(1) .chip-icon { color: #f97316; }
.ticker-group .chip:nth-child(2) .chip-icon { color: #38bdf8; }
.ticker-group .chip:nth-child(3) .chip-icon { color: #facc15; }
.ticker-group .chip:nth-child(4) .chip-icon { color: #22c55e; }
.ticker-group .chip:nth-child(5) .chip-icon { color: #60a5fa; }
.ticker-group .chip:nth-child(6) .chip-icon { color: #a78bfa; }
.ticker-group .chip:nth-child(7) .chip-icon { color: #ef4444; }
.ticker-group .chip:nth-child(8) .chip-icon { color: #67e8f9; }
.ticker-group .chip:nth-child(9) .chip-icon { color: #f472b6; }
.ticker-group .chip:nth-child(10) .chip-icon { color: #c084fc; }
.ticker-group .chip:nth-child(11) .chip-icon { color: #34d399; }

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-meta {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.4rem;
}

.meta-group {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.hero-info-strip {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem 1.2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-left: 3px solid rgba(34, 197, 94, 0.6);
  max-width: 840px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.strip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
}

.strip-value {
  font-size: 0.85rem;
  color: #e5e7eb;
  line-height: 1.4;
  display: block;
  word-break: break-word;
}

/* Hero Right - Foto */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-photo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
}

.hero-photo-border {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, #22c55e, #4ade80, #22c55e, #16a34a);
  opacity: 0.8;
  filter: blur(1px);
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid #020617;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.13), rgba(15, 23, 42, 1));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
}

.hero-card-compact h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-role {
  margin: 0.2rem 0 0.7rem;
  font-size: 0.85rem;
  color: #a5b4fc;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hero-card li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.btn.primary {
  background: linear-gradient(to right, #22c55e, #4ade80);
  color: #022c22;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.6);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--primary);
}

.btn.full {
  width: 100%;
}

/* Seções Gerais */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background:
    radial-gradient(ellipse at 70% 0%, rgba(99, 102, 241, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #050c1e 0%, #030a18 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, #f9fafb 0%, #c7d2fe 70%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  margin: 0 0 2.8rem;
  color: #9fafc0;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Cards Serviços */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(145deg, #0f172a, #0b1120);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.service-card {
  padding: 0;
  gap: 0;
  cursor: default;
}

.card-header {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.card-header {
  cursor: default;
}

.card-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.card-header:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.card-heading h3 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.card-toggle {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  display: none;
}

.service-card.open .card-toggle {
  transform: rotate(180deg);
  color: #bbf7d0;
}

.card-body {
  padding: 0.3rem 1.3rem 2.2rem;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card-price {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-top: 0.3rem;
  width: fit-content;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-muted);
}

.card-desc {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0;
}

.card-list li::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.card-tag {
  font-size: 0.82rem;
  font-style: italic;
  color: #86efac;
  background: rgba(34, 197, 94, 0.07);
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  align-self: flex-start;
  border: 1px solid rgba(34, 197, 94, 0.18);
  line-height: 1.4;
}

.card-actions {
  margin-top: 0;
}

/* Portfólio com imagens */

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
}

.portfolio-item {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.4rem;
  background: linear-gradient(145deg, #0f172a, #0b1120);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  padding: 1.5rem;
  align-items: stretch;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.portfolio-item:hover {
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.portfolio-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.portfolio-image.live-preview {
  background: #0f172a;
  color: #e5e7eb;
  min-height: 220px;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.portfolio-image.live-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.live-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 22, 0.82) 55%, rgba(5, 8, 22, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.live-overlay span {
  font-size: 0.8rem;
  color: #c7d2fe;
}

.live-overlay strong {
  font-size: 0.95rem;
}

.live-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1020;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: saturate(1.1);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.07);
  filter: saturate(1.25);
}

.portfolio-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.portfolio-info p {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.portfolio-info h3 a {
  color: #e2e8f0;
  transition: color var(--transition);
}

.portfolio-info h3 a:hover {
  color: #4ade80;
}

.portfolio-tech {
  font-size: 0.8rem;
  color: #a5b4fc;
  font-weight: 500;
}

.portfolio-actions {
  margin-top: 0.6rem;
}

.portfolio-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(99, 102, 241, 0.12));
  min-height: 200px;
  width: 100%;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-thumb::after {
  content: "Ver demo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 22, 0.58) 65%, rgba(5, 8, 22, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(34, 197, 94, 0.4);
}

.portfolio-thumb:hover::after {
  opacity: 1;
}

/* Portfolio Premium */

.premium-item {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.premium-badge svg {
  width: 13px;
  height: 13px;
  fill: #fbbf24;
  flex-shrink: 0;
}

.portfolio-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #e2e8f0;
}

.premium-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.premium-price-tag {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 600;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #4ade80;
  line-height: 1;
}

.unlock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
}

.unlock-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.unlock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.5);
  filter: brightness(1.05);
}

/* Thumbnail bloqueada */

.portfolio-thumb-locked {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #0b1120;
  min-height: 200px;
  width: 100%;
}

.portfolio-thumb-locked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(5px) saturate(0.4) brightness(0.6);
  transform: scale(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.portfolio-item:hover .portfolio-thumb-locked img {
  filter: blur(7px) saturate(0.3) brightness(0.5);
}

.thumb-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(5, 8, 22, 0.45);
}

.thumb-lock-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  border: 2px solid rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
}

.thumb-lock-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.thumb-blur-overlay span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Modal de Desbloqueio */

.unlock-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.unlock-modal.open {
  display: flex;
}

.unlock-modal-content {
  position: relative;
  background: linear-gradient(145deg, #0d1528, #080e1e);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 24px;
  padding: 2rem 2rem 1.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(34, 197, 94, 0.08);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { transform: scale(0.88) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-lock-anim {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  margin: 0 auto 0.8rem;
}

.modal-lock-anim svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.modal-header h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #f1f5f9;
}

.modal-project-name {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 0.8rem;
}

.modal-price-display {
  display: inline-flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #4ade80;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.3rem 1rem;
  border-radius: 12px;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.modal-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 0.8rem;
  line-height: 1.5;
}

/* Payment tabs */

.payment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pay-tab {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.8);
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pay-tab.active {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}

.pay-tab:hover:not(.active) {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.35);
}

.pay-panel.hidden {
  display: none;
}

.pay-info {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 0.7rem;
}

/* PIX box */

.pix-key-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pix-key-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  font-weight: 600;
}

.pix-key-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.pix-key-value code {
  font-family: monospace;
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.copy-pix-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.copy-pix-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.copy-pix-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

.copy-pix-btn.copied {
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.pix-info-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: #64748b;
}

.pix-info-row strong {
  color: #94a3b8;
}

/* Cartão */

.card-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem;
}

.pay-note {
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
  margin: 0.6rem 0 0;
  line-height: 1.4;
}

/* WhatsApp confirm button */

.whatsapp-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-confirm-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.modal-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: #334155;
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

/* Sobre */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-grid > div:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.about-grid > div {
  width: 100%;
}

.about-box {
  background: linear-gradient(145deg, #0f172a, #0b1120);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-left: 3px solid rgba(34, 197, 94, 0.5);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about-box h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.about-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-box li {
  font-size: 0.9rem;
  color: #9fafc0;
  padding-left: 1.1rem;
  position: relative;
}

.about-box li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
  line-height: 1;
}

/* Contato */

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
}

.contact-grid > div {
  width: 100%;
  max-width: 820px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  background: linear-gradient(145deg, #0f172a, #080e1e);
  border-radius: 24px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 2.5rem 2.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.06);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list li {
  color: #9fafc0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-list a {
  color: #c7d2fe;
  transition: color var(--transition);
}

.contact-list a:hover {
  color: #4ade80;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.3rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin-top: 0;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 0.6rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2rem 0;
  background: linear-gradient(180deg, #030913, #020617);
}

.footer-content {
  text-align: center;
  font-size: 0.88rem;
  color: #6b7a8e;
}

.footer-content p {
  margin: 0;
}

/* Botões flutuantes */

.float-actions {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 30;
}

.float-btn {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: #0b1020;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b1020;
}

.float-btn.cv {
  background: linear-gradient(135deg, #a78bfa, #6366f1);
}

.float-btn .icon {
  width: 24px;
  height: 24px;
}

/* Barra mobile inferior */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  padding: 0.45rem 1.2rem calc(0.45rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(180deg, rgba(6, 11, 30, 0.96), rgba(2, 6, 23, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.42);
  z-index: 50;
  justify-content: space-around;
  align-items: center;
  gap: 0.8rem;
}

.mobile-bar a {
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-bar img,
.mobile-bar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mobile-bar a:active,
.mobile-bar a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Responsividade */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid > div:first-child {
    grid-row: auto;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    padding: 2rem 1.5rem;
  }

  .portfolio-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .premium-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-thumb-locked {
    min-height: 180px;
  }

  .unlock-modal-content {
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .premium-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .unlock-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  /* Mostra hamburger, esconde nav inline */
  .menu-toggle {
    display: flex;
  }

  /* Sidebar/drawer mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0 1.2rem 2rem;
    background: linear-gradient(160deg, #080e22 0%, #050b1a 60%, #020610 100%);
    border-left: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.7);
    z-index: 100;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  /* Cabeçalho do sidebar */
  .nav-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    margin-bottom: 0.6rem;
  }

  .nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.02em;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }

  .nav-close svg {
    width: 18px;
    height: 18px;
  }

  .nav-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
  }

  /* Links no sidebar */
  .nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #94a3b8;
    gap: 0.75rem;
    border: 1px solid transparent;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.1);
  }

  .nav-link.active {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
  }

  .nav-icon {
    display: block;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    flex-shrink: 0;
  }

  .nav-link.active .nav-icon,
  .nav-link:hover .nav-icon {
    opacity: 1;
  }

  /* Footer do sidebar */
  .nav-footer-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }

  .nav-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(to right, #22c55e, #4ade80);
    color: #022c22;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
  }

  .nav-cta-mobile:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  .nav-linkedin-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.8);
    color: #c7d2fe;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
  }

  .nav-linkedin-mobile img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .nav-linkedin-mobile:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
  }

  /* Lock scroll quando sidebar aberto */
  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  /* No mobile, o LinkedIn fica no sidebar — esconde do header */
  .header-linkedin {
    display: none;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-text h2 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .contact-card {
    padding: 1.5rem 1.2rem;
  }

  .hero-photo-wrapper {
    width: 190px;
    height: 190px;
  }

  .float-actions {
    right: 1rem;
    bottom: 1rem;
    flex-direction: row;
    gap: 0.4rem;
  }

  .float-btn {
    padding: 0.65rem 0.8rem;
    font-size: 0.85rem;
  }

  .portfolio-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-thumb {
    min-height: 180px;
  }

  .mobile-bar {
    display: flex;
  }

  .float-actions {
    display: none;
  }

  body {
    padding-bottom: 80px;
  }
}
