/* =============================================
   DANIELA DE MELLO OLIVEIRA — PORTFÓLIO
   Fontes: Italianno, Inria Serif
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #06100d;
  --bg-2:      #0b1812;
  --bg-3:      #05100b;
  --bg-card:   #0f1f18;
  --border:    rgba(62, 207, 142, 0.12);
  --accent:    #3ecf8e;
  --accent-2:  #2bab74;
  --accent-glow: rgba(62, 207, 142, 0.18);
  --text:      #e8ede9;
  --text-muted:#7a9080;
  --font-serif: 'Inria Serif', Georgia, serif;
  --font-script:'Italianno', cursive;
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 99px; }

/* ---------- Utilities ---------- */
.section-pill {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  background: rgba(62,207,142,0.04);
}
.section-label-row { margin-bottom: 28px; }
.section-label-row.center { text-align: center; }

/* =============================================
   NAVIGATION — PÍLULA FLUTUANTE
   ============================================= */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  z-index: 1000;
  border-radius: 999px;

  /* Glass translúcido — fundo transparente com blur */
  background: rgba(8, 20, 14, 0.45);
  border: 1px solid rgba(62,207,142,0.16);
  box-shadow:
    0 1px 0 rgba(62,207,142,0.06) inset,
    0 8px 32px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);

  /* permite o menu flutuante aparecer fora da pílula */
  overflow: visible;

  transition: background 0.4s, border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(8, 20, 14, 0.72);
  border-color: rgba(62,207,142,0.22);
  box-shadow:
    0 1px 0 rgba(62,207,142,0.08) inset,
    0 14px 44px rgba(0,0,0,0.55);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 10px 0 20px;
  gap: 24px;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 38px;           /* altura máxima da logo */
  width: auto;            /* largura proporcional */
  max-width: 120px;       /* limita largura máxima */
  object-fit: contain;
  display: block;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(200,220,210,0.7);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: #e8ede9; }

/* Botão CTA */
.btn-nav {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #06100d;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav:hover {
  background: #52e6a0;
  box-shadow: 0 0 22px rgba(62,207,142,0.4);
}

/* Hamburger mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(62,207,142,0.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.2s;
  transform-origin: center;
}
/* Animação → X quando aberto */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile — painel flutuante separado da pílula */
.nav-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  border-radius: 20px;
  background: rgba(8, 22, 15, 0.88);
  border: 1px solid rgba(62, 207, 142, 0.14);
  box-shadow:
    0 2px 0 rgba(62,207,142,0.06) inset,
    0 20px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: 12px 0 16px;
  overflow: hidden;

  /* animação */
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* linha decorativa teal no topo do painel */
.nav-mobile-menu::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(62,207,142,0.35), transparent);
  margin: 0 28px 12px;
}

.nav-mobile-menu a {
  padding: 13px 28px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(200, 220, 210, 0.65);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  position: relative;
}
.nav-mobile-menu a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-mobile-menu a:hover {
  color: #e8ede9;
  background: rgba(62, 207, 142, 0.05);
  padding-left: 32px;
}
.nav-mobile-menu a:hover::before {
  opacity: 1;
}

/* separador antes do CTA */
.nav-mobile-menu .mobile-cta {
  display: block;
  margin: 10px 20px 0;
  padding: 13px;
  text-align: center;
  border-radius: 999px;
  background: var(--accent);
  color: #06100d;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-mobile-menu .mobile-cta:hover {
  background: #52e6a0;
  box-shadow: 0 0 20px rgba(62,207,142,0.35);
  padding-left: 13px; /* override do hover do link */
}
.nav-mobile-menu .mobile-cta::before { display: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  padding: 110px 32px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
/* grade removida do hero — aparece apenas no Sobre Mim */
.hero-bg-grid { display: none; }
.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at 70% 30%, rgba(62,207,142,0.18) 0%, rgba(6,16,13,0) 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 80px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-left { flex: 1; min-width: 0; }
.hero-script {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-heading strong {
  font-weight: 700;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 12px 28px;
  background: var(--accent);
  color: #06100d;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: #4fe09e;
  box-shadow: 0 0 24px rgba(62,207,142,0.4);
}
.btn-outline {
  padding: 12px 28px;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero right */
.hero-right {
  flex-shrink: 0;
  width: 420px;
  position: relative;
}
.badge {
  position: absolute;
  background: rgba(15,31,24,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.badge-top { top: -18px; left: -20px; }
.badge-bottom { bottom: -18px; right: -20px; }
.badge-num {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.badge-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Code box */
.hero-code-box {
  background: #080f0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(62,207,142,0.06);
}
.code-box-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #050c09;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }
.code-box-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
  font-family: 'Courier New', monospace;
}
.code-box-body {
  padding: 18px 20px 22px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.code-output {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: #b0d4bc;
  white-space: pre-wrap;
  word-break: break-word;
}
.code-output .kw  { color: #c792ea; }
.code-output .str { color: #c3e88d; }
.code-output .fn  { color: #82aaff; }
.code-output .cm  { color: #4a6458; font-style: italic; }
.code-cursor {
  display: inline-block;
  color: var(--accent);
  font-size: 15px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Tech strip */
.tech-strip {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(62,207,142,0.08);
  background: transparent;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.tech-strip-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: techScroll 22s linear infinite;
}
.tech-tag {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.06em;
  padding: 4px 0;
}
.tech-tag::before {
  content: '◆';
  color: var(--accent);
  margin-right: 10px;
  font-size: 8px;
}
@keyframes techScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   PROJETOS — FULL WIDTH SPOTLIGHT CAROUSEL
   ============================================= */
.section-projetos {
  background: var(--bg-3);
  padding: 80px 0 72px;
  overflow: hidden;
}
.projetos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
  gap: 20px;
}
.projetos-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  margin-top: 10px;
}
.projetos-header h2 em { font-style: italic; color: var(--text-muted); }

.projetos-nav { display: flex; gap: 8px; }
.proj-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(62,207,142,0.18);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.proj-arrow svg { width: 16px; height: 16px; }
.proj-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ── VIEWPORT ── */
.proj-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.projetos-carousel {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  user-select: none;
}

/* ── CARD (browser window) ── */
.proj-card {
  flex-shrink: 0;
  width: 420px;
  background: #0b1710;
  border: 1px solid rgba(62,207,142,0.1);
  border-radius: 14px;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0.38;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity  0.48s ease;
  transform-origin: top center;
  cursor: pointer;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.proj-card.is-active {
  transform: scale(1);
  opacity: 1;
  cursor: default;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(62,207,142,0.12);
}
.proj-card.is-adj {
  transform: scale(0.875);
  opacity: 0.52;
}

/* ── BROWSER CHROME ── */
.proj-browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e1e15;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(62,207,142,0.08);
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.bdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.bdot-r { background: #ff5f57; }
.bdot-y { background: #febc2e; }
.bdot-g { background: #28c840; }

.browser-urlbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0a130e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 10px;
  min-width: 0;
}
.browser-lock {
  width: 11px; height: 11px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
}
.browser-url-text {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-actions { flex-shrink: 0; }
.browser-dot-menu {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  cursor: default;
}

/* ── SCROLL AREA ── */
.proj-card-scroll-area {
  height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: ns-resize;
  scrollbar-width: thin;
  scrollbar-color: rgba(62,207,142,0.2) transparent;
}
.proj-card:not(.is-active) .proj-card-scroll-area {
  overflow-y: hidden;
  cursor: pointer;
}
.proj-card-scroll-area::-webkit-scrollbar { width: 3px; }
.proj-card-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(62,207,142,0.25); border-radius: 99px;
}
.proj-img {
  width: 100%;
  height: auto;
  min-height: 900px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── INFO ── */
.proj-card-info {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(62,207,142,0.07);
  background: #0b1710;
}
.proj-tag {
  font-family: var(--font-script);
  font-size: 20px;
  color: var(--text);
  display: inline-block;
  margin-bottom: 4px;
}
.proj-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.proj-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  transition: letter-spacing 0.2s;
}
.proj-link:hover { letter-spacing: 0.06em; }

/* ── DOTS ── */
.projetos-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}
.proj-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.proj-dot.active { background: var(--accent); transform: scale(1.5); }

/* Responsive do carousel — veja media queries globais abaixo */

/* =============================================
   SOLUÇÕES
   ============================================= */
.section-solucoes {
  padding: 100px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.solucoes-heading {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.3;
}
.solucoes-heading em {
  font-style: italic;
  color: var(--text-muted);
}
.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solucao-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(62,207,142,0.1);
  border-radius: 0;
  padding: 32px 28px 32px 0;
  transition: border-color 0.3s, transform 0.3s;
}
.solucao-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}
.solucao-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.solucao-icon svg { width: 28px; height: 28px; }
.solucao-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.solucao-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   SOBRE MIM — grid só aqui
   ============================================= */
.section-sobre {
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
  background: #080f0c;
}
.sobre-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.sobre-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.sobre-left {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sobre-photo-wrap {
  position: relative;
  width: 280px;
}
.sobre-photo-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  background: rgba(62,207,142,0.08);
  border: 1px solid rgba(62,207,142,0.2);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.sobre-photo-border {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(62,207,142,0.15);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.sobre-photo {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sobre-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.sobre-stat:last-child { grid-column: 1 / -1; }
.sobre-stat-num {
  display: block;
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.sobre-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.sobre-right { flex: 1; min-width: 0; padding-top: 8px; }
.sobre-right .section-pill { margin-bottom: 24px; }
.sobre-heading {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
}
.sobre-heading em {
  font-style: italic;
  color: var(--text-muted);
}
.sobre-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.sobre-text strong { color: var(--text); font-weight: 700; }
.sobre-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}
.skill-badge {
  padding: 6px 16px;
  background: rgba(62,207,142,0.06);
  border: 1px solid rgba(62,207,142,0.18);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* =============================================
   CONTATO
   ============================================= */
.section-contato {
  padding: 100px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.contato-heading {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
}
.contato-heading em {
  font-style: italic;
  color: var(--accent);
}
.contato-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 56px;
}
.contato-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.contato-card {
  background: transparent;
  border: 1px solid rgba(62,207,142,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  flex: 1;
  max-width: 240px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  text-align: center;
}
.contato-card:hover {
  border-color: rgba(62,207,142,0.35);
  background: rgba(62,207,142,0.04);
  transform: translateY(-4px);
}
.contato-card-icon {
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.contato-card-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contato-card-value {
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
  word-break: break-all;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #040c09;
  border-top: 1px solid rgba(62,207,142,0.08);
  padding: 56px 32px 32px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img{
  width: 48px;
  
}
.footer-name {
  font-family: var(--font-script);
  font-size: 24px;
  color: var(--text);
  line-height: 1.2;
}
.footer-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-icon i { font-size: 18px; line-height: 1; }
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(62,207,142,0.06);
}
.footer-divider {
  max-width: 1200px;
  margin: 0 auto 28px;
  height: 1px;
  background: var(--border);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-cnpj, .footer-credits {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE — COMPLETO
   Breakpoints:
   1024px  tablet landscape
    860px  tablet portrait / mobile grande
    640px  mobile médio
    480px  mobile pequeno
    360px  mobile mínimo
   ============================================= */

/* ── 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-right { width: 360px; }

  /* Projetos */
  .proj-card { width: 360px; }
  .projetos-header { padding: 0 24px; }

  /* Soluções */
  .solucoes-grid { grid-template-columns: repeat(2, 1fr); }
  .section-solucoes { padding: 80px 24px 64px; }

  /* Sobre */
  .sobre-inner { gap: 48px; }

  /* Contato */
  .contato-cards { gap: 16px; }
}

/* ── 860px ──────────────────────────────── */
@media (max-width: 860px) {
  /* ─ Navbar ─ */
  .navbar {
    top: 10px;
    width: calc(100% - 24px);
  }
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { border-radius: 0 0 20px 20px; }

  /* ─ Hero ─ */
  .hero { padding: 100px 24px 0; min-height: auto; }
  .hero-content {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 60px;
    align-items: flex-start;
  }
  .hero-left { width: 100%; }
  .hero-right {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    align-self: center;
  }
  .badge-top  { top: -16px; left: 0;  }
  .badge-bottom { bottom: -16px; right: 0; }

  /* ─ Projetos ─ */
  .projetos-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 20px;
  }
  .proj-card { width: 300px; }
  .proj-card-scroll-area { height: 280px; }

  /* ─ Soluções ─ */
  .section-solucoes { padding: 72px 20px 56px; }
  .solucoes-heading { margin-bottom: 40px; }

  /* ─ Sobre ─ */
  .section-sobre { padding: 72px 24px; }
  .sobre-inner {
    flex-direction: column;
    gap: 40px;
  }
  .sobre-left {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
  }
  .sobre-photo-wrap { width: 200px; flex-shrink: 0; }
  .sobre-photo       { width: 200px; height: 260px; }
  .sobre-photo-accent { top: -8px; left: -8px; }
  .sobre-photo-border { bottom: -8px; right: -8px; }
  .sobre-stats { flex: 1; min-width: 160px; }

  /* ─ Contato ─ */
  .section-contato { padding: 72px 24px 56px; }
  .contato-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .contato-card { max-width: 100%; min-width: 0; }

  /* ─ Footer ─ */
  .footer-top {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .footer-nav { gap: 20px; flex-wrap: wrap; }
}

/* ── 640px ──────────────────────────────── */
@media (max-width: 640px) {
  /* ─ Navbar ─ */
  .navbar { width: calc(100% - 16px); }
  .nav-inner { padding: 0 8px 0 14px; height: 54px; }
  .nav-logo-img { height: 30px; }

  /* ─ Hero ─ */
  .hero { padding: 90px 16px 0; }
  .hero-script { font-size: 26px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .hero-ctas { gap: 12px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 14px; }
  .badge { padding: 8px 12px; }
  .badge-num { font-size: 22px; }
  .badge-label { font-size: 10px; }
  .badge-top  { top: -12px; left: -4px; }
  .badge-bottom { bottom: -12px; right: -4px; }
  .code-box-body { min-height: 220px; }
  .code-output { font-size: 11.5px; line-height: 1.75; }

  /* Tech strip */
  .tech-tag { font-size: 12px; }

  /* ─ Projetos ─ */
  .section-projetos { padding: 56px 0 48px; }
  .projetos-header { padding: 0 16px; }
  .proj-card { width: 260px; }
  .proj-card-scroll-area { height: 240px; }
  .proj-img { min-height: 600px; }
  .projetos-dots { margin-top: 16px; }

  /* ─ Soluções ─ */
  .section-solucoes { padding: 56px 16px 48px; }
  .solucoes-grid { grid-template-columns: 1fr; gap: 0; }
  .solucao-card { padding: 24px 0; }

  /* ─ Sobre ─ */
  .section-sobre { padding: 56px 16px; }
  .sobre-left {
    flex-direction: column;
    align-items: center;
  }
  .sobre-photo-wrap { width: 180px; }
  .sobre-photo       { width: 180px; height: 230px; }
  .sobre-stats {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .sobre-stat:last-child { grid-column: 1 / -1; }
  .sobre-heading { font-size: clamp(28px, 7vw, 42px); }
  .sobre-text { font-size: 15px; }
  .sobre-skills { gap: 8px; }
  .skill-badge { font-size: 12px; padding: 5px 12px; }

  /* ─ Contato ─ */
  .section-contato { padding: 56px 16px 48px; }
  .contato-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .contato-card { padding: 24px 12px; }
  .contato-card-icon { font-size: 26px; }

  /* ─ Footer ─ */
  .footer { padding: 40px 16px 24px; }
  .footer-nav { gap: 14px; }
  .footer-social { gap: 10px; }
  .social-icon { width: 36px; height: 36px; }
  .social-icon i { font-size: 16px; }
}

/* ── 480px ──────────────────────────────── */
@media (max-width: 480px) {
  /* ─ Hero ─ */
  .hero { padding: 86px 14px 0; }
  .hero-right { max-width: 340px; }
  .hero-code-box { font-size: 11px; }

  /* ─ Projetos ─ */
  .proj-card { width: 240px; }
  .proj-card-scroll-area { height: 210px; }
  .proj-card-info { padding: 12px 14px 14px; }
  .proj-tag { font-size: 16px; }
  .proj-desc { font-size: 11px; }

  /* ─ Contato ─ */
  .contato-cards { grid-template-columns: 1fr; }
  .contato-card { max-width: 100%; padding: 24px 16px; }

  /* ─ Sobre ─ */
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .sobre-stat { padding: 12px; }
  .sobre-stat-num { font-size: 30px; }

  /* ─ Footer ─ */
  .footer-name { font-size: 20px; }
  .footer-nav { /*flex-direction: column;*/ gap: 10px; }
}

/* ── 360px ──────────────────────────────── */
@media (max-width: 360px) {
  .hero { padding: 80px 12px 0; }
  .proj-card { width: 220px; }
  .proj-card-scroll-area { height: 190px; }
  .badge { display: none; } /* esconde badges em telas muito pequenas */
  .contato-card { padding: 20px 12px; }
  .footer-social { flex-wrap: wrap; }
}

/* =============================================================
   NOVAS SEÇÕES — PROCESSO / DEPOIMENTOS / FAQ
   Estas três seções usam um vocabulário visual próprio,
   alternado entre si de propósito, para quebrar a repetição
   de "pill + heading centralizado + grid de cards" das seções
   originais. Nenhuma regra acima foi alterada.
   ============================================================= */

/* -------------------------------------------------------------
   PROCESSO — linha do tempo horizontal com números fantasmas
   Fundo bg-2 (nunca usado antes), tipografia com números grandes
   em Italianno, sem cards/bordas — layout mais "editorial".
   ------------------------------------------------------------- */
.section-processo {
  background: var(--bg-2);
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.processo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.processo-intro .section-pill { margin-bottom: 24px; }
.processo-heading {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 18px;
}
.processo-heading em { font-style: italic; color: var(--text-muted); }
.processo-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.processo-timeline {
  display: flex;
  flex-direction: column;
}
.processo-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(62,207,142,0.12);
  position: relative;
}
.processo-step:last-child { padding-bottom: 0; }
.processo-num {
  font-family: var(--font-script);
  font-size: 48px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  flex-shrink: 0;
  width: 84px;
}
.processo-step-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.processo-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

@media (max-width: 860px) {
  .processo-inner { grid-template-columns: 1fr; gap: 36px; }
  .section-processo { padding: 72px 24px; }
  .processo-num { font-size: 36px; width: 60px; }
}

/* -------------------------------------------------------------
   DEPOIMENTOS — marquee horizontal contínuo (sem grid, sem
   border-radius grande) para contrastar com os cards arredondados
   das outras seções. Fundo bg-3, igual Projetos, criando ritmo.
   ------------------------------------------------------------- */
.section-depoimentos {
  background: var(--bg-3);
  padding: 96px 0;
  overflow: hidden;
}
.section-depoimentos .section-label-row { padding: 0 32px; }
.depoimentos-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  text-align: center;
  line-height: 1.3;
  margin: 0 32px 56px;
}
.depoimentos-heading em { font-style: italic; color: var(--text-muted); }

.depo-marquee-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.depo-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: depoScroll 38s linear infinite;
}
.depo-marquee-viewport:hover .depo-marquee-track { animation-play-state: paused; }

.depo-card {
  flex-shrink: 0;
  width: 340px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 4px 0 4px 22px;
}
.depo-quote {
  font-size: 14.5px;
  color: var(--text);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 16px;
}
.depo-author {
  font-family: var(--font-script);
  font-size: 20px;
  color: var(--accent);
}

@keyframes depoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .depo-card { width: 260px; }
}

/* -------------------------------------------------------------
   FAQ — layout dividido em duas colunas (intro fixa + lista),
   sem heading centralizado, números em monoespaçada para
   remeter ao code-box do hero. Fundo padrão var(--bg).
   ------------------------------------------------------------- */
.section-faq {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro .section-pill { margin-bottom: 24px; }
.faq-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 16px;
}
.faq-heading em { font-style: italic; color: var(--accent); }
.faq-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 320px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid rgba(62,207,142,0.12);
}
.faq-item:first-child { border-top: 1px solid rgba(62,207,142,0.12); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  text-align: left;
  color: var(--text);
}
.faq-question-num {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-question-text {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 16px;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 4px 22px 30px;
}

@media (max-width: 860px) {
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
  .section-faq { padding: 72px 24px; }
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}