/* ============ HOW IT WORKS ============ */
  .steps{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .step-card{position:relative; padding:32px 26px 26px; background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--radius); overflow:hidden; transition:border-color .25s ease;}
  .step-card:hover{border-color:rgba(63,125,100,.3);}
  .step-ghost{
    position:absolute; top:-6px; right:6px; font-family:var(--font-display); font-weight:700;
    font-size:88px; line-height:1; color:var(--text); opacity:.04; pointer-events:none; user-select:none;
  }
  .step-num{font-family:var(--font-mono); font-size:12px; color:var(--green-soft); margin-bottom:16px; display:block; position:relative; z-index:1;}
  .step-card h3{font-size:18px; margin-bottom:10px; font-weight:600; position:relative; z-index:1;}
  .step-card p{color:var(--text-muted); font-size:14.5px; position:relative; z-index:1;}
  .step-line{position:absolute; top:0; left:0; width:100%; height:2px; background:var(--grad); border-radius:2px 2px 0 0; opacity:0; transition:opacity .3s; z-index:1;}
  .step-card:hover .step-line{opacity:1;}
  .step-card .card-photo{position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; border-radius:inherit;}
  .step-card .card-photo img{width:100%; height:100%; object-fit:cover; opacity:.15; filter:saturate(.6) contrast(1.05);}
  .step-card .card-photo::after{content:''; position:absolute; inset:0; background:linear-gradient(160deg, transparent 0%, var(--surface) 80%);}

  /* ============ PRODUCT GALLERY ============ */
  .gallery{display:flex; flex-direction:column; gap:20px;}
  .gallery-tabs{display:flex; gap:8px; flex-wrap:wrap;}
  .gallery-tab{
    text-align:left; background:var(--surface); border:1px solid var(--border); border-radius:9999px;
    padding:10px 18px 10px 16px; display:flex; align-items:center; gap:9px; color:var(--text-muted); cursor:pointer;
    backdrop-filter:blur(16px) saturate(180%); -webkit-backdrop-filter:blur(16px) saturate(180%);
    box-shadow:inset 0 1px 1px rgba(255,255,255,.2), 0 2px 8px -2px rgba(0,0,0,.06);
    transition:all .28s cubic-bezier(0.16,1,0.3,1);
  }
  .gallery-tab:hover{
    background:var(--surface-2); border-color:var(--green-soft); color:var(--text);
    transform:translateY(-1px);
    box-shadow:inset 0 1px 1.5px rgba(255,255,255,.35), 0 6px 16px -4px rgba(16,185,129,.2);
  }
  .gallery-tab.active{
    background:rgba(16,185,129,.14); border-color:rgba(16,185,129,.5); color:var(--green-soft);
    box-shadow:inset 0 1px 1.5px rgba(255,255,255,.4), 0 6px 18px -4px rgba(16,185,129,.35);
  }
  .gt-code{font-family:var(--font-mono); font-size:10px; color:var(--text-faint);}
  .gt-name{font-size:13.5px; font-weight:600; color:var(--text);}
  .gallery-tab.active .gt-name{color:var(--green-soft);}
  .gt-desc{display:none;}

  .gallery-frame{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-glow);}
  .browser-chrome{display:flex; align-items:center; gap:8px; padding:12px 16px; background:var(--surface-3); border-bottom:1px solid var(--border);}
  .bc-dot{width:9px;height:9px;border-radius:50%;}
  .bc-url{
    margin-left:10px; font-family:var(--font-mono); font-size:11.5px; color:var(--text-faint);
    background:var(--surface); border:1px solid var(--border-soft); padding:4px 12px; border-radius:6px; flex:1;
  }
  .gallery-imgs{position:relative; aspect-ratio:1900/950; background:#10221c;}
  .gallery-img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center;
    opacity:0; transform:scale(1.015); pointer-events:none; cursor:zoom-in;
    transition:opacity .4s ease, transform .45s ease;
  }
  .gallery-img.active{opacity:1; transform:scale(1); pointer-events:auto;}
  @media (prefers-reduced-motion: reduce){ .gallery-img{transition:opacity .3s ease;} }

  @media (max-width:900px){
    .gallery-tabs{overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px;}
    .gallery-tab{flex-shrink:0;}
  }

  /* ============ NOSSA HISTÓRIA ============ */
  .history-block{
    display:grid; grid-template-columns:1.5fr 0.85fr; gap:0;
    background:var(--surface); border:1px solid var(--border); border-radius:24px; overflow:hidden;
    box-shadow:0 1px 2px rgba(22,33,31,.05);
  }
  .history-copy{padding:48px 46px; display:flex; flex-direction:column; justify-content:center; gap:16px;}
  .history-lettering{width:64px; height:auto; margin:0 auto -4px; display:block; opacity:.95; filter:drop-shadow(0 6px 14px rgba(0,0,0,.15));}
  .history-copy h2{font-size:clamp(26px,3vw,36px); margin-top:14px; margin-bottom:6px;}
  .history-copy p{color:var(--text-muted); font-size:15.5px; line-height:1.7;}
  .history-product{
    background:var(--surface-2); border:1px solid var(--border-soft); border-radius:14px;
    padding:16px 20px; margin:4px 0;
  }
  .history-product-name{display:block; font-family:'Poppins',sans-serif; font-weight:700; color:var(--green-soft); font-size:15px; margin-bottom:6px;}
  .history-product p{margin:0; font-size:14.5px;}
  .history-team{
    background:var(--surface-2); border-left:1px solid var(--border); padding:40px 32px;
    display:flex; flex-direction:column; justify-content:center; gap:20px;
  }
  .history-person{
    background:var(--surface); border:1px solid var(--border-soft); border-radius:18px;
    padding:14px; text-align:center; box-shadow:0 4px 14px -8px rgba(22,33,31,.12);
    transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
  }
  .history-person:hover{
    transform:translateY(-7px);
    box-shadow:0 26px 44px -20px rgba(63,125,100,.4);
    border-color:var(--green-soft);
  }
  .history-avatar-frame{
    position:relative; border-radius:14px; overflow:hidden; margin-bottom:14px;
    border:1px solid var(--border); transition:border-color .4s ease;
  }
  .history-person:hover .history-avatar-frame{border-color:var(--green-soft);}
  .history-avatar-frame::after{
    content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    background:linear-gradient(155deg, transparent 55%, rgba(63,125,100,.4));
    opacity:0; transition:opacity .4s ease;
  }
  .history-person:hover .history-avatar-frame::after{opacity:1;}
  .history-avatar-frame::before{
    content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:2;
    box-shadow:0 0 0 0 var(--green-soft); transition:box-shadow .4s ease;
  }
  .history-person:hover .history-avatar-frame::before{box-shadow:0 0 0 3px rgba(63,125,100,.28);}
  .history-avatar{
    width:100%; aspect-ratio:4/5; object-fit:cover; display:block;
    transition:transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .history-person:hover .history-avatar{transform:scale(1.07);}
  .history-person-name{display:block; font-family:'Poppins',sans-serif; font-weight:700; font-size:15px; color:var(--text);}
  .history-person-role{display:block; font-size:12.5px; color:var(--text-muted); margin-top:2px;}
  @media (max-width:900px){
    .history-block{grid-template-columns:1fr;}
    .history-copy{padding:34px 26px;}
    .history-team{border-left:none; border-top:1px solid var(--border); flex-direction:row; padding:26px;}
    .history-person{flex:1;}
  }
