  /* Fontes self-hosted (woff2 variable, subset latin). Antes via Google Fonts
     render-blocking + 2 conexões cross-origin; agora same-origin e cacheadas
     immutable. Regenerar: ver docs/PLANO_INDEXACAO.md (Fase 3). */
  @font-face{
    font-family:'Space Grotesk'; font-style:normal; font-weight:400 700;
    font-display:swap; src:url('/public/fonts/spacegrotesk.woff2') format('woff2');
  }
  @font-face{
    font-family:'JetBrains Mono'; font-style:normal; font-weight:400 700;
    font-display:swap; src:url('/public/fonts/jetbrainsmono.woff2') format('woff2');
  }
  @font-face{
    font-family:'VT323'; font-style:normal; font-weight:400;
    font-display:swap; src:url('/public/fonts/vt323.woff2') format('woff2');
  }

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

  :root{
    --bg:        #fef8ec;       /* warm cream */
    --bg-alt:    #fef3d0;       /* sunbeam */
    --bg-dark:   #18141f;       /* deep violet-black */
    --bg-dark-2: #221c2e;
    --ink:       #0a0610;       /* near-black, hint of violet */
    --ink-2:     #4a3f5a;
    --ink-3:     #7a6c8e;
    --paper:     #ffffff;

    --violet:    #7553ff;       /* Sentry signature */
    --violet-d:  #5a3fd9;
    --pink:      #ff45a8;
    --yellow:    #ffd84d;
    --lime:      #b6ff3c;
    --orange:    #ff6a2a;

    --sans:      'Space Grotesk', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono:      'JetBrains Mono', ui-monospace, monospace;
    --pixel:     'VT323', 'JetBrains Mono', monospace;

    --bw:        3px;           /* default border width */
    --bw-thick:  4px;
    --shadow:    6px 6px 0 var(--ink);
    --shadow-sm: 4px 4px 0 var(--ink);
    --shadow-lg: 10px 10px 0 var(--ink);
  }

  html,body{ background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
  body{ font-size:15px; line-height:1.45; max-width: 100vw; }
  a{ color: inherit; text-decoration: none; }
  img{ display:block; max-width:100%; }
  button{ font-family: inherit; cursor: pointer; }
  ::selection{ background: var(--violet); color: #fff; }

  /* ============ A11Y ============ */
  .skip-link{
    position: absolute; top: -100px; left: 12px;
    background: var(--ink); color: var(--bg);
    padding: 10px 14px;
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    transition: top .15s;
  }
  .skip-link:focus{ top: 12px; }

  :focus-visible{
    outline: 3px solid var(--violet);
    outline-offset: 2px;
  }
  .nav-status:focus-visible,
  .btn:focus-visible{ outline-offset: 4px; }

  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ============ TICKER ============ */
  .ticker{
    background: var(--ink); color: var(--bg);
    border-bottom: var(--bw) solid var(--ink);
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    letter-spacing: .08em; text-transform: uppercase;
    overflow: hidden; position: relative; height: 36px;
    display: flex; align-items: center;
  }
  .ticker-track{
    display: flex; gap: 48px; white-space: nowrap; padding-left: 48px;
    animation: tickerScroll 38s linear infinite;
  }
  .ticker-track > span{ display:inline-flex; align-items:center; gap: 12px; }
  .ticker-track > span::after{ content:'◆'; color: var(--violet); }
  @keyframes tickerScroll{
    from{ transform: translateX(0); }
    to  { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce){
    .ticker-track{ animation: none; }
  }

  /* ============ NAV ============ */
  .nav{
    background: var(--bg);
    border-bottom: var(--bw) solid var(--ink);
    padding: 14px 28px; display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px; align-items: center;
    position: sticky; top: 0; z-index: 50;
  }
  .brand{ display:flex; align-items:center; gap: 14px; }
  /* detalhes.html embrulha logo+meta num <a class="brand-link">; sem isto eles
     empilhariam vertical (logo em cima do nome). Mantém o layout igual à home. */
  .brand-link{ display:flex; align-items:center; gap: 14px; }
  .brand-mark{
    width: 44px; height: 44px;
    background: var(--ink);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    overflow: hidden;
  }
  .brand-mark span{ background: transparent; }
  .brand-mark span.v{ background: var(--violet); }
  .brand-mark span.p{ background: var(--pink); }
  .brand-mark span.y{ background: var(--yellow); }
  .brand-mark span.c{ background: var(--bg); }
  .brand-meta{ display: flex; flex-direction: column; gap: 2px; }
  .brand-name{ font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
  .brand-role{ font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); font-weight: 500; }

  .nav-mid{ display:flex; gap: 6px; justify-content: center; }
  .nav-mid a{
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    padding: 8px 12px; border: 2px solid transparent;
    text-transform: uppercase; letter-spacing: .06em;
    transition: all .12s;
  }
  .nav-mid a:hover{
    border-color: var(--ink); background: var(--yellow);
    transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--ink);
  }
  .nav-mid a .n{ color: var(--ink-3); margin-right: 4px; }

  .nav-right{ display:flex; gap: 10px; align-items: center; }
  .nav-status{
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--lime);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 7px 12px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
  }
  .nav-status .dot{
    width: 8px; height: 8px; background: var(--ink);
    animation: blip 1.4s ease-in-out infinite;
  }
  @keyframes blip{ 0%,100%{opacity:1;}50%{opacity:.25;} }

  .lang-btn{
    background: var(--bg);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 7px 12px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .08em;
    transition: all .12s;
  }
  .lang-btn:hover{ background: var(--violet); color: #fff; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
  .lang-btn .a{ font-weight: 700; }
  .lang-btn .i{ opacity: .35; }

  .nav-toggle{ display:none; background: var(--bg); border: var(--bw) solid var(--ink); padding: 6px 10px; box-shadow: var(--shadow-sm); font-family: var(--mono); font-weight: 700; }

  /* ============ HERO ============ */
  .hero{
    padding: 64px 32px 88px;
    border-bottom: var(--bw) solid var(--ink);
    background:
      radial-gradient(circle at 10% 0%, rgba(117,83,255,0.08), transparent 40%),
      radial-gradient(circle at 95% 30%, rgba(255,216,77,0.20), transparent 35%),
      var(--bg);
    position: relative; overflow: hidden;
  }
  .hero::before{
    content:''; position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--ink) 1px, transparent 1px),
      linear-gradient(90deg, var(--ink) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.04;
    pointer-events: none;
  }

  .hero-grid{
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px;
    align-items: center; position: relative;
  }

  .hero-stamp{
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ink); color: var(--bg);
    padding: 7px 14px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
  }
  .hero-stamp .pulse{ width: 8px; height: 8px; background: var(--lime); animation: blip 1.4s ease-in-out infinite; }

  .hero h1{
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(44px, 6.6vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }
  .hero h1 .hl{
    display: inline-block;
    background: var(--violet); color: #fff;
    padding: 4px 16px 8px;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    transform: rotate(-1.2deg);
    margin: 6px 0;
  }
  .hero h1 .hl.alt{ background: var(--yellow); color: var(--ink); transform: rotate(1deg); }
  .hero h1 .und{ text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 6px; text-decoration-color: var(--pink); }

  .hero-deck{
    margin-top: 36px;
    max-width: 580px;
    font-size: 18px; line-height: 1.55;
    color: var(--ink-2);
  }
  .hero-deck strong{ color: var(--ink); font-weight: 700; }

  .hero-ctas{ margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

  .btn{
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 24px;
    background: var(--ink); color: var(--bg);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    transition: transform .12s, box-shadow .12s;
  }
  .btn:hover{ transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
  .btn:active{ transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
  .btn.primary{ background: var(--violet); color: #fff; }
  .btn.ghost{ background: var(--bg); color: var(--ink); }
  .btn.yellow{ background: var(--yellow); color: var(--ink); }
  .btn .arr{ font-family: var(--mono); font-weight: 700; transition: transform .15s; }
  .btn:hover .arr{ transform: translateX(4px); }

  .hero-stats{
    margin-top: 56px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: var(--bw) solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .hero-stats > div{ padding: 18px 18px; border-right: 2px solid var(--ink); }
  .hero-stats > div:last-child{ border-right: none; }
  .hero-stats .v{
    font-family: var(--mono);
    font-size: 32px; font-weight: 700; letter-spacing: -0.03em;
    color: var(--ink); line-height: 1;
  }
  .hero-stats .v em{ font-style: normal; color: var(--violet); }
  .hero-stats .l{
    display: block; margin-top: 8px;
    font-family: var(--mono); font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
  }

  /* photo card */
  .hero-photo-wrap{ position: relative; max-width: 420px; margin-left: auto; }
  .hero-photo{
    position: relative;
    border: var(--bw) solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform .25s;
  }
  .hero-photo:hover{ transform: rotate(0deg); }
  .hero-photo img{
    width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
    filter: grayscale(0.15) contrast(1.05);
  }
  .hero-photo-tag{
    position: absolute; top: -16px; left: -16px;
    z-index: 2;
    background: var(--yellow);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 8px 14px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    transform: rotate(-4deg);
  }
  .hero-photo-bar{
    border-top: var(--bw) solid var(--ink);
    padding: 12px 16px;
    display: flex; justify-content: space-between;
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    background: var(--bg-alt);
  }
  .hero-pixel-deco{
    position: absolute; bottom: -32px; right: -24px;
    width: 96px; height: 96px;
    background:
      conic-gradient(from 0deg,
        var(--pink) 0deg 90deg,
        var(--ink) 90deg 180deg,
        var(--violet) 180deg 270deg,
        var(--yellow) 270deg 360deg);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    animation: spinSlow 14s linear infinite;
  }
  @keyframes spinSlow{ to{ transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce){ .hero-pixel-deco{ animation: none; } }

  /* ============ SECTION SHELL ============ */
  section{ border-bottom: var(--bw) solid var(--ink); position: relative; scroll-margin-top: 96px; }
  .sec-hdr{
    max-width: 1280px; margin: 0 auto;
    padding: 56px 32px 28px;
    display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end;
  }
  .sec-id{
    background: var(--ink); color: var(--bg);
    padding: 6px 12px; border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    align-self: start;
  }
  .sec-hdr h2{
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-wrap: balance;
  }
  .sec-hdr h2 .hl{
    background: var(--yellow); padding: 0 10px;
    border: var(--bw) solid var(--ink);
    display: inline-block;
    box-shadow: 4px 4px 0 var(--ink);
    transform: rotate(-1deg);
  }
  .sec-deck{
    font-family: var(--mono); font-size: 12px;
    text-align: right; color: var(--ink-2); font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em;
    max-width: 200px; justify-self: end;
  }

  .sec-body{ max-width: 1280px; margin: 0 auto; padding: 24px 32px 72px; }

  /* ============ SOBRE ============ */
  .about{ background: var(--bg); }
  .about .sec-body{
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  }
  .about-card{
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 32px 36px;
    position: relative;
  }
  .about-card::before{
    content: '"'; position: absolute; top: 8px; right: 16px;
    font-family: var(--pixel); font-size: 96px; color: var(--violet); line-height: 1;
  }
  .about-card p{ font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
  .about-card p:last-child{ margin-bottom: 0; }
  .about-card p strong{ background: var(--yellow); padding: 0 4px; }

  .about-side{
    display: flex; flex-direction: column; gap: 14px;
  }
  .about-box{
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 18px 20px;
  }
  .about-box.hl{ background: var(--violet); color: #fff; }
  .about-box.hl .k{ color: rgba(255,255,255,0.7); }
  .about-box.yel{ background: var(--yellow); }
  .about-box .k{ font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 6px; }
  .about-box .v{ font-size: 16px; font-weight: 600; line-height: 1.3; }
  .about-box .v b{ font-weight: 700; }
  .about-box .v small{ display:block; font-size: 12px; font-weight: 500; margin-top: 2px; opacity: 0.8; }

  /* ============ COMO FUNCIONA ============ */
  .how{ background: var(--bg-alt); }
  .how-steps{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    padding-top: 8px;
  }
  .how-step{
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 28px 28px 32px;
    position: relative;
    transition: transform .18s, box-shadow .18s;
  }
  .how-step:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }

  .how-step .num{
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: var(--ink); color: var(--bg);
    border: var(--bw) solid var(--ink);
    box-shadow: 4px 4px 0 var(--violet);
    font-family: var(--mono); font-size: 22px; font-weight: 700;
    margin-bottom: 22px;
  }
  .how-step:nth-child(2) .num{ box-shadow: 4px 4px 0 var(--pink); }
  .how-step:nth-child(3) .num{ box-shadow: 4px 4px 0 var(--yellow); }

  .how-step h3{ font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
  .how-step p{ font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; }
  .how-step .meta{
    display: inline-block; margin-top: 4px;
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    background: var(--bg-alt); border: 2px solid var(--ink);
    padding: 4px 10px; text-transform: uppercase; letter-spacing: .06em;
  }

  .how-arrow{
    position: absolute; top: 50%; right: -22px; transform: translateY(-50%);
    width: 32px; height: 32px;
    background: var(--ink); color: var(--bg);
    border: var(--bw) solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-weight: 700; font-size: 18px;
    z-index: 2;
  }

  .how-foot{
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--ink); color: var(--bg);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  }
  .how-foot p{ font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
  .how-foot p b{ color: var(--lime); font-weight: 700; }

  /* ============ SERVIÇOS ============ */
  .serv{ background: var(--bg); }
  .serv-grid{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .serv-card{
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 28px 28px 32px;
    display: flex; flex-direction: column;
    transition: transform .18s, box-shadow .18s;
    position: relative;
  }
  .serv-card:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
  .serv-card.feat{ background: var(--violet); color: #fff; }
  .serv-card.feat .serv-tag{ background: var(--yellow); color: var(--ink); }
  .serv-card.feat .serv-desc{ color: rgba(255,255,255,0.85); }
  .serv-card.feat .pain{ background: rgba(0,0,0,0.25); color: #fff; border-color: var(--ink); }
  .serv-card.pink{ background: var(--yellow); }

  /* CTA pós-grid: barra destacada, separada dos cards */
  .serv-more{
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 40px;
    padding: 20px 28px;
    background: var(--violet); color: #fff;
    border: var(--bw-thick) solid var(--ink);
    box-shadow: var(--shadow);
    font-family: var(--mono); font-size: 14px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; text-align: center;
    transition: transform .12s, box-shadow .12s;
  }
  .serv-more:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
  .serv-more:active{ transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

  .serv-head{
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px;
  }
  .serv-icon{
    width: 56px; height: 56px;
    background: var(--ink);
    border: var(--bw) solid var(--ink);
    box-shadow: 4px 4px 0 var(--violet);
    display: grid; place-items: center;
    color: var(--bg);
    font-family: var(--pixel); font-size: 32px; line-height: 1;
  }
  .serv-card.feat .serv-icon{ background: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
  .serv-card.pink .serv-icon{ box-shadow: 4px 4px 0 var(--pink); }

  .serv-tag{
    background: var(--ink); color: var(--bg);
    padding: 5px 10px;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    border: 2px solid var(--ink);
  }

  .serv-card h3{ font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
  .serv-desc{ font-size: 14px; line-height: 1.55; color: var(--ink-2); flex: 1; }
  .pain{
    margin-top: 16px;
    padding: 10px 14px;
    border: 2px solid var(--ink);
    background: var(--bg-alt);
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: .04em;
    display: flex; align-items: flex-start; gap: 8px;
  }
  .pain::before{ content: '⚡'; font-family: var(--sans); }

  /* ============ FAQ ============ */
  .faq{ background: var(--bg-alt); }
  .faq-list{ display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
  .faq-item{
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .18s, transform .18s;
  }
  .faq-item[open]{ box-shadow: var(--shadow); }
  .faq-item summary{
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 22px;
    position: relative;
    font-family: var(--sans);
    font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
    color: var(--ink);
  }
  .faq-item summary::-webkit-details-marker{ display: none; }
  .faq-item summary::after{
    content: '+';
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    font-family: var(--mono); font-size: 28px; font-weight: 400; line-height: 1;
    color: var(--violet);
  }
  .faq-item[open] summary::after{ content: '−'; }
  .faq-item summary:hover{ color: var(--violet); }
  .faq-item summary:focus-visible{ outline: var(--bw) solid var(--violet); outline-offset: 2px; }
  .faq-a{ padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

  /* ============ EMPRESAS ============ */
  .empresas{ background: var(--bg-alt); }
  .emp-grid{
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    background: var(--paper);
  }
  .emp-cell{
    aspect-ratio: 4/3;
    display: grid; place-items: center;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    position: relative;
    transition: background .18s;
  }
  .emp-cell:last-child{ border-right: none; }
  @media (min-width: 1101px){
    .emp-cell{ border-bottom: none; }
  }
  .emp-cell:hover{ background: var(--yellow); }
  .emp-cell img{ height: 36px; width: auto; max-width: 80%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: all .18s; }
  .emp-cell img[alt="Queima Diária"]{ filter: invert(1) grayscale(1); }
  .emp-cell:hover img{ opacity: 1; filter: grayscale(0); }
  .emp-cell:hover img[alt="Queima Diária"]{ filter: grayscale(0); }
  .emp-cell .y{
    position: absolute; top: 8px; left: 10px;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .08em; color: var(--ink-3);
  }
  .emp-cell:hover .y{ color: var(--ink); }

  /* ============ TRAJETÓRIA ============ */
  .traj{ background: var(--bg); }
  .traj-list{ display:flex; flex-direction:column; gap: 18px; }
  .traj-row{
    display: grid; grid-template-columns: 140px 1fr auto;
    gap: 28px; align-items: start;
    background: var(--paper);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 22px 26px;
    transition: transform .15s, box-shadow .15s;
  }
  .traj-row:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow); background: var(--bg-alt); }
  .traj-row.now{ background: var(--lime); }
  .traj-row.now:hover{ background: var(--lime); }
  .traj-period{ font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
  .traj-period .y1{ display: block; color: var(--ink); font-size: 15px; }
  .traj-period .y2{ color: var(--ink-2); margin-top: 2px; display: block; }
  .traj-period.now-tag{ display: inline-flex; align-items: center; gap: 6px; }
  .traj-row.now .traj-period .y1::before{ content:''; display: inline-block; width: 9px; height: 9px; background: var(--ink); margin-right: 6px; vertical-align: middle; animation: blip 1.4s ease-in-out infinite; }

  .traj-body .co{ font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
  .traj-body .role{ font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 2px; }
  .traj-body p{ margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 720px; }
  .traj-tags{
    display:flex; gap: 6px; flex-direction: column;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    text-align: right;
  }
  .traj-tags span{ background: var(--bg-alt); border: 2px solid var(--ink); padding: 3px 8px; }

  /* ============ STACK (de-priorizado) ============ */
  .stack{ background: var(--bg-dark); color: var(--bg); }
  .stack .sec-hdr h2{ color: var(--bg); }
  .stack .sec-hdr h2 .hl{ color: var(--ink); }
  .stack .sec-id{ background: var(--violet); border-color: var(--violet); box-shadow: 4px 4px 0 var(--lime); }
  .stack .sec-deck{ color: rgba(255,255,255,0.6); }
  .stack-note{
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.25);
    padding: 14px 18px;
    font-family: var(--mono); font-size: 12px; line-height: 1.55;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    max-width: 720px;
  }
  .stack-note b{ color: var(--yellow); }

  .stack-grid{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  }
  .stack-cat{
    background: var(--bg-dark-2);
    border: 2px solid rgba(255,255,255,0.18);
    padding: 16px 16px 14px;
    font-family: var(--mono);
  }
  .stack-cat h4{
    font-size: 12px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--violet);
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,0.12);
  }
  .stack-cat ul{ list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .stack-cat li{
    font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500;
    display: flex; align-items: center; gap: 8px;
  }
  .stack-cat li::before{
    content: ''; width: 6px; height: 6px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
  }
  .stack-cat li.pri{ color: #fff; }
  .stack-cat li.pri::before{ background: var(--lime); }

  /* ============ IA BAND ============ */
  .iaband{
    background: var(--bg-dark); color: var(--bg);
    border-bottom: var(--bw) solid var(--ink);
    position: relative; overflow: hidden;
    padding: 72px 32px;
  }
  .iaband::before{
    content:''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 8% 10%, rgba(182,255,60,0.18), transparent 32%),
      radial-gradient(circle at 92% 80%, rgba(117,83,255,0.28), transparent 38%);
    pointer-events: none;
  }
  .iaband::after{
    content:''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }
  .iaband-inner{ position: relative; max-width: 1180px; margin: 0 auto; }
  .iaband-tag{
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--lime); color: var(--ink);
    border: var(--bw) solid var(--ink);
    box-shadow: 4px 4px 0 var(--violet);
    padding: 8px 14px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 28px;
  }
  .iaband-h{
    font-family: var(--sans); font-weight: 700;
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.02; letter-spacing: -0.03em;
    color: var(--bg);
    max-width: 980px;
    text-wrap: balance;
  }
  .iaband-h .hl{
    display: inline-block;
    background: var(--lime); color: var(--ink);
    padding: 2px 12px 6px;
    border: var(--bw) solid var(--ink);
    box-shadow: 4px 4px 0 var(--violet);
    transform: rotate(-1deg);
    margin: 4px 0;
  }
  .iaband-sub{
    margin-top: 28px; max-width: 760px;
    font-size: 17px; line-height: 1.55;
    color: rgba(255,255,255,0.78);
  }
  .iaband-stats{
    margin-top: 44px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    border: var(--bw) solid var(--ink);
    background: var(--bg-dark-2);
    box-shadow: var(--shadow);
  }
  .iaband-stat{ padding: 22px 22px; border-right: 2px solid var(--ink); }
  .iaband-stat:last-child{ border-right: none; }
  .iaband-stat .v{
    font-family: var(--mono); font-size: 38px; font-weight: 700;
    letter-spacing: -0.03em; color: var(--lime); line-height: 1;
  }
  .iaband-stat .l{
    margin-top: 10px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    letter-spacing: .04em; color: rgba(255,255,255,0.7); line-height: 1.45;
  }
  .iaband-checks{
    margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 18px;
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.85);
  }
  .iaband-checks span{ display: inline-flex; align-items: center; }
  .iaband-cta{
    margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  }
  @media (max-width: 900px){
    .iaband-stats{ grid-template-columns: 1fr; }
    .iaband-stat{ border-right: none; border-bottom: 2px solid var(--ink); }
    .iaband-stat:last-child{ border-bottom: none; }
  }
  @media (max-width: 640px){
    .iaband{ padding: 56px 20px; }
    .iaband-h{ font-size: clamp(28px, 8vw, 44px); }
  }

  /* ============ FLOAT CTA ============ */
  #cta-float{
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--violet); color: #fff;
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 14px 20px;
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    opacity: 0; transform: translateY(20px) scale(0.92);
    pointer-events: none;
    transition: opacity .25s, transform .25s, box-shadow .15s;
  }
  #cta-float.visible{
    opacity: 1; transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  #cta-float:hover{
    transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink);
    background: var(--lime); color: var(--ink);
  }
  #cta-float .dot{
    width: 8px; height: 8px; background: var(--lime);
    animation: blip 1.4s ease-in-out infinite;
    border: 1px solid var(--ink);
  }
  #cta-float:hover .dot{ background: var(--ink); }
  @media (max-width: 640px){
    #cta-float{ bottom: 16px; right: 16px; padding: 12px 16px; font-size: 11px; }
  }

  /* ============ CONTATO ============ */
  .contato{ background: var(--violet); color: #fff; border-bottom: var(--bw) solid var(--ink); position: relative; overflow: hidden; }
  .contato::before{
    content:''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
  }
  .contato .sec-hdr h2{ color: #fff; }
  .contato .sec-hdr h2 .hl{ background: var(--yellow); color: var(--ink); }
  .contato .sec-id{ background: var(--yellow); color: var(--ink); border-color: var(--ink); }
  .contato .sec-deck{ color: rgba(255,255,255,0.85); }
  .cont-body{
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px;
    position: relative;
  }
  .cont-channels, .cont-form{ min-width: 0; }
  .cont-channels{ display: flex; flex-direction: column; gap: 14px; }
  .cont-channels a{
    display: grid; grid-template-columns: 70px 1fr auto;
    align-items: center; gap: 16px;
    background: #fff; color: var(--ink);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    transition: transform .15s, box-shadow .15s;
  }
  .cont-channels a:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow); background: var(--yellow); }
  .cont-channels a .k{
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  }
  .cont-channels a .val{ font-size: 15px; font-weight: 600; }
  .cont-channels a .arr{ font-family: var(--mono); font-weight: 700; font-size: 18px; }

  .cont-form{
    background: #fff; color: var(--ink);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .cont-form h3{ font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
  .cont-form h3 span{ background: var(--yellow); padding: 0 6px; }
  .cont-form .row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .cont-form .field{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .cont-form label{ font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .cont-form label .opt{ color: var(--ink-3); font-weight: 500; text-transform: none; letter-spacing: 0; }
  .cont-form input, .cont-form textarea, .cont-form select{
    border: var(--bw) solid var(--ink);
    background: var(--bg);
    padding: 10px 12px;
    font-family: var(--sans); font-size: 15px;
    color: var(--ink);
    width: 100%; min-width: 0; box-sizing: border-box;
  }
  .cont-form input:focus, .cont-form textarea:focus, .cont-form select:focus{
    outline: none; background: var(--yellow);
  }
  .cont-form textarea{ resize: vertical; min-height: 80px; }
  .cont-form .send{
    align-self: flex-start; margin-top: 4px;
    background: var(--ink); color: var(--bg);
    border: var(--bw) solid var(--ink);
    box-shadow: var(--shadow);
    padding: 14px 22px;
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    transition: transform .12s, box-shadow .12s;
  }
  .cont-form .send:hover{ transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); background: var(--lime); color: var(--ink); }
  .cont-form .send:disabled{ opacity:.6; cursor:not-allowed; transform:none; box-shadow:var(--shadow); }
  .form-msg{ font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 10px 14px; border: var(--bw) solid var(--ink); }
  .form-msg.ok{ background: var(--lime); color: var(--ink); }
  .form-msg.err{ background: #ffd4d4; color: var(--ink); }

  /* nav press feedback */
  .nav-mid a.nav-press{
    transform: translate(2px,2px) !important;
    box-shadow: 1px 1px 0 var(--ink) !important;
    background: var(--yellow) !important;
    border-color: var(--ink) !important;
  }

  /* ============ FOOTER ============ */
  footer.bot{
    background: var(--ink); color: var(--bg);
    padding: 28px 32px;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: .08em;
  }
  footer.bot a{ color: var(--bg); transition: color .15s; }
  footer.bot a:hover{ color: var(--yellow); }
  footer.bot .links{ display:flex; gap: 18px; justify-content: center; }
  footer.bot .b{ text-align: right; opacity: 0.6; }

  /* ============ REVEAL ============ */
  .reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
  .reveal.in{ opacity: 1; transform: none; }
  .reveal-stagger > *{ opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
  .reveal-stagger.in > *{ opacity: 1; transform: none; }
  .reveal-stagger.in > *:nth-child(1){ transition-delay: .05s; }
  .reveal-stagger.in > *:nth-child(2){ transition-delay: .14s; }
  .reveal-stagger.in > *:nth-child(3){ transition-delay: .23s; }
  .reveal-stagger.in > *:nth-child(4){ transition-delay: .32s; }
  .reveal-stagger.in > *:nth-child(5){ transition-delay: .41s; }
  .reveal-stagger.in > *:nth-child(6){ transition-delay: .50s; }
  .reveal-stagger.in > *:nth-child(n+7){ transition-delay: .58s; }
  @media (prefers-reduced-motion: reduce){
    .reveal,.reveal-stagger > *{ opacity:1!important; transform:none!important; }
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1100px){
    .nav-mid{ display: none; }
    .nav-toggle{ display: inline-flex; }
    .nav{ grid-template-columns: auto 1fr; }
    .nav-mid.open{
      display:flex; flex-direction:column; gap: 6px;
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--bg); border-bottom: var(--bw) solid var(--ink);
      padding: 16px 28px;
    }
    .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
    .hero-photo-wrap{ max-width: 360px; margin: 0; }
    .stack-grid{ grid-template-columns: repeat(2, 1fr); }
    .emp-grid{ grid-template-columns: repeat(3, 1fr); }
    .emp-cell{ border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
    .emp-cell:nth-child(3n){ border-right: none; }
    .emp-cell:nth-last-child(-n+3){ border-bottom: none; }
    .emp-cell:last-child{ border-right: none; }
  }
  @media (max-width: 1024px){
    .cont-body{ grid-template-columns: 1fr; }
  }
  @media (max-width: 900px){
    .how-steps{ grid-template-columns: 1fr; gap: 32px; }
    .how-arrow{ top: auto; bottom: -28px; right: 50%; transform: translateX(50%) rotate(90deg); }
    .serv-grid{ grid-template-columns: 1fr 1fr; }
    .about .sec-body{ grid-template-columns: 1fr; }
    .traj-row{ grid-template-columns: 100px 1fr; gap: 16px; }
    .traj-tags{ grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  }
  @media (max-width: 640px){
    .sec-hdr{ grid-template-columns: 1fr; gap: 12px; padding: 40px 20px 20px; }
    .sec-deck{ text-align: left; justify-self: start; max-width: 100%; }
    .sec-body{ padding: 16px 20px 48px; }
    .hero{ padding: 40px 20px 64px; }
    .hero-stats{ grid-template-columns: 1fr 1fr; }
    .hero-stats > div:nth-child(2){ border-right: none; }
    .hero-stats > div:nth-child(n+3){ border-top: 2px solid var(--ink); }
    .serv-grid{ grid-template-columns: 1fr; }
    .serv-card{ padding: 22px 20px; }
    .emp-grid{ grid-template-columns: 1fr 1fr; }
    .emp-cell{ border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
    .emp-cell:nth-child(2n){ border-right: none; }
    .emp-cell:nth-last-child(-n+2){ border-bottom: none; }
    .emp-cell:last-child{ border-right: none; }
    .stack-grid{ grid-template-columns: 1fr; }
    .traj-row{ grid-template-columns: 1fr; gap: 8px; padding: 20px 18px; }
    .traj-body{ padding-left: 0; }
    footer.bot{ grid-template-columns: 1fr; text-align: center; gap: 12px; }
    footer.bot .b{ text-align: center; }
    .hero h1 .hl{ transform: rotate(0); }
    .ticker{ font-size: 11px; }
    .nav{ padding: 12px 18px; }
    .nav-right{ gap: 8px; }
    .nav-status{ display: none; }
    .brand-mark{ width: 38px; height: 38px; }

    /* form: stack columns, button full width */
    .cont-form{ padding: 22px 18px; }
    .cont-form .row{ grid-template-columns: 1fr; gap: 14px; }
    .cont-form textarea{ min-height: 110px; }
    .cont-form .send{
      align-self: stretch;
      width: 100%;
      text-align: center;
      padding: 16px 18px;
      font-size: 12px;
      letter-spacing: 0.06em;
      word-break: keep-all;
    }

    /* typography scale */
    h2{ font-size: clamp(36px, 9vw, 56px); line-height: 1.05; }
    .hero h1{ font-size: clamp(40px, 11vw, 72px); line-height: 1.02; }
  }

  /* honeypot anti-spam (CSP style-src self: sem inline) */
  .hp{ position:absolute; left:-9999px; }
