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

:root {
  --bg:           #0d0d0d;
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --border:       #252525;
  --text:         #ffffff;
  --text-muted:   #666666;
  --text-dim:     #333333;
  --green:        #3DDB76;
  --font-body:    'Inter', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --max-w:        1400px;
  --hero-max:     1800px;
  --px:           clamp(1.5rem, 5vw, 5.5rem);
  --r-card:       12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }


/* ══════════════════════════════════════════════════════════════
   HERO — wrapper
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip; /* clips watermark without triggering scrollbar */
  padding: 0 var(--px);
  /* dot-grid */
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* subtle green glow + edge vignettes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 50% 75%, rgba(61,219,118,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 0%,   rgba(0,0,0,0.7)       0%, transparent 55%),
    radial-gradient(ellipse 80% 30% at 50% 100%,  rgba(0,0,0,0.6)       0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}


/* ── Watermark ────────────────────────────────────────────────── */
.hero-watermark {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  /* huge — spans full viewport width up to 1920px */
  font-size: clamp(160px, 27vw, 520px);
  color: rgba(255,255,255,0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.02em;
  z-index: 0;
}


/* ══════════════════════════════════════════════════════════════
   HEADER — only logo + social icons
   ══════════════════════════════════════════════════════════════ */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  max-width: var(--hero-max);
  width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img {
  width: 38px;
  height: 38px;
  filter: invert(1) brightness(0.78);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo-text span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  color: var(--text-muted);
  margin-top: 3px;
}

.header-tagline {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 280px;
}

.header-tagline strong {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

/* Social icons — top right, flat (no circles) */
.social-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.social-nav a:hover { opacity: 1; }

.social-nav img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

/* Hamburger — mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 8px;
  z-index: 200;
  transition: border-color 0.2s;
}

.hamburger:hover { border-color: rgba(255,255,255,0.2); }

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════════════
   MOBILE NAV
   ══════════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav-close {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.mobile-nav-close:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--green); }

.mobile-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background-color 0.2s;
}

.mobile-social a:hover { border-color: rgba(255,255,255,0.2); background: var(--surface); }
.mobile-social img { width: 19px; height: 19px; filter: invert(1) brightness(0.7); }


/* ══════════════════════════════════════════════════════════════
   HERO BODY — 3-column, content anchored to bottom
   ══════════════════════════════════════════════════════════════ */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  /* Left (text) | Center (character) | Right (CTA) */
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr) minmax(0, 0.85fr);
  gap: 0 1.5rem;
  align-items: stretch;      /* columns fill full hero-body height */
  max-width: var(--hero-max);
  width: 100%;
  margin: 0 auto;
}


/* ── Left column ──────────────────────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  /* tagline at top, content block anchored to the bottom */
  justify-content: space-between;
  padding-top: 1.75rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 4;
}

/* Tagline — top of left column */
.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 430px;
}

.hero-tagline strong {
  color: #ffffff;
  font-weight: 700;
}

/* Bottom group — tag + title + subtitle + buttons */
.hero-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  width: fit-content;
}

.tag-dot { color: var(--green); font-size: 0.5em; line-height: 1; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: visible;
}

/* Red hand-drawn mark over "NÃO SOME!" */
.title-mark {
  position: relative;
  display: inline-block;
}

.title-mark::before {
  /* oval scribble */
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 4%;
  bottom: 6%;
  border: 3px solid #ff2b2b;
  border-radius: 50%;
  transform: rotate(-2.5deg);
  pointer-events: none;
}

.title-mark::after {
  /* strike-through line */
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 4px;
  background: #ff2b2b;
  border-radius: 3px;
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-subtitle {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
}


/* ── Center column ────────────────────────────────────────────── */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* character starts at the top, near the header */
  align-self: stretch;
  position: relative;
  z-index: 2;
}

.hero-img {
  width: 100%;
  max-width: 820px;
  height: auto;
  object-fit: contain;
  object-position: center top;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 70px rgba(0,0,0,0.65));
  /* smooth floating motion */
  animation: heroFloat 5s ease-in-out infinite;
  will-change: transform;
}

.hero-banner {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  position: relative;
  z-index: 3;
  margin-bottom: 3rem;
  margin-top: -0.25rem;
  white-space: nowrap;
}


/* ── Right column ─────────────────────────────────────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  justify-content: flex-end; /* CTA group stays at bottom */
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 4;
}

.hero-transform {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.hero-availability {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  color: #ffffff;
}

.hero-availability strong { font-weight: 700; }


/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem 0.75rem 1.5rem;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
  border: none;
}

.btn:active { transform: scale(0.97); }

/* Primary — solid white */
.btn--primary {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.92);
  color: #0d0d0d;
}

.btn--primary:hover { background: #fff; border-color: #fff; }

/* Outline */
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}

.btn--outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }

/* Circular icon badge inside buttons */
.btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-icon {
  width: 15px;
  height: 15px;
}

/* Primary (white bg) → dark circle, white icon */
.btn--primary .btn-icon-wrap { background: #0d0d0d; }
.btn--primary .btn-icon { filter: invert(1); }

/* Outline (dark bg) → light circle, dark icon */
.btn--outline .btn-icon-wrap { background: rgba(255,255,255,0.92); }
.btn--outline .btn-icon { filter: none; }

.btn--primary:hover .btn-icon-wrap,
.btn--outline:hover .btn-icon-wrap { transform: scale(1.08); }

/* Green CTA */
.btn--green {
  background: #1fe06b;
  border: 1px solid rgba(31,224,107,0.6);
  color: #03160b;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 1rem 1.8rem;
  border-radius: 16px;
  /* smoky glow on the border */
  box-shadow:
    0 0 16px rgba(31,224,107,0.5),
    0 0 36px rgba(31,224,107,0.25),
    0 0 70px rgba(31,224,107,0.1);
  transition: background-color 0.2s, box-shadow 0.3s, transform 0.15s;
}

.btn--green:hover {
  background: #38ec80;
  border-color: rgba(56,236,128,0.8);
  box-shadow:
    0 0 22px rgba(31,224,107,0.7),
    0 0 52px rgba(31,224,107,0.4),
    0 0 100px rgba(31,224,107,0.18);
}

/* blinking status dot — solid black */
.btn-ring {
  font-size: 0.7em;
  line-height: 1;
  display: inline-block;
  color: #03160b;
  animation: blink-dot 1.4s ease-in-out infinite;
}


/* ══════════════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════════════ */
.portfolio {
  padding: 5rem var(--px) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.section-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.card-case {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25rem 0.55rem;
  flex-shrink: 0;
}

.card-info { display: flex; flex-direction: column; gap: 2px; }
.card-title { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.card-type  { font-size: 0.68rem; color: var(--text-muted); }

.card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .card-thumb img { transform: scale(1.04); }


/* ══════════════════════════════════════════════════════════════
   DASHED DIVIDER
   ══════════════════════════════════════════════════════════════ */
.divider-dashed {
  border: none;
  border-top: 1px dashed var(--border);
  width: calc(100% - var(--px) * 2);
  margin: 0 auto;
}


/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about {
  padding: 4rem var(--px) 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.about-header { justify-content: flex-start; margin-bottom: 3rem; }

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  position: sticky;
  top: 2rem;
}

.about-photo img {
  width: 100%;
  max-height: 560px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--r-card);
  transition: transform 0.4s ease;
}

.about-photo:hover img { transform: scale(1.02); }

.about-text { padding-top: 0.5rem; }

.about-text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.75rem;
  color: var(--text);
}

.about-text h2 strong { font-weight: 900; }

.about-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.about-text p:last-child { margin-bottom: 0; }
.about-text p strong { color: rgba(255,255,255,0.8); font-weight: 600; }


/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy  { font-size: 0.62rem; color: var(--text-dim); letter-spacing: 0.05em; }
.footer-links { font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.04em; transition: color 0.2s; }
.footer-links:hover { color: var(--text); }


/* ══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

/* Character gentle float */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px);    }
  50%       { transform: translateY(-18px); }
}

/* Green button dot blink */
@keyframes blink-dot {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  45%, 55% { opacity: 0.1; transform: scale(0.7); }
}


/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1024px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-body {
    grid-template-columns: 1fr 1.6fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: 1.5rem;
  }

  .hero-right {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    align-self: auto;
  }

  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --px: 1.25rem; }

  /* ── Header ── */
  .header { padding-top: 1.25rem; }
  .social-nav { display: none; }
  .hamburger  { display: flex; }

  /* smaller logo on mobile */
  .logo { gap: 0.7rem; }
  .logo-mark { width: 44px; height: 44px; border-radius: 11px; }
  .logo-mark img { width: 28px; height: 28px; }
  .logo-text strong { font-size: 0.95rem; letter-spacing: 0.06em; }
  .logo-text span { font-size: 0.6rem; letter-spacing: 0.3em; }

  /* ── Hero ── */
  .hero { min-height: 100svh; }

  .hero-watermark { font-size: clamp(60px, 22vw, 100px); }

  .hero-body {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    padding-bottom: 0;
    align-items: start;
  }

  /* character first on mobile */
  .hero-center { order: -1; align-self: auto; justify-content: center; }

  .hero-img { max-width: 88vw; margin: 0 auto; }

  .hero-left {
    align-items: center;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  /* hide tagline on mobile (repeated info, saves space) */
  .hero-tagline { display: none; }

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

  .hero-title { font-size: clamp(50px, 14vw, 66px); white-space: normal; }

  .hero-ctas { justify-content: center; }

  .hero-right {
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.75rem 0 2.5rem;
    border-top: 1px solid var(--border);
  }

  /* ── Portfolio ── */
  .portfolio { padding: 3.5rem var(--px) 3rem; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }

  .section-header { flex-direction: column; gap: 0.4rem; align-items: flex-start; }

  /* ── About ── */
  .about { padding: 3.5rem var(--px) 4rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-photo { position: static; max-width: 320px; margin: 0 auto; }

  .about-text { padding-top: 0; }

  /* ── Footer ── */
  .footer { flex-direction: column; text-align: center; gap: 0.4rem; padding: 1.25rem var(--px); }

  /* ── Divider ── */
  .divider-dashed { width: calc(100% - var(--px) * 2); }
}


/* ══════════════════════════════════════════════════════════════
   Small mobile ≤ 400px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .btn      { font-size: 0.72rem; padding: 0.6rem 1.1rem; }
  .btn--green { font-size: 0.62rem; padding: 0.72rem 1.2rem; }
  .hero-banner { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   PORTFOLIO CARD LINK (card clicável)
   ══════════════════════════════════════════════════════════════ */
.card-link { display: block; color: inherit; }


/* ══════════════════════════════════════════════════════════════
   PÁGINA DE CASE (modelo — case-btg.html, etc.)
   ══════════════════════════════════════════════════════════════ */
.case-page {
  position: relative;
  min-height: 100svh;
  padding: 0 var(--px);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* topo */
.case-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  transition: color 0.2s, transform 0.2s;
}
.case-back:hover { color: var(--green); transform: translateX(-4px); }
.case-back span { font-size: 1.1em; line-height: 1; }

.case-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.case-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0.4rem 0 0.8rem;
}
.case-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 640px;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.case-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
}

/* corpo: imagens + info */
.case-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px);
  gap: 3rem;
  align-items: start;
}
.case-media { display: flex; flex-direction: column; gap: 1.5rem; }
.case-shot {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.case-shot .browser-bar {
  height: 38px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}
.case-shot .browser-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #3a3a3a; flex-shrink: 0;
}
.case-shot .browser-bar i:nth-child(1) { background: #ff5f57; }
.case-shot .browser-bar i:nth-child(2) { background: #febc2e; }
.case-shot .browser-bar i:nth-child(3) { background: #28c840; }
.case-shot img { display: block; width: 100%; height: auto; }

.case-info { position: sticky; top: 2rem; }
.case-info h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.case-info p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.case-info p strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.case-deliver { list-style: none; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 0.7rem; }
.case-deliver li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.82);
}
.case-deliver li::before {
  content: ''; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); margin-top: 0.5rem;
}

.case-cta {
  margin-top: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.5rem;
}
.case-cta p { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.1rem; }
.case-cta .btn--green { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .case-body { grid-template-columns: 1fr; gap: 2rem; }
  .case-info { position: static; }
}
