/* ===== TOKENS ===== */
:root{
    --black:#14110B;
    --charcoal:#211B10;
    --charcoal-2:#2b2312;
    --gold:#E4A825;
    --gold-deep:#B9821A;
    --gold-pale:#F4CE6B;
    --cream:#F3E9CE;
    --rust:#9A2E1B;
    --rust-2:#c8441f;
    --white:#FBF7EF;
    --ink:#171310;
    --max:1200px;
    --ease:cubic-bezier(.16,.84,.44,1);
    /* escala de espaçamento */
    --sp-xs:8px;
    --sp-sm:12px;
    --sp-md:16px;
    --sp-lg:24px;
    --sp-xl:32px;
    --sp-2xl:48px;
    --sp-3xl:64px;
    --section-y:80px;
  }

/* ===== GUIDE LINE ===== */
.guide-line{position:fixed; z-index:640; pointer-events:none; display:none;}
@media (hover:hover) and (pointer:fine){.guide-line.on{display:block;}}
.guide-v{top:0; bottom:0; left:0; width:1px; background:rgba(127,212,255,0.55); will-change:transform;}
.guide-h{left:0; right:0; top:0; height:1px; background:rgba(255,110,220,0.55); will-change:transform;}
@media (prefers-reduced-motion: reduce){.guide-line{display:none !important;}}

/* ===== LAYERS PANEL ===== */
.layers-panel{
    position:fixed; right:0; top:50%; transform:translateY(-50%) translateX(calc(100% - 42px));
    z-index:650;
    background:rgba(20,17,11,0.92); backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(228,168,37,0.28); border-right:none; border-radius:12px 0 0 12px;
    padding:10px 8px 10px 52px;
    display:flex; flex-direction:column;
    width:276px; max-height:82vh;
    box-shadow:0 22px 50px -18px rgba(0,0,0,0.7);
    font-size:13px; font-weight:700;
    transition:transform .45s cubic-bezier(.22,1,.36,1);
  }
  .layers-panel.is-open{transform:translateY(-50%) translateX(0);}
  .layers-tab{
    position:absolute; left:0; top:0; bottom:0; width:42px;
    display:flex; align-items:center; justify-content:center; gap:10px;
    writing-mode:vertical-rl; text-orientation:mixed;
    background:rgba(228,168,37,0.08); border:none;
    border-right:1px solid rgba(228,168,37,0.2);
    border-radius:12px 0 0 12px;
    color:var(--gold); font-family:'Inter',sans-serif; font-size:10px; font-weight:800;
    letter-spacing:0.16em; text-transform:uppercase; cursor:pointer;
  }
  .layers-tab:hover{background:rgba(228,168,37,0.18); color:var(--gold-pale);}
  .layers-tab:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
  .layers-tab-chev{writing-mode:horizontal-tb; font-size:11px; line-height:1; transition:transform .35s var(--ease);}
  .layers-panel.is-open .layers-tab-chev{transform:rotate(180deg);}
  .layers-inner{display:flex; flex-direction:column; gap:2px; overflow-y:auto; min-height:0;}
  @media (prefers-reduced-motion: reduce){ .layers-panel{transition:none;} }
  .layers-title{font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); padding:2px 8px 8px;}
  .layer-row{
    display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:8px;
    color:rgba(251,247,239,0.8); background:none; border:none; font:inherit; font-size:13px; text-align:left; text-decoration:none; cursor:pointer;
  }
  .layer-row:hover{background:rgba(228,168,37,0.12); color:var(--gold);}
  .layer-row.is-active{background:rgba(228,168,37,0.18); color:var(--gold-pale);}
  .layer-row:focus-visible{outline:2px solid var(--gold); outline-offset:2px;}
  .layer-eye{width:18px; height:18px; flex:none;}
  .layers-panel.is-wide{width:380px;}
  .layers-resize{
    position:absolute; left:42px; top:50%; transform:translateY(-50%);
    width:20px; height:52px; padding:0;
    display:none; align-items:center; justify-content:center;
    background:rgba(228,168,37,0.08); border:1px solid rgba(228,168,37,0.2); border-left:none;
    border-radius:0 8px 8px 0; color:var(--gold); cursor:pointer; z-index:2;
  }
  .layers-panel.is-open .layers-resize{display:flex;}
  .layers-resize:hover{background:rgba(228,168,37,0.2); color:var(--gold-pale);}
  .layers-resize svg{width:12px; height:12px;}
  .layers-panel.is-wide .layers-resize svg{transform:scaleX(-1);}
  .layers-collapse{
    display:flex; align-items:center; justify-content:center; gap:6px;
    margin-top:8px; padding:7px 10px;
    background:rgba(228,168,37,0.06); border:1px solid rgba(228,168,37,0.18); border-radius:8px;
    color:var(--gold); font:inherit; font-size:10px; font-weight:800; letter-spacing:0.1em;
    text-transform:uppercase; cursor:pointer;
  }
  .layers-collapse:hover{background:rgba(228,168,37,0.16); color:var(--gold-pale);}
  .layers-collapse svg{width:12px; height:12px; flex:none;}
  .layers-sep{
    margin:6px 8px 4px; padding-top:6px;
    border-top:1px solid rgba(228,168,37,0.18);
    font-size:9px; letter-spacing:0.14em; text-transform:uppercase;
    color:rgba(228,168,37,0.55); font-weight:800;
  }
  .layer-off{position:relative !important;}
  .layer-off-veil{
    position:absolute; inset:0; z-index:60; display:flex; align-items:center; justify-content:center;
    text-align:center; padding:24px; background:rgba(12,9,5,0.82); color:var(--gold-pale);
    font-family:'Anton',sans-serif; font-size:clamp(20px,4vw,44px); line-height:1.25;
    text-transform:uppercase; letter-spacing:0.02em;
  }
  .layer-row.eye-off .layer-eye{opacity:0.25;}
  .veil-note{display:none; position:fixed; left:50%; transform:translateX(-50%); bottom:24px; width:min(86vw,340px); z-index:701; padding:10px 14px; border-radius:10px; border:1px dashed rgba(228,168,37,0.5); background:rgba(20,17,11,0.92); color:var(--gold-pale); font-size:12px; font-weight:700; line-height:1.5; text-align:center;}
  .veil-note.show{display:block;}
  @media (min-width:981px){.veil-note{display:none !important;}}

/* ===== PARALLAX BAND ===== */
.parallax-band{position:relative; height:56vh; min-height:340px; overflow:hidden; background:var(--black);}

/* ===== REVEAL ===== */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
.reveal.in{opacity:1; transform:translateY(0);}

/* ===== GRAPHIC-SOFTWARE CHROME ===== */
  .gfx-toolbar{
    position:fixed; left:16px; top:50%; transform:translateY(-50%); z-index:650;
    background:rgba(20,17,11,0.72);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(228,168,37,0.15); border-radius:8px;
    padding:6px 5px 8px; display:flex; flex-direction:column; align-items:center;
    box-shadow:0 22px 50px -18px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
    width:48px; height:700px; max-height:calc(100vh - 40px);
    transition:transform .45s var(--ease);
  }
  /* recolhida: sai para a esquerda; a seta fica parada no mesmo lugar */
  .gfx-toolbar.is-collapsed{transform:translateY(-50%) translateX(-88px);}
  .gfx-toolbar-collapse{
    display:flex; align-items:center; justify-content:center; width:100%; height:18px; margin:-1px 0 5px;
    padding:0; border:0; border-radius:5px; background:transparent; cursor:pointer;
    color:rgba(251,247,239,0.62); font:inherit;
    transition:transform .45s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), height .2s var(--ease);
  }
  .gfx-toolbar-collapse svg{width:15px; height:15px; display:block;}
  .gfx-toolbar-collapse .ico-right{display:none;}
  .gfx-toolbar-collapse:hover{color:var(--gold); background:rgba(228,168,37,0.12);}
  .gfx-toolbar-collapse:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
  .gfx-toolbar.is-collapsed .gfx-toolbar-collapse{
    transform:translateX(88px); height:26px;
    background:rgba(20,17,11,0.86);
    border:1px solid rgba(228,168,37,0.28);
    box-shadow:0 14px 30px -14px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.05);
    color:rgba(251,247,239,0.7);
  }
  .gfx-toolbar.is-collapsed .gfx-toolbar-collapse .ico-left{display:none;}
  .gfx-toolbar.is-collapsed .gfx-toolbar-collapse .ico-right{display:block;}
  .gfx-toolbar-grid{
    display:grid; grid-template-columns:1fr; grid-auto-rows:1fr; gap:2px;
    width:100%; flex:1 1 auto; min-height:0;
    padding-bottom:7px; margin-bottom:8px;
    border-bottom:1px solid rgba(228,168,37,0.15);
  }
  .gfx-tool{
    position:relative; width:100%; height:100%; min-height:22px; border-radius:5px;
    display:flex; align-items:center; justify-content:center;
    color:rgba(251,247,239,0.8); cursor:default;
    transition:background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  }
  .gfx-tool svg{width:16px; height:16px;}
  .gfx-tool:nth-child(2)::after,
  .gfx-tool:nth-child(3)::after,
  .gfx-tool:nth-child(7)::after,
  .gfx-tool:nth-child(9)::after,
  .gfx-tool:nth-child(11)::after,
  .gfx-tool:nth-child(13)::after,
  .gfx-tool:nth-child(15)::after{
    content:""; position:absolute; right:3px; bottom:3px;
    border-style:solid; border-width:0 0 4px 4px;
    border-color:transparent transparent rgba(228,168,37,0.55) transparent;
  }
  .gfx-tool:hover{
    background:rgba(228,168,37,0.14);
    box-shadow:inset 0 0 0 1px rgba(228,168,37,0.3);
    color:var(--gold);
  }
  .gfx-toolbar .sep{height:1px; background:rgba(0,0,0,0.2); margin:3px 1px;}
  .gfx-swatches{
    position:relative; width:32px; height:32px; margin:0 auto 7px; flex:none;
  }
  .gfx-swatches .sq{
    position:absolute; width:20px; height:20px; border:1px solid rgba(251,247,239,0.35); border-radius:2px;
    box-shadow:0 2px 6px rgba(0,0,0,0.45);
  }
  .gfx-swatches .sq.black{background:#14110B; top:0; left:0; z-index:2;}
  .gfx-swatches .sq.white{background:#fff; bottom:0; right:0; z-index:1;}
  .gfx-mode-btn{
    width:22px; height:22px; border-radius:50%; border:2px solid rgba(228,168,37,0.45); margin:0 auto; flex:none;
    background:linear-gradient(135deg, rgba(251,247,239,0.9), rgba(228,168,37,0.55));
    box-shadow:0 2px 6px rgba(0,0,0,0.4);
  }

  .ruler{
    height:26px; position:relative; overflow:hidden;
    background-image:repeating-linear-gradient(90deg, rgba(228,168,37,0.4) 0 1px, transparent 1px 10px),
                      repeating-linear-gradient(90deg, rgba(228,168,37,0.7) 0 1.5px, transparent 1.5px 50px);
    border-top:1px solid rgba(228,168,37,0.14);
  }
  header.nav .ruler{height:22px;}
  .ruler-fill{
    position:absolute; left:0; top:0; bottom:0; width:100%;
    transform:scaleX(0); transform-origin:left center; will-change:transform;
    background:linear-gradient(90deg, rgba(228,168,37,0.32), rgba(228,168,37,0.1));
    box-shadow:1px 0 0 var(--gold);
    pointer-events:none;
  }
  .ruler-badge{
    position:absolute; right:16px; top:50%; transform:translateY(-50%);
    font-size:10px; font-weight:800; letter-spacing:0.08em; color:var(--gold); background:var(--black);
    padding:2px 8px; border:1px solid rgba(228,168,37,0.3); border-radius:4px;
  }
  .ruler-ticks{position:absolute; inset:0; pointer-events:none;}
  .ruler-ticks span{
    position:absolute; top:50%; transform:translate(-50%,-50%);
    font-family:'JetBrains Mono','Courier New',monospace; font-size:8.5px; font-weight:600;
    color:rgba(228,168,37,0.55); letter-spacing:0.02em;
  }

  .marquee-frame{position:relative;}
  .marquee-frame::before{
    content:""; position:absolute; inset:-8px; border:1.5px dashed rgba(228,168,37,0.55); border-radius:16px;
    opacity:0; transition:opacity .3s var(--ease); pointer-events:none;
  }
  .marquee-frame:hover::before, .marquee-frame.always::before{opacity:1;}
  .m-handle{
    position:absolute; width:7px; height:7px; background:var(--gold); border:1px solid var(--ink); z-index:3;
    opacity:0; transition:opacity .3s var(--ease); pointer-events:none;
  }
  .marquee-frame:hover .m-handle, .marquee-frame.always .m-handle{opacity:1;}
  .m-handle.tl{top:-11px; left:-11px;} .m-handle.tr{top:-11px; right:-11px;}
  .m-handle.bl{bottom:-11px; left:-11px;} .m-handle.br{bottom:-11px; right:-11px;}

  .reg-mark{position:absolute; width:26px; height:26px; opacity:0.45; pointer-events:none;}

  /* scattered tool-icon decorations (image1 style) */
  .scatter-icon{position:absolute; opacity:0.35; pointer-events:none; color:var(--gold);}
  .scatter-icon svg{display:block; width:100%; height:100%;}

/* ===== TRAJETÓRIA (timeline) ===== */
  .trajetoria{padding:0 0 var(--section-y); background:var(--black); position:relative;}
  .traj-head{margin-bottom:var(--sp-2xl);}
  .traj-desc{max-width:460px; color:rgba(251,247,239,0.7); font-size:15.5px; line-height:1.6;}
  .timeline{position:relative; max-width:800px; margin:0 auto;}
  .timeline::before{
    content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px;
    background:linear-gradient(180deg, var(--gold), rgba(228,168,37,0.08));
  }
  .timeline-item{position:relative; padding-left:38px; padding-bottom:34px;}
  .timeline-item:last-child{padding-bottom:0;}
  .timeline-dot{
    position:absolute; left:0; top:4px; width:20px; height:20px; border-radius:50%;
    background:var(--black); border:2px solid var(--gold); display:flex; align-items:center; justify-content:center;
  }
  .timeline-item.current .timeline-dot{background:var(--gold);}
  .timeline-dot::after{content:""; width:6px; height:6px; border-radius:50%; background:var(--gold);}
  .timeline-item.current .timeline-dot::after{background:var(--ink);}
  .timeline-card{
    background:var(--cream); border:3px solid var(--ink); border-radius:14px; padding:18px 22px;
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
    box-shadow:5px 5px 0 var(--ink); transition:transform .25s var(--ease);
  }
  .timeline-card:hover{transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--ink);}
  .timeline-role{font-size:15px; font-weight:800; color:var(--ink);}
  .timeline-company{font-size:13px; color:var(--rust); font-weight:700;}
  .timeline-meta{font-size:12px; color:rgba(20,17,11,0.55); text-align:right; line-height:1.5;}
  .timeline-period{font-family:'Anton',sans-serif; font-size:12.5px; color:var(--ink); letter-spacing:0.03em;}

/* ============================================================================
   MOBILE CORRECTIONS (≤768px) - Aplicadas em todas as 3 páginas
   ============================================================================ */

/* 1. BASE TIPOGRAFIA MOBILE - Garantir 16px mínimo */
@media (max-width: 768px){
  html{font-size:16px;}
  body{font-size:1rem; line-height:1.6;}
  
  /* 2. TOUCH TARGETS MÍNIMO 44×44px (Controles interativos reais) */
  button, input:not([type="checkbox"]):not([type="radio"]), select, textarea, [role="button"],
  .btn, .btn-primary, .btn-ghost, .btn-dark, .btn-outline-dark, .btn-gold,
  .nav-cta, .cta-nav-btn, .btn-more, .trab-link-all, .menu-cta, .burger, .nav-links a,
  .lp-tab, .lp-row, .color-add, .tipo-add, .logo-add, .card-cta, .pay-opt, .pay-btn, .pix-btn,
  .work-modal-close, .work-modal-step, .poster-modal-close, .motion-modal-close, .pm-effect,
  .cat-arrow, .brief-float a{
    min-height:44px; min-width:44px;
    touch-action:manipulation;
  }
  
  /* Preservação das bolinhas decorativas e ícones */
  .card-bar .gfx-dot{width:8px; height:8px; min-width:0; min-height:0; border-radius:50%; flex:none;}
  .work-card-bar .gfx-dot{width:7px; height:7px; min-width:0; min-height:0; border-radius:50%; flex:none;}
  .bullet-icon{width:38px; height:38px; min-width:0; min-height:0; flex:none;}

  /* Burger específico */
  .burger{padding:12px; gap:6px;}
  .burger span{width:28px; height:3px;}
  
  /* Nav links */
  .nav-links a{padding:12px 16px; font-size:1rem;}
  .nav-cta, .cta-nav-btn{padding:14px 24px; font-size:1rem;}
  .trab-link-all{padding:14px 24px; font-size:1rem;}
  .menu-cta{padding:14px 24px; font-size:1rem;}
  
  /* Layers panel */
  .lp-tab{width:52px; min-height:44px;}
  .lp-row{min-height:48px; padding:10px 12px;}
  .lp-eyeico{width:24px; height:24px;}
  .lp-sw{width:48px; height:48px;}
  .lp-fg, .lp-bgc{width:32px; height:32px;}
  .lp-hue{width:28px;}
  .lp-hue i{width:32px; height:12px;}
  .lp-mode select{padding:12px 16px; font-size:1rem;}
  
  /* 3. TIPOGRAFIA MÍNIMA 16px */
  .eyebrow{font-size:1rem; line-height:1.4;}
  .work-name, .phone-name, .soft-skill-wm, .soft-skill-desc, .tipo-desc, .tipo-use, .tipo-hint, .tipo-add, .color-effect, .serv-desc, .servicos-desc, .fazemos-row-body p, .trab-name, .phone-name, .phone-tag, .cliente-wm, .gal-sub, .servicos-note, .pensa-final, .depo-text, .hint, .field, .chip, .cor-chip, .cor-rm, .entrada-d, .pv-v, .pix-area, .cor-chip, .cor-rm, .entrada-d, .pv-v, .pix-area{
    font-size:1rem; line-height:1.5;
  }
  
  /* 4. REMOVER MENU-HINT (imagem "Menu aqui") */
  .menu-hint{display:none !important;}
  
  /* 5. DESATIVAR CURSOR CUSTOMIZADO */
  .custom-cursor, .has-custom-cursor, .has-custom-cursor *{cursor:auto !important;}
  
  /* 6. HEADER CENTRALIZADO - SÓ LOGO */
  .brand-name-text{display:none !important;}
  .nav-inner{justify-content:center !important;}
  header.nav nav.links, header.nav .nav-cta, header.nav + .mobile-menu{display:none !important;}
  .nav-inner{justify-content:center !important;}
  
  /* 7. LAYERS PANEL - RESPIRO SUAVE (GRADIENTE) */
  .lp-tab{width:58px; background:linear-gradient(90deg, transparent 0%, rgba(20,17,11,.15) 28%, rgba(20,17,11,.85) 55%, rgba(228,168,37,.08) 100%); border-right:1px solid rgba(228,168,37,.2); border-radius:13px 0 0 13px; transition:width .45s var(--ease), background .45s var(--ease), border-radius .45s var(--ease);}
  .lp.is-open .lp-tab{width:42px; background:rgba(228,168,37,.08); border-radius:13px 0 0 13px;}
  .lp-tab-chev{position:absolute; right:8px; top:50%; transform:translateY(-50%); transition:transform .35s var(--ease);}
  .lp.is-open .lp-tab-chev{transform:translateY(-50%) rotate(180deg);}
  .lp{transform:translateY(-50%) translateX(calc(100% - 58px));}
  .lp.is-open{transform:translateY(-50%) translateX(0);}
  
  /* 8. REMOVER MENU-HINT IMAGE */
  .menu-hint{display:none !important;}
  
  /* 9. DESATIVAR CURSOR CUSTOMIZADO */
  .custom-cursor{display:none !important;}
  .has-custom-cursor, .has-custom-cursor *{cursor:auto !important;}
  
  /* 10. HERO PADDING REDUZIDO */
  .hero{padding:140px 0 var(--section-y);}
  
  /* 11. SECTION PADDING REDUZIDO */
  section{padding:calc(var(--section-y) / 2) 0;}
  :root{--section-y:56px;}
  
  /* 12. WRAP PADDING */
  .wrap{padding:0 16px;}
  
  /* 13. GRID COLUNAS → 1 COL */
  .servicos-grid, .pillars-grid, .pensa-steps, .servicos .serv-body, .fazemos-row, .sobre-grid, .trab-grid, .motion-grid, .digital-grid, .poster-grid, .logo-show-grid, .stats-grid, .serv-body, .servicos-grid, .pillars-grid, .pensa-steps, .fazemos-row, .sobre-grid, .trab-grid, .motion-grid, .digital-grid, .poster-grid, .logo-show-grid, .stats-grid{
    grid-template-columns:1fr !important; gap:16px !important;
  }
  
  /* 14. SOFT-SKILLS: 2 POR LINHA */
  .soft-skills-grid{grid-template-columns:repeat(2, 1fr) !important; gap:14px !important;}
  .soft-skill-item{min-height:auto !important; padding:14px 10px !important; flex-direction:column !important; text-align:center !important; align-items:center !important; gap:8px !important;}
  .soft-skill-img{width:44px !important; flex:0 0 44px !important;}
  .soft-skill-wm{font-size:0.875rem !important;}
  .soft-skill-desc{font-size:0.8125rem !important;}
  
  /* 15. DEPOIMENTOS: MAX 6 LINHAS + LER MAIS */
  .depo-card{max-height:180px; overflow:hidden; position:relative;}
  .depo-text{display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; overflow:hidden;}
  .depo-card::after{content:"Ler mais"; position:absolute; bottom:0; left:0; right:0; height:40px; background:linear-gradient(to top, var(--cream) 60%, transparent); display:flex; align-items:flex-end; justify-content:center; padding-bottom:12px; font-size:0.75rem; font-weight:700; color:var(--gold); pointer-events:none;}
  .depo-card.expanded{max-height:none;}
  .depo-card.expanded .depo-text{display:block; -webkit-line-clamp:unset;}
  .depo-card.expanded::after{display:none;}
  
  /* 16. TIPO-GRID: 2 COL MOBILE */
  .tipo-grid{grid-template-columns:repeat(2, 1fr) !important; gap:14px !important;}
  
  /* 16. TIPO-GRID: 2 COL MOBILE */
  .color-grid{grid-template-columns:repeat(2, 1fr) !important; gap:14px !important;}
  .color-sys{grid-template-columns:repeat(2, 1fr) !important;}
  
  /* 17. LOGOS GRID: 1 COL */
  .logos-grid{grid-template-columns:1fr !important; gap:16px !important;}
  
  /* 18. CLIENTES MARQUEE */
  .clientes-marquee .cliente-item{width:140px !important;}
  
  /* 19. DEPOIMENTOS CARD */
  .depo-card{padding:20px !important;}
  .depo-text{font-size:1rem !important; line-height:1.55 !important;}
  .depo-viewport{padding-bottom:40px !important;}
  
  /* 19. CONTATO/CTA */
  .cta-actions{flex-direction:column !important; gap:12px !important;}
  .cta-social{gap:16px !important;}
  .cta-social a{width:48px !important; height:48px !important;}
  
  /* 20. FOOTER */
  .foot-logo-anim{width:min(280px, 72vw) !important;}
  .foot-logo-text{display:none !important;}
  .foot-links{width:100% !important; justify-content:center !important; gap:18px 24px !important;}
  .foot-links a:nth-child(5){display:none !important;}
  
  /* 21. HERO PADDING */
  .hero{padding:140px 0 var(--section-y) !important;}
  
  /* 22. TIPOGRAFIA HERO */
  .hero h1{font-size:clamp(28px, 8vw, 42px) !important; line-height:1.05 !important;}
  .hero p.lead{font-size:1rem !important; line-height:1.6 !important;}
  
  /* 23. BOTÕES MIN 44×44 */
  .btn-primary, .btn-ghost, .btn-dark, .btn-outline-dark, .cta-nav-btn, .nav-cta, .btn-more, .trab-link-all, .egg-btn, .to-top{
    min-height:48px; min-width:48px; padding:14px 24px; font-size:1rem;
  }
  
  /* 24. DESABILITAR HOVER-ONLY CONTEÚDO */
  @media (hover: none) and (pointer: coarse){
    .work-overlay{opacity:1 !important; pointer-events:auto !important; background:linear-gradient(0deg,rgba(20,17,11,0.85) 0%,rgba(20,17,11,0.1) 50%,transparent 70%) !important;}
    .marquee-select, .marquee-select i{opacity:1 !important; border-color:rgba(228,168,37,0.85) !important;}
    .phone-card .phone-poster{opacity:0 !important;}
    .phone-card .phone-play{opacity:0 !important;}
    .holo-foil, .holo-glare{opacity:1 !important; animation:none !important;}
    .work-overlay{opacity:1 !important;}
    .marquee-select, .marquee-select i{opacity:1 !important;}
    .color-card .color-effect{display:block !important; max-height:240px !important; opacity:1 !important; margin-top:6px !important;}
    .color-card .color-add{display:block !important; opacity:1 !important; transform:translate(-50%,-50%) scale(1) !important; pointer-events:auto !important;}
    .holo-foil, .holo-glare{opacity:1 !important; animation:none !important;}
    .pensa-step:hover .pensa-dot{transform:none !important;}
    .work-card:hover .work-thumb img{transform:none !important; filter:none !important;}
    .work-overlay-inner .tag{display:block !important;}
    .work-overlay-inner svg{display:block !important;}
}

  /* 25. TEXTO "PASSE O MOUSE" → TAP (apenas seletores válidos) */
  .tipo-hint, .depo-hint{
    display:none !important;
  }
  
  /* 26. HERO PADDING BRIEFING */
  .hero{padding:140px 0 var(--section-y) !important;}
  
  /* 27. REMOVER MENU-HINT */
  .menu-hint{display:none !important;}
  
  /* 28. CURSOR DESATIVADO */
  .custom-cursor{display:none !important;}
  .has-custom-cursor, .has-custom-cursor *{cursor:auto !important;}
  
  /* 29. HEADER CENTRALIZADO */
  .brand-name-text{display:none !important;}
  .nav-inner{justify-content:center !important;}
  
  /* 30. LAYERS PANEL GRADIENTE */
  .lp-tab{width:58px; background:linear-gradient(90deg, transparent 0%, rgba(20,17,11,.15) 28%, rgba(20,17,11,.85) 55%, rgba(228,168,37,.08) 100%); border-right:1px solid rgba(228,168,37,.2); border-radius:13px 0 0 13px; transition:width .45s var(--ease), background .45s var(--ease), border-radius .45s var(--ease);}
  .lp.is-open .lp-tab{width:42px; background:rgba(228,168,37,.08); border-radius:13px 0 0 13px;}
  .lp-tab-chev{position:absolute; right:8px; top:50%; transform:translateY(-50%); transition:transform .35s var(--ease);}
  .lp.is-open .lp-tab-chev{transform:translateY(-50%) rotate(180deg);}
  .lp{transform:translateY(-50%) translateX(calc(100% - 58px));}
  .lp.is-open{transform:translateY(-50%) translateX(0);}
  
  /* 31. REMOVER MENU-HINT */
  .menu-hint{display:none !important;}
  
  /* 32. CURSOR DESATIVADO */
  .custom-cursor{display:none !important;}
  .has-custom-cursor, .has-custom-cursor *{cursor:auto !important;}
  
  /* 33. HEADER CENTRALIZADO */
  .brand-name-text{display:none !important;}
  .nav-inner{justify-content:center !important;}
  
  /* 34. BODY PADDING PARA LAYERS - Removido: o painel de camadas e fixed overlay (nao desloca o fluxo da pagina) */




  
  /* 35. OVERFLOW-X HIDDEN GARANTIDO */
  html, body{overflow-x:hidden !important; max-width:100vw !important;}
  *, *::before, *::after{box-sizing:border-box !important;}
  img:not(.p-img), video, iframe, embed, object{max-width:100% !important; height:auto;}
  .parallax-band .p-img{max-width:none !important;}

  /* Briefing-specific mobile fixes */
  #form label { font-size: 10px !important; display: block !important; margin-bottom: 8px !important; }
.sec-ico { width: 30px !important; height: 30px !important; min-width: 30px !important; min-height: 30px !important; display: block !important; margin: 0 auto !important; }
.sec-ico svg { width: 100% !important; height: 100% !important; display: block !important; }
}

/* ===== TABLET (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px){
  :root{--section-y:64px;}
  .wrap{padding:0 20px;}
  .hero{padding:160px 0 var(--section-y);}
  section{padding:calc(var(--section-y) / 1.5) 0;}
  
  .servicos-grid, .pillars-grid, .pensa-steps, .fazemos-row, .sobre-grid, .trab-grid, .motion-grid, .digital-grid, .poster-grid, .logo-show-grid, .stats-grid{
    grid-template-columns:repeat(2, 1fr) !important; gap:20px !important;
  }
  
  .soft-skills-grid{grid-template-columns:repeat(3, 1fr) !important;}
  .tipo-grid{grid-template-columns:repeat(3, 1fr) !important;}
  .color-grid{grid-template-columns:repeat(3, 1fr) !important;}
  .logos-grid{grid-template-columns:repeat(2, 1fr) !important;}
  .clientes-marquee .cliente-item{width:180px !important;}
  
  .hero h1{font-size:clamp(36px, 6vw, 52px) !important;}
  .hero p.lead{font-size:1.125rem !important;}
  
  .btn-primary, .btn-ghost, .btn-dark, .btn-outline-dark, .cta-nav-btn, .nav-cta, .btn-more, .trab-link-all{padding:14px 28px; font-size:1.0625rem; min-height:48px;}
  
  .lp-tab{width:50px;}
  .lp{transform:translateY(-50%) translateX(calc(100% - 50px));}
}

/* ===== FIM MOBILE CORRECTIONS ===== */

/* ===== LAYERS TAB - opaco, igual ao menu (mobile + desktop) ===== */
.lp-tab{
  background:#1d170b !important;
  opacity:1 !important;
  filter:none !important;
}
.lp-tab:hover{
  background:var(--sel) !important;
}

/* ===== LAYERS PANEL - centralizado na lateral direita, mobile e desktop ===== */
#layersPanel.lp{
  top:50% !important;
  bottom:auto !important;
  transform:translateY(-50%) translateX(0) !important;
  display:flex;
  align-items:center;
  justify-content:center;
  max-height:95vh;
}
#layersPanel.lp:not(.is-open){
  transform:translateY(-50%) translateX(calc(var(--pw) - 8px)) !important;
}

/* ===== CURSOR E GUIDE LINES - sempre aparecem no desktop ===== */
@media (hover:hover) and (pointer:fine){
  .custom-cursor{display:block !important; opacity:1 !important; z-index:1400 !important;}
  .has-custom-cursor, .has-custom-cursor *{cursor:none !important;}
  .guide-line{display:block !important;}
  .guide-line.on{display:block !important;}
}

/* ===== MENU LAYERS - funcionando corretamente (desktop + mobile) ===== */
/* quando fechado: apenas a aba é clicável, o resto não bloqueia nada */
#layersPanel.lp:not(.is-open){
  pointer-events:none !important;
}
/* a aba sempre deve ser clicável */
#layersTab{
  pointer-events:auto !important;
  z-index:660 !important;
}
/* quando aberto: painel inteiro clicável */
#layersPanel.lp.is-open{
  pointer-events:auto !important;
}
#layersPanel.lp.is-open .lp-inner{
  pointer-events:auto !important;
}
#layersPanel.lp.is-open .lp-row{
  pointer-events:auto !important;
  cursor:pointer !important;
}
@media (min-width:641px){
  .card{
    max-width:860px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .card > div.card-body{
    max-width:860px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:28px !important;
    padding-right:28px !important;
    box-sizing:border-box !important;
  }
}

/* ===== Proof-wrap: container do conteúdo para filtro de cor (não afeta layers panel) ===== */
#proof-wrap{
  min-height:100vh;
  width:100%;
  display:block;
  position:relative;
  background:var(--black) !important;
  background-image:
    linear-gradient(to right, rgba(228,168,37,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(228,168,37,0.04) 1px, transparent 1px) !important;
  background-size:46px 46px, 46px 46px !important;
}

/* ===== Menu layers sempre visível ao trocar cor (todas as telas) ===== */
body.proof-cmyk #layersPanel,
body.proof-pb #layersPanel,
body.proof-cmyk .lp,
body.proof-pb .lp,
body.proof-cmyk .lp-inner,
body.proof-pb .lp-inner,
body.proof-cmyk #layersTab,
body.proof-pb #layersTab{
  opacity:1 !important;
  visibility:visible !important;
  display:flex !important;
  filter:none !important;
  transform:translateY(-50%) translateX(0) !important;
}
body.proof-cmyk #layersPanel.lp:not(.is-open),
body.proof-pb #layersPanel.lp:not(.is-open){
  transform:translateY(-50%) translateX(calc(var(--pw) - 8px)) !important;
}

/* Garantir que o filtro do body não afete o menu layers */
#layersPanel, .lp, .lp-inner, #layersTab, .lp-row{
  filter:none !important;
  isolation:isolate !important;
}

/* ===== Prevenir fechamento do menu layers ao trocar cor ===== */
body.proof-cmyk.layers-open #layersPanel.lp.is-open,
body.proof-pb.layers-open #layersPanel.lp.is-open{
  transform:translateY(-50%) translateX(0) !important;
}

/* ===== #formacao: span preto em todas as telas ===== */
#formacao span{color:#000 !important;}


/* ===== display dos itens ja adicionados ao briefing (somente no briefing) =====
   Faixa propria acima da barra de progresso fixa, sem sobrepor a barra/estimativa. */
.brief-badges{
  position:fixed; left:0; right:0; margin:0 auto;
  width:max-content; max-width:calc(100vw - 24px);
  bottom:calc(72px + env(safe-area-inset-bottom,0px));
  z-index:639; pointer-events:none;
  display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
}
.brief-badges:empty{display:none;}
.pw-chip{
  display:inline-flex; align-items:center; gap:6px;
  font:700 11px 'Inter',sans-serif; letter-spacing:.02em;
  color:var(--ink); background:var(--cream);
  border:2px solid var(--ink); border-radius:999px;
  padding:3px 10px; box-shadow:2px 2px 0 rgba(0,0,0,.4);
}
.pw-chip.pw-servicos{border-right-width:5px; border-right-color:var(--gold);}
.pw-chip.pw-cores{border-right-width:5px; border-right-color:var(--rust);}
.pw-chip.pw-fonte{border-right-width:5px; border-right-color:var(--gold-pale);}
.pw-chip.pw-logo{border-right-width:5px; border-right-color:#fff;}
.pw-chip.pw-arquivos{border-right-width:5px; border-right-color:var(--ink);}
@media(max-width:640px){
  /* a barra de progresso do briefing mantem o estilo proprio da pagina */
  .brief-badges{bottom:calc(68px + env(safe-area-inset-bottom,0px)); gap:5px;}
  .pw-chip{font-size:10px; padding:2px 8px;}
}

#card-send{
  background:var(--cream) !important;
  color:var(--ink) !important;
  border:3px solid var(--ink) !important;
  border-radius:20px !important;
  box-shadow:8px 8px 0 var(--ink) !important;
}
#card-send > div.card-body{
  background:var(--cream) !important;
  color:var(--ink) !important;
  border-radius:17px !important;
}

/* Ajustes adicionais solicitados */
@media (max-width: 640px){
  header.nav .brand-logo-anim{height:56px !important; width:auto !important;}
  header.nav .nav-inner{justify-content:center !important; padding:12px 16px !important; min-height:76px !important;}
  /* fita wave sobreposta na divisao das 2 secoes: margens negativas, lado direito sobe / esquerdo desce */
  .ticker-strip{transform:none !important; margin:-20px 0 -14px !important; padding:0 !important; z-index:5 !important;}
  .gfx-toolbar{display:none !important;}
  body > img.menu-hint{display:none !important;}
}
@media (min-width: 981px){
  /* fita wave sobreposta na divisao das 2 secoes (desktop) */
  .ticker-strip{transform:none !important; margin:-34px 0 -22px !important; padding:0 !important; z-index:5 !important;}
}

/* ===== CURSOR CUSTOMIZADO + GUIDE LINES - valem em qualquer largura =====
   As páginas desativam o cursor por LARGURA (@media max-width:980/640), o que
   escondia o cursor e as guias em janelas estreitas mesmo com mouse/trackpad.
   Aqui isso só vale quando NÃO há ponteiro fino. Com ponteiro fino o cursor
   customizado e as guias continuam visíveis — inclusive sobre o menu Layers —
   sem forçar nada em dispositivos touch (hover:none / pointer:coarse). */
@media (hover:hover) and (pointer:fine){
  html .custom-cursor{display:block !important; opacity:1 !important; z-index:9700 !important;}
  html .guide-line, html .guide-line.on{display:block !important;}
  html .custom-cursor, html.has-custom-cursor, html.has-custom-cursor *{cursor:none !important;}
}
/* menu Layers: sem cursor nativo por cima do customizado (só na largura mobile) */
@media (hover:hover) and (pointer:fine) and (max-width:980px){
  html.has-custom-cursor #layersPanel.lp .lp-tab,
  html.has-custom-cursor #layersPanel.lp .lp-head,
  html.has-custom-cursor #layersPanel.lp .lp-head *,
  html.has-custom-cursor #layersPanel.lp .lp-row,
  html.has-custom-cursor #layersPanel.lp .lp-row *{cursor:none !important;}
}

/* ===== BORDER GLOW nos pilares de servicos =====
   Estilo igual ao item de soft-skills (nth-child 8), com border-glow::before
   na borda (cores #eab308, #eab308, #faff11) que aparece no hover, e
   .glow-layer com radial-gradient que segue o mouse. */
.border-glow{
  position:relative; overflow:hidden; z-index:1;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px;
  padding:18px 14px; min-height:140px;
  border:1.5px solid rgba(228,168,37,.16); border-radius:14px;
  background:rgba(251,247,239,.03);
  transition:border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.border-glow:hover{
  border-color:rgba(228,168,37,.5); background:rgba(251,247,239,.06); transform:translateY(-4px);
}
.border-glow::before{
  content:''; position:absolute; inset:0; border-radius:inherit;
  padding:2px; background:conic-gradient(from 0deg, #eab308, #eab308, #faff11, #eab308);
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:destination-out;
  mask-composite:exclude;
  opacity:0; pointer-events:none; z-index:2;
  transition:opacity .35s ease;
}
.border-glow:hover::before{opacity:1;}
.border-glow .glow-layer{
  position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:radial-gradient(
    700px circle at var(--glow-x,50%) var(--glow-y,50%),
    rgba(234,179,8,.55),
    rgba(234,179,8,.45) 40%,
    rgba(250,255,17,.35) 75%,
    transparent 100%
  );
  opacity:var(--glow-intensity,0);
  transition:opacity .4s ease, --glow-x .2s, --glow-y .2s;
  z-index:1;
}
.border-glow .glow-layer.show{opacity:1;}
