﻿  :root {
    --red: #E8183A;
    --dark-red: #b5102b;
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --gray: #2a2a2a;
    --light-gray: #f5f5f5;
    --text-muted: #888;
    --white: #ffffff;
    --logo-height: 48px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    text-decoration: none;
  }

  .nav-logo img {
    height: var(--logo-height);
    width: auto;
    display: block;
  }

  #servicos,
  #portfolio,
  #sobre,
  #contato {
    scroll-margin-top: 88px;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--red); }

  .nav-cta {
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 2px;
    transition: background 0.2s;
  }

  .nav-cta:hover { background: var(--dark-red); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px max(16px, 3vw) 64px;
    position: relative;
    overflow: hidden;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 32px);
    align-items: center;
    justify-items: stretch;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,24,58,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    align-self: stretch;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    perspective: 1200px;
    animation: fadeUp 0.8s ease 0.35s both;
  }

  .hero-showcase {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
  }

  .hero-showcase-glow {
    position: absolute;
    inset: 12% 8% -8%;
    background: radial-gradient(ellipse at center, rgba(232, 24, 58, 0.35) 0%, transparent 70%);
    filter: blur(28px);
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 0;
  }

  .hero-browser {
    position: relative;
    z-index: 1;
    background: var(--dark2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
  }

  .hero-browser-bar {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.5vw, 7px);
    padding: clamp(8px, 1vw, 12px) clamp(10px, 1.2vw, 14px);
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-browser-dot {
    width: clamp(6px, 0.7vw, 9px);
    height: clamp(6px, 0.7vw, 9px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
  }

  .hero-browser-dot:nth-child(1) { background: rgba(232, 24, 58, 0.7); }
  .hero-browser-dot:nth-child(2) { background: rgba(255, 255, 255, 0.2); }
  .hero-browser-dot:nth-child(3) { background: rgba(255, 255, 255, 0.12); }

  .hero-browser-url {
    flex: 1;
    margin-left: 8px;
    font-size: clamp(9px, 1vw, 11px);
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-browser-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0a;
  }

  .hero-slide-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    opacity: 0;
    transform: scale(1.05);
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.4s ease;
    will-change: opacity, transform;
  }

  .hero-slide-layer.is-visible {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }

  .hero-slide-layer.is-leaving {
    opacity: 0;
    transform: scale(0.97);
    z-index: 0;
  }

  .hero-showcase-caption.is-updating .hero-showcase-tag,
  .hero-showcase-caption.is-updating strong,
  .hero-showcase-caption span:last-child {
    opacity: 0;
    transform: translateY(6px);
  }

  .hero-showcase-caption .hero-showcase-tag,
  .hero-showcase-caption strong,
  .hero-showcase-caption span:last-child {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-slide-layer {
      transition: none;
    }

    .hero-showcase-caption .hero-showcase-tag,
    .hero-showcase-caption strong,
    .hero-showcase-caption span:last-child {
      transition: none;
    }
  }

  .hero-showcase-caption {
    position: relative;
    z-index: 1;
    margin-top: clamp(10px, 1.2vw, 18px);
    padding-left: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .hero-showcase-tag {
    font-size: clamp(8px, 0.9vw, 10px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
  }

  .hero-showcase-caption strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(18px, 2.4vw, 32px);
    letter-spacing: 0.02em;
    color: var(--white);
    font-weight: 400;
    line-height: 1;
  }

  .hero-showcase-caption span:last-child {
    font-size: clamp(11px, 1.1vw, 13px);
    color: rgba(255, 255, 255, 0.45);
  }

  @media (hover: hover) {
    .hero-showcase:hover .hero-showcase-glow {
      opacity: 0.85;
      transform: scale(1.08);
    }

    .hero-showcase:hover .hero-browser {
      border-color: rgba(232, 24, 58, 0.35);
      box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(232, 24, 58, 0.15);
    }

    .hero-showcase:hover .hero-browser-screen .hero-slide-layer.is-visible {
      transform: scale(1.06);
      filter: brightness(1.08);
    }

    .hero-showcase:hover .hero-showcase-caption {
      transform: translateX(6px);
    }
  }

  .hero-showcase.is-tilting .hero-browser-screen .hero-slide-layer.is-visible {
    transition: transform 0.15s ease-out, filter 0.4s ease, opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--hero-eyebrow-size, clamp(10px, 1.1vw, 13px));
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: clamp(12px, 2vw, 28px);
  }

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

  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 0.9;
    letter-spacing: 0.01em;
    margin-bottom: clamp(12px, 2vw, 28px);
    color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-line {
    display: block;
    white-space: nowrap;
    width: max-content;
    color: var(--white);
  }

  .hero-line > span {
    color: var(--red);
  }

  .hero p {
    font-size: var(--hero-p-size, clamp(16px, 1.8vw, 22px));
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    margin-bottom: clamp(20px, 3vw, 44px);
    width: 100%;
    max-width: none;
  }

  .hero-actions {
    display: flex;
    gap: clamp(10px, 1.2vw, 16px);
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    font-size: var(--hero-btn-size, clamp(12px, 1.2vw, 15px));
    padding: var(--hero-btn-pad-y, 14px) var(--hero-btn-pad-x, 32px);
  }

  .btn-primary {
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
  }

  .btn-primary:hover { background: var(--dark-red); transform: translateY(-1px); }

  .btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
  }

  .btn-outline:hover { border-color: var(--red); color: var(--red); }

  .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    color: var(--white);
    line-height: 1;
  }

  .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* SECTION TITLES */
  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--white);
  }

  .section-title span { color: var(--red); }

  .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--red);
  }

  /* SERVICES */
  #servicos {
    padding: 100px 5%;
    background: var(--dark);
  }

  .services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 64px;
  }

  .services-header p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    line-height: 1.7;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
  }

  .service-card {
    background: var(--dark);
    padding: 40px 36px;
    transition: background 0.2s;
    cursor: default;
  }

  .service-card:hover { background: var(--dark2); }

  .service-icon {
    width: 48px;
    height: 48px;
    background: rgba(232,24,58,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }

  .service-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.5; }

  .service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
  }

  /* PORTFOLIO */
  #portfolio {
    padding: 100px 5%;
    background: var(--black);
  }

  .portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
  }

  .portfolio-filters {
    display: none; /* temporariamente oculto — trocar para flex para reativar */
    gap: 8px;
    flex-wrap: wrap;
  }

  .filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
  }

  .filter-btn.active, .filter-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
  }

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

  .portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark2);
    cursor: pointer;
  }

  a.portfolio-item {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .portfolio-item.featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .portfolio-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255,255,255,0.15);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.4s;
    position: relative;
  }

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

  .portfolio-thumb.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .portfolio-thumb.has-image .port-mock {
    display: none;
  }

  /* Placeholder backgrounds */
  .port-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
  .port-2 { background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%); }
  .port-3 { background: linear-gradient(135deg, #1c1c1c 0%, #2d1515 100%); }
  .port-4 { background: linear-gradient(135deg, #1a2a1a 0%, #0a1a0a 100%); }
  .port-5 { background: linear-gradient(135deg, #2a1a2a 0%, #1a0a1a 100%); }

  /* Mock content for portfolio items */
  .port-mock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .port-mock-bar {
    width: 60%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
  }

  .port-mock-bar.accent { background: rgba(232,24,58,0.4); width: 35%; }

  .port-mock-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    width: 55%;
  }

  .port-mock-cell {
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
  }

  .port-mock-img {
    width: 60%;
    height: 50%;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
  }

  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 28px;
  }

  .portfolio-item:hover .portfolio-overlay { opacity: 1; }

  .portfolio-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }

  .portfolio-info span {
    font-size: 12px;
    color: var(--red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* PROJECT DETAIL PAGE */
  .project-page {
    padding: 120px 5% 80px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .project-back {
    margin-bottom: 32px;
  }

  .project-back a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .project-back a:hover { color: var(--red); }

  .project-header {
    margin-bottom: 40px;
  }

  .project-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    margin-top: 12px;
  }

  .project-gallery {
    margin-bottom: 48px;
  }

  .project-main-image {
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    background: var(--dark2);
    margin-bottom: 12px;
  }

  .project-slide-viewport {
    position: relative;
    overflow: hidden;
    background: var(--dark2);
  }

  .project-slide-layer {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform, opacity;
  }

  .project-slide-layer.is-buffer {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
  }

  .project-slide-layer.is-visible {
    position: relative;
    z-index: 1;
  }

  .project-slide-layer.is-hidden {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
  }

  .project-slide-layer.enter-right {
    animation: projectSlideInRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .project-slide-layer.enter-left {
    animation: projectSlideInLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .project-slide-layer.exit-left {
    animation: projectSlideOutLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .project-slide-layer.exit-right {
    animation: projectSlideOutRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes projectSlideInRight {
    from { transform: translateX(100%) scale(0.96); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
  }

  @keyframes projectSlideInLeft {
    from { transform: translateX(-100%) scale(0.96); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
  }

  @keyframes projectSlideOutLeft {
    from { transform: translateX(0) scale(1); opacity: 1; }
    to { transform: translateX(-100%) scale(0.96); opacity: 0; }
  }

  @keyframes projectSlideOutRight {
    from { transform: translateX(0) scale(1); opacity: 1; }
    to { transform: translateX(100%) scale(0.96); opacity: 0; }
  }

  .project-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }

  .project-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .project-nav:hover {
    background: rgba(232, 24, 58, 0.9);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.06);
  }

  .project-nav--prev { left: 16px; }
  .project-nav--next { right: 16px; }

  .project-nav:active {
    transform: translateY(-50%) scale(0.96);
  }

  @media (max-width: 600px) {
    .project-nav {
      width: 40px;
      height: 40px;
    }

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

    .project-nav--prev { left: 10px; }
    .project-nav--next { right: 10px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .project-slide-layer.enter-right,
    .project-slide-layer.enter-left,
    .project-slide-layer.exit-left,
    .project-slide-layer.exit-right {
      animation: none;
    }
  }

  .project-main-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .project-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .project-thumb-btn {
    border: 2px solid transparent;
    padding: 0;
    background: var(--dark2);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
    transition: border-color 0.2s;
  }

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

  .project-thumb-btn:hover { border-color: rgba(232,24,58,0.4); }
  .project-thumb-btn.active { border-color: var(--red); }

  .project-content {
    max-width: 720px;
  }

  .project-description h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    color: var(--white);
  }

  .project-description p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
  }

  .project-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* ABOUT */
  #sobre {
    padding: 100px 5%;
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .about-visual {
    position: relative;
  }

  .about-visual-box {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-clip: padding-box;
  }

  .about-stat-item {
    background: var(--dark2);
    padding: 28px 24px;
  }

  .about-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--red);
    line-height: 1;
  }

  .about-stat-text {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
  }

  .about-content p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 24px;
    margin-bottom: 16px;
  }

  .about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .about-feat {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
  }

  .about-feat::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* CONTACT */
  #contato {
    padding: 100px 5%;
    background: var(--black);
  }

  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .contact-info p {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(232,24,58,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-icon svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 1.5; }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .form-group { display: flex; flex-direction: column; gap: 6px; }

  .form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    -webkit-appearance: none;
  }

  .form-group select { appearance: none; cursor: pointer; }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--red);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

  .form-submit {
    background: var(--red);
    color: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    align-self: flex-start;
  }

  .form-submit:hover { background: var(--dark-red); }

  /* FOOTER */
  footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }

  footer img { height: var(--logo-height); width: auto; }

  .footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
  }

  .footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: rgba(255,255,255,0.7); }

  .footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
  }

  /* DIVIDER */
  .section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
  }

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

  .hero-content > * {
    animation: fadeUp 0.7s ease both;
  }

  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.2s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.3s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.5s; }

  /* Mobile: coluna única — título usa largura total (100vw) */
  @media (max-width: 768px) {
    .hero {
      padding: 96px 16px 48px;
    }

    .hero-inner {
      grid-template-columns: 1fr;
    }

    .hero h1 {
      font-size: 48px;
    }

    .hero-eyebrow {
      font-size: clamp(10px, 2.8vw, 12px) !important;
    }

    .hero p {
      font-size: clamp(15px, 4vw, 18px) !important;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
      font-size: clamp(12px, 3.2vw, 14px) !important;
      padding: 12px 24px !important;
    }
  }

  @media (max-width: 900px) {
    .services-header { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-item.featured { grid-column: span 2; }
    #sobre { grid-template-columns: 1fr; gap: 48px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .nav-links { display: none; }
    footer { flex-direction: column; text-align: center; }
  }

  @media (max-width: 600px) {
    .hero {
      padding: 88px 12px 40px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.featured { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; flex-wrap: wrap; }
    .about-visual-box { grid-template-columns: 1fr 1fr; padding: 0; }
  }
