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

:root {
  --orange: #FF9813;
  --orange-light: #FFF0EB;
  --black: #0F0F0F;
  --gray: #6B6B6B;
  --gray-light: #F4F4F4;
  --border: #E8E8E8;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
header {
  background: var(--black);
  padding: 0 60px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  height: 36px;
  width: auto;
}

.nav-tag {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ── HERO ── */
.hero {
  background: var(--black);
  padding: 64px 60px 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,26,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-num span { color: var(--orange); }

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── TOOLBAR ── */
.toolbar {
  background: var(--white);
  border-bottom: 2px solid var(--black);
  padding: 0 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 80px;
  z-index: 90;
  overflow-x: auto;
}

.filter-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 18px 20px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}

.filter-btn:hover { color: var(--black); }
.filter-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

.toolbar-right {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
  padding-left: 20px;
  flex-shrink: 0;
}

.toolbar-right strong { color: var(--black); }

/* ── GRID ── */
.grid-section { padding: 48px 60px 80px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,92,26,0.12);
}

/* Browser chrome */
.browser-chrome {
  background: var(--gray-light);
  border-bottom: 1.5px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.chrome-dots { display: flex; gap: 5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot:nth-child(1) { background: #FF5F57; }
.dot:nth-child(2) { background: #FEBC2E; }
.dot:nth-child(3) { background: #28C840; }

.chrome-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10.5px;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Capa / preview
   ─────────────────────────────────────────
   Troque o src="" de cada <img> pela
   screenshot do site. Ex: src="prints/alz.jpg"
   Tamanho recomendado: 800×500px
   ───────────────────────────────────────── */
.preview-area {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-light);
  flex-shrink: 0;
}

.preview-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .preview-area img { transform: scale(1.04); }

.preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gray-light);
}

.placeholder-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon svg { width: 22px; height: 22px; }
.placeholder-text { font-size: 11px; font-weight: 500; color: var(--gray); }

/* Card body */
.card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.card-client {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.card-url {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  flex-shrink: 0;
  transition: gap 0.18s;
}

.card:hover .card-cta { gap: 10px; }
.card-cta svg { width: 14px; height: 14px; transition: transform 0.18s; }
.card:hover .card-cta svg { transform: translate(2px, -2px); }

/* ── UTILS ── */
.hidden { display: none !important; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card { animation: fadeUp 0.45s ease both; }
.card:nth-child(1)  { animation-delay: 0.04s; }
.card:nth-child(2)  { animation-delay: 0.08s; }
.card:nth-child(3)  { animation-delay: 0.12s; }
.card:nth-child(4)  { animation-delay: 0.16s; }
.card:nth-child(5)  { animation-delay: 0.20s; }
.card:nth-child(6)  { animation-delay: 0.24s; }
.card:nth-child(7)  { animation-delay: 0.28s; }
.card:nth-child(8)  { animation-delay: 0.32s; }
.card:nth-child(9)  { animation-delay: 0.36s; }
.card:nth-child(10) { animation-delay: 0.40s; }
.card:nth-child(11) { animation-delay: 0.44s; }
.card:nth-child(12) { animation-delay: 0.48s; }
.card:nth-child(13) { animation-delay: 0.52s; }
.card:nth-child(14) { animation-delay: 0.56s; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.footer-name { font-size: 14px; font-weight: 700; color: var(--white); }

.footer-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header, .hero, .toolbar, .grid-section, footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding-top: 48px; padding-bottom: 52px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-stats { gap: 24px; }
}
