/* ==========================================================================
       RESET & BASE STYLES
       ========================================================================== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: #08080a;
      color: #ffffff;
      line-height: 1.6;
      overflow-x: hidden;
    }

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

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

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    /* ==========================================================================
       HEADER / NAVBAR
       ========================================================================== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 1.25rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border-bottom: 1px solid transparent;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar.scrolled {
      padding: 0.9rem 2rem;
      background: rgba(30, 30, 32, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .logo {
      font-size: 0.95rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #94a3b8;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .logo strong {
      color: #ffffff;
      font-weight: 800;
      letter-spacing: 0.08em;
    }

    .nav-btn {
      padding: 0.55rem 1.4rem;
      border-radius: 9999px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.05);
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 500;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(8px);
    }

    .nav-btn:hover {
      background: rgba(255, 255, 255, 0.95);
      color: #08080a;
      border-color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    }

    /* ==========================================================================
       HERO SECTION
       ========================================================================== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      text-align: center;
      padding: 8rem 1.5rem 4rem 1.5rem;
      overflow: hidden;
      background-color: #08080a;
    }

    picture {
      display: contents;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      object-fit: cover;
      object-position: center 25%;
      filter: brightness(0.85) contrast(1.05);
      transform: scale(1.02);
      animation: heroZoom 12s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
    }

    @keyframes heroZoom {
      0% { transform: scale(1.0); }
      100% { transform: scale(1.05); }
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      background: 
        linear-gradient(180deg, rgba(8, 8, 10, 0.4) 0%, rgba(8, 8, 10, 0.2) 40%, rgba(8, 8, 10, 0.9) 85%, #08080a 100%),
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 860px;
      margin: 0 auto;
      padding-bottom: 2rem;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    }

    .hero-title {
      font-size: clamp(2.75rem, 6vw, 4.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.08;
      color: #ffffff;
      margin-bottom: 1.25rem;
      text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .hero-subtitle {
      font-size: clamp(1rem, 2.2vw, 1.2rem);
      color: #d1d5db;
      font-weight: 400;
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.6;
      text-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }

    /* ==========================================================================
       PORTFOLIO SECTION
       ========================================================================== */
    .portfolio-section {
      background-color: #0c0c0e;
      color: #ffffff;
      padding: 5.5rem 1.5rem 6.5rem 1.5rem;
      position: relative;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .portfolio-header {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 3.5rem auto;
    }

    .portfolio-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
      gap: 1.75rem;
      justify-content: center;
    }

    .portfolio-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: #ffffff;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }

    .portfolio-card:hover {
      transform: translateY(-6px);
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.22);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
    }

    .portfolio-img-wrapper {
      position: relative;
      width: 100%;
      height: 230px;
      overflow: hidden;
      background-color: #18181c;
    }

    .portfolio-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .portfolio-tag {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: rgba(8, 8, 10, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #e2e8f0;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.35rem 0.85rem;
      border-radius: 9999px;
    }

    .portfolio-body {
      padding: 1.5rem 1.5rem 1.75rem 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .portfolio-client-name {
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
      color: #ffffff;
    }

    .portfolio-service {
      font-size: 0.92rem;
      color: #94a3b8;
      line-height: 1.55;
      font-weight: 400;
      margin-bottom: 1.35rem;
      flex-grow: 1;
    }

    .portfolio-btn-action {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 0.75rem 1.1rem;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      font-size: 0.85rem;
      font-weight: 600;
      color: #ffffff;
      transition: all 0.3s ease;
    }

    .portfolio-card:hover .portfolio-btn-action {
      background: #ffffff;
      color: #08080a;
      border-color: #ffffff;
    }

    .portfolio-btn-action .arrow-icon {
      transition: transform 0.3s ease;
    }

    .portfolio-card:hover .portfolio-btn-action .arrow-icon {
      transform: translateX(4px);
    }

    /* ==========================================================================
       LINKS / CARDS SECTION ("Encontre o que você procura.")
       ========================================================================== */
    .cards-section {
      background-color: #f3f4f6;
      color: #09090b;
      padding: 5rem 1.5rem 6rem 1.5rem;
      position: relative;
      z-index: 10;
    }

    .section-header {
      text-align: center;
      max-width: 650px;
      margin: 0 auto 3.5rem auto;
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 0.75rem;
      display: block;
    }

    .section-title {
      font-size: clamp(2.2rem, 4.5vw, 3.25rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: #09090b;
      margin-bottom: 1rem;
    }

    .section-description {
      font-size: 1.05rem;
      color: #4b5563;
      font-weight: 400;
      line-height: 1.5;
    }

    /* Cards Stack */
    .cards-container {
      max-width: 740px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2.25rem;
    }

    .card {
      border-radius: 24px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
      position: relative;
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    /* Card Light Theme */
    .card-light {
      background-color: #ffffff;
      color: #09090b;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Card Dark Theme */
    .card-dark {
      background-color: #0c0c0e;
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .card-content {
      padding: 2.25rem 2.25rem 1.75rem 2.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .card-number {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      opacity: 0.5;
      margin-bottom: 0.25rem;
    }

    .card-title {
      font-size: 1.85rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .card-subtitle {
      font-size: 0.98rem;
      opacity: 0.75;
      font-weight: 400;
      margin-bottom: 1rem;
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      transition: color 0.3s ease;
    }

    .card-link .arrow {
      display: inline-block;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .card:hover .card-link .arrow {
      transform: translateX(6px);
    }

    /* Card Image Container */
    .card-image-wrapper {
      width: 100%;
      height: 280px;
      overflow: hidden;
      position: relative;
      background-color: #1a1a1e;
    }

    .card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    }

    .card:hover .card-image {
      transform: scale(1.04);
    }

    /* Precise Image Positioning for Face Framing */
    .card-img-1 {
      object-position: center 20%;
    }

    .card-img-2 {
      object-position: center 25%;
    }

    .card-img-3 {
      object-position: center center;
    }

    .card-img-4 {
      object-position: center 20%;
    }

    /* ==========================================================================
       ABOUT SECTION ("QUEM SOU EU")
       ========================================================================== */
    .about-section {
      background-color: #08080a;
      color: #ffffff;
      padding: 6rem 2rem 7rem 2rem;
      position: relative;
      z-index: 10;
    }

    .about-container {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .about-image-wrapper {
      width: 100%;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      aspect-ratio: 4/5;
    }

    .about-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .about-image-wrapper:hover .about-image {
      transform: scale(1.03);
    }

    .about-content {
      display: flex;
      flex-direction: column;
    }

    .about-label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 1rem;
      display: block;
    }

    .about-title {
      font-size: clamp(2.2rem, 3.8vw, 3.25rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.12;
      color: #ffffff;
      margin-bottom: 2rem;
    }

    .about-text {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      font-size: 1.05rem;
      color: #94a3b8;
      line-height: 1.7;
      font-weight: 400;
      margin-bottom: 2.5rem;
    }

    .about-text p {
      color: #cbd5e1;
    }

    .about-footer {
      padding-top: 1.75rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #64748b;
    }

    /* ==========================================================================
       FOOTER SECTION
       ========================================================================== */
    .site-footer {
      background-color: #050507;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 2.5rem 1.5rem;
      text-align: center;
      color: #64748b;
      font-size: 0.85rem;
    }

    .site-footer p {
      margin-bottom: 0.5rem;
    }

    /* ==========================================================================
       ANIMATIONS & REVEALS
       ========================================================================== */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    /* ==========================================================================
       RESPONSIVE MEDIA QUERIES
       ========================================================================== */
    @media (max-width: 900px) {
      .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: 4/4;
      }
    }

    @media (max-width: 640px) {
      .navbar {
        padding: 0.8rem 0.65rem;
        flex-wrap: nowrap;
      }

      .navbar.scrolled {
        padding: 0.7rem 0.65rem;
      }

      .logo {
        flex-shrink: 0;
        gap: 0.2rem;
        font-size: 0.72rem;
        letter-spacing: 0.025em;
        white-space: nowrap;
      }

      .logo strong {
        letter-spacing: 0.04em;
      }

      .nav-actions {
        gap: 0.35rem;
        flex-shrink: 0;
      }

      .nav-btn {
        padding: 0.42rem 0.7rem;
        font-size: 0.7rem;
        white-space: nowrap;
      }

      .hero {
        padding: 7rem 1.25rem 3.5rem 1.25rem;
      }

      .hero-bg {
        object-position: 57% top;
      }

      .cards-section {
        padding: 3.5rem 1rem 4.5rem 1rem;
      }

      .card-content {
        padding: 1.75rem 1.5rem 1.25rem 1.5rem;
      }

      .card-title {
        font-size: 1.5rem;
      }

      .card-image-wrapper {
        height: 220px;
      }

      .about-section {
        padding: 4rem 1.25rem 5rem 1.25rem;
      }

      .about-title {
        font-size: 2rem;
      }

      .about-text {
        font-size: 0.98rem;
      }
    }

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.portfolio-label {
  color: #64748b;
}

.portfolio-title {
  color: #ffffff;
}

.portfolio-description {
  color: #94a3b8;
}
