  :root{
    --bg: #F8F9F9;
    --bg-alt: #EEF1F1;
    --ink: #444F56;
    --muted: #707A80;
    --line: #DDE3E3;
    --lime: #E5FF00;
    --green: #82D100;
    --brand: #4C7A00;
    --brand-bright: #82D100;
    --brand-deep: #444F56;
    --gradient: linear-gradient(120deg, var(--lime) 0%, var(--green) 100%);
    --paper: #FFFFFF;
    --max: 1120px;
  }

  *{ box-sizing:border-box; margin:0; }
  html{ scroll-behavior:smooth; overflow-x:clip; }
  body{
    background:var(--bg);
    color:var(--ink);
    font-family:'IBM Plex Sans', system-ui, sans-serif;
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:clip;
  }
  main, header, section, .hero, .full-bleed, .carousel{ display:block; margin:0; padding:0; }
  .hero{ position:relative; overflow:hidden; }
  h1,h2,h3{
    font-family:'Space Grotesk', system-ui, sans-serif;
    font-weight:600;
    line-height:1.15;
    margin:0;
    color:var(--brand-deep);
  }
  p{ margin:0; color:var(--muted); max-width:60ch; }
  a{ color:inherit; }
  .mono{ font-family:'IBM Plex Mono', monospace; }

  .wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

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

  /* Header */
  header{
    position:sticky; top:0; z-index:50;
    background:var(--ink);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 28px;
    max-width:var(--max); margin:0 auto;
  }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:1.1rem;
    color:#fff; text-decoration:none;
  }
  .brand svg{ flex-shrink:0; }
  .brand img{ height:30px; width:auto; flex-shrink:0; display:block; }
  .navlinks{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
  .navlinks a{
    text-decoration:none; color:#fff; font-size:0.95rem; font-weight:500;
    padding-bottom:4px; border-bottom:2px solid transparent;
    transition:border-color .15s ease, color .15s ease;
  }
  .navlinks a:hover{ border-color:var(--green); color:var(--green); }
  .nav-cta{
    background:var(--green); color:var(--ink); text-decoration:none;
    padding:10px 18px; border-radius:3px; font-weight:600; font-size:0.9rem;
    white-space:nowrap; transition:background .18s ease, transform .18s ease;
  }
  .nav-cta:hover{ background:var(--lime); transform:translateY(-1px); }
  .menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:10px; }
  .menu-toggle svg{ display:block; }

  @media (max-width:860px){
    .navlinks{
      position:fixed; inset:65px 0 auto 0; flex-direction:column; gap:0;
      background:var(--ink); border-bottom:1px solid rgba(255,255,255,0.1);
      padding:8px 28px 18px; transform:translateY(-8px); opacity:0; pointer-events:none;
      transition:opacity .18s ease, transform .18s ease;
    }
    .navlinks.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
    .navlinks a{ padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.1); width:100%; }
    .nav-cta{ display:none; }
    .menu-toggle{ display:block; }
  }
  @media (max-width:380px){
    .nav{ padding:14px 16px; }
    .brand{ font-size:0.92rem; gap:7px; }
    .brand img{ height:24px; }
  }

  /* Hero */
  .hero-eyebrow{
    color:var(--brand); font-weight:600; font-size:0.95rem; margin-bottom:14px; display:block;
  }
  .hero h1{ font-size:clamp(2.1rem, 4vw, 3.1rem); letter-spacing:-0.01em; max-width:20ch; }
  .hero p.lead{
    margin-top:20px; font-size:1.08rem; max-width:52ch; color:var(--muted);
  }
  .hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:13px 22px; border-radius:3px; font-weight:600; font-size:0.95rem;
    text-decoration:none; border:1px solid transparent; cursor:pointer;
    transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  .btn-primary{ background:var(--brand); color:#fff; }
  .btn-primary:hover{ background:var(--brand-deep); transform:translateY(-1px); }
  .btn-ghost{ background:transparent; color:var(--brand-deep); border-color:var(--line); }
  .btn-ghost:hover{ border-color:var(--brand); transform:translateY(-1px); }

  .full-bleed{ width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw; }

  .trace{
    fill:none; stroke:var(--brand); stroke-width:2;
    stroke-dasharray:600; stroke-dashoffset:600;
    animation:draw 2.2s ease forwards .2s;
  }
  .trace.bright{ stroke:var(--brand-bright); stroke-dasharray:400; stroke-dashoffset:400; animation-delay:.5s; animation-duration:1.8s; }
  .node{ fill:var(--brand-deep); opacity:0; animation:fadein .4s ease forwards; }
  @keyframes draw{ to{ stroke-dashoffset:0; } }
  @keyframes fadein{ to{ opacity:1; } }

  /* Carrossel hero — largura total */
  .carousel{ position:relative; background:#FFFFFF; overflow:hidden; }
  .carousel-track{ position:relative; width:100%; aspect-ratio:1983/793; }
  .slide{
    position:absolute; inset:0;
    background-color:#FFFFFF;
    opacity:0; transition:opacity .6s ease; pointer-events:none; overflow:hidden;
  }
  .slide.active{ opacity:1; pointer-events:auto; }
  .slide-link{ position:absolute; inset:0; display:block; }
  .slide-link picture, .slide-link img{ width:100%; height:100%; display:block; object-fit:cover; }
  .carousel-controls{
    position:absolute; bottom:22px; left:0; right:0; z-index:4;
    display:flex; justify-content:center; align-items:center;
  }
  .carousel-dots{ display:flex; gap:7px; }
  .carousel-dots button{
    width:8px; height:8px; border-radius:50%; border:none; background:rgba(255,255,255,0.4);
    cursor:pointer; padding:0;
  }
  .carousel-dots button.active{ background:var(--green); }
  .carousel-arrow{
    background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.3); border-radius:50%;
    width:38px; height:38px; display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:#fff;
  }
  .carousel-arrow:hover{ border-color:var(--green); color:var(--green); }
  .carousel-arrows{ position:absolute; top:50%; left:0; right:0; display:flex; justify-content:space-between; padding:0 20px; transform:translateY(-50%); z-index:3; }
  @media (max-width:700px){
    .carousel-track{ aspect-ratio:1330/1182; max-height:none; }
    .slide-caption strong{ font-size:1.1rem; }
  }

  .trust-strip{
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    background:var(--bg-alt);
    padding:18px 0;
  }
  .trust-strip .wrap{
    display:flex; gap:36px; flex-wrap:wrap; align-items:baseline;
    font-family:'IBM Plex Mono', monospace; font-size:0.85rem; color:var(--muted);
  }
  .trust-strip strong{ color:var(--brand-deep); font-size:1.4rem; font-family:'Space Grotesk',sans-serif; display:block; }

  /* Section shell */
  section{ padding:96px 0; }
  .section-head{ max-width:640px; margin-bottom:52px; }
  .section-tag{ color:var(--brand); font-weight:600; font-size:0.95rem; display:block; margin-bottom:10px; }
  .section-head h2{ font-size:clamp(1.7rem, 3vw, 2.3rem); }
  .section-head p{ margin-top:14px; }

  /* Sobre */
  .about{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .about-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; }
  .about-figures{ display:flex; flex-direction:column; gap:28px; padding-top:6px; }
  .figure{ border-left:2px solid var(--brand); padding-left:16px; }
  .figure strong{ display:block; font-family:'Space Grotesk',sans-serif; font-size:1.6rem; color:var(--brand-deep); }
  .figure span{ color:var(--muted); font-size:0.92rem; }
  .about-body p{ max-width:60ch; }
  .about-body p + p{ margin-top:16px; }

  /* Serviços — grid de blocos */
  .service-list{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:1px; background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden;
  }
  .service-row{
    position:relative; display:flex; flex-direction:column; gap:14px;
    padding:32px 28px; background:var(--paper); transition:background .18s ease;
  }
  .service-row:hover{ background:var(--bg-alt); }
  .service-icon{ width:40px; height:40px; color:var(--brand-deep); transition:color .18s ease; }
  .service-row:hover .service-icon{ color:var(--brand); }
  .service-icon svg{ width:100%; height:100%; }
  .service-row h3{ font-size:1.1rem; }
  .service-row p{ max-width:32ch; }
  .service-index{
    position:absolute; top:26px; right:26px;
    font-family:'IBM Plex Mono', monospace; color:var(--line); font-size:0.8rem;
  }
  /* MXGestor — hero escuro centralizado */
  .mxhero{
    position:relative; overflow:hidden; background:#0C1A12;
    padding:88px 0;
  }
  #mxNetBg{ position:absolute; inset:0; width:100%; height:100%; }
  .mxhero-inner{
    position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;
    text-align:center; max-width:720px;
  }
  .mxhero-logo{ width:64px; height:64px; margin-bottom:24px; }
  .mxhero-tag{
    display:inline-block; border:1px solid rgba(130,209,0,0.4); color:var(--green);
    font-size:0.82rem; font-weight:600; padding:7px 16px; border-radius:999px; margin-bottom:26px;
    background:rgba(130,209,0,0.08);
  }
  .mxhero h2{ color:#fff; font-size:clamp(1.8rem, 3.6vw, 2.6rem); line-height:1.18; }
  .mxhero p{ color:rgba(255,255,255,0.68); margin-top:20px; max-width:56ch; }
  .mxhero-actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:32px; }
  .btn-mx-primary{
    display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:4px;
    font-weight:600; font-size:0.95rem; text-decoration:none; background:var(--green); color:#0C1A12;
    transition:background .18s ease, transform .18s ease;
  }
  .btn-mx-primary:hover{ background:var(--lime); transform:translateY(-1px); }
  .btn-mx-ghost{
    display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:4px;
    font-weight:600; font-size:0.95rem; text-decoration:none; color:#fff;
    border:1px solid rgba(255,255,255,0.25); transition:border-color .18s ease, transform .18s ease;
  }
  .btn-mx-ghost:hover{ border-color:rgba(255,255,255,0.6); transform:translateY(-1px); }
  .mxhero-note{ display:block; margin-top:18px; font-size:0.82rem; color:rgba(255,255,255,0.45); }
  @media (max-width:600px){
    .mxhero{ padding:64px 0; }
    .mxhero-actions{ flex-direction:column; width:100%; }
    .mxhero-actions a{ justify-content:center; }
    .mxhero-tag{ font-size:0.75rem; padding:6px 14px; max-width:88%; }
  }

  /* Contato */
  .contact{ background:var(--bg-alt); border-top:1px solid var(--line); }
  .contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; }
  .contact-info .item{ display:flex; gap:14px; align-items:flex-start; margin-bottom:24px; }
  .contact-info .item svg{ width:22px; height:22px; color:var(--brand); flex-shrink:0; margin-top:2px; }
  .contact-info .item strong{ display:block; font-size:0.9rem; color:var(--brand-deep); }
  .contact-info .item span, .contact-info .item a{ color:var(--muted); text-decoration:none; font-size:0.95rem; }
  .contact-info .item a:hover{ color:var(--brand-deep); }

  form{ background:var(--paper); border:1px solid var(--line); border-radius:5px; padding:32px; box-shadow:0 8px 24px rgba(68,79,86,0.06); }
  .field{ margin-bottom:18px; }
  .field label{ display:block; font-size:0.85rem; font-weight:600; color:var(--brand-deep); margin-bottom:6px; }
  .field input, .field textarea{
    width:100%; border:1px solid var(--line); border-radius:3px; padding:11px 13px;
    font-family:inherit; font-size:0.95rem; background:var(--bg); color:var(--ink);
    transition:border-color .15s ease;
  }
  .field input:focus, .field textarea:focus{ outline:2px solid var(--brand); outline-offset:1px; border-color:var(--brand); }
  .field textarea{ resize:vertical; min-height:110px; }
  form .btn-primary{ width:100%; justify-content:center; border:none; }
  .form-note{ font-size:0.82rem; color:var(--muted); margin-top:14px; }
  .field-check{ display:flex; align-items:flex-start; gap:10px; }
  .field-check input{ width:auto; margin-top:3px; accent-color:var(--brand); flex-shrink:0; }
  .field-check label{ font-size:0.82rem; font-weight:400; color:var(--muted); margin:0; }
  .field-check label a{ color:var(--brand); }
  .hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

  footer{ padding:64px 0 28px; background:var(--ink); border-top:1px solid rgba(130,209,0,0.25); }

  .footer-top{
    display:grid; grid-template-columns:1.4fr 1fr 1.2fr 1.2fr; gap:40px;
    padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .footer-col h4{
    font-family:'Space Grotesk',sans-serif; color:#fff; font-size:0.85rem;
    font-weight:600; letter-spacing:0.02em; margin-bottom:16px;
  }
  .footer-about .brand{ font-size:1rem; color:#fff; margin-bottom:14px; }
  .footer-about p{ color:rgba(255,255,255,0.6); font-size:0.88rem; max-width:32ch; margin-bottom:18px; }
  .footer-links{ display:flex; flex-direction:column; gap:11px; list-style:none; padding:0; margin:0; }
  .footer-links a, .footer-contact span{ text-decoration:none; color:rgba(255,255,255,0.68); font-size:0.88rem; transition:color .15s ease; }
  .footer-links a:hover{ color:var(--green); }
  .footer-social{ display:flex; gap:14px; }
  .footer-social a{ color:rgba(255,255,255,0.72); transition:color .15s ease, transform .15s ease; display:flex; }
  .footer-social a:hover{ color:var(--green); transform:translateY(-2px); }

  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
    gap:14px; padding-top:24px;
  }
  .copyright{ font-size:0.8rem; color:rgba(255,255,255,0.5); }
  .footer-bottom-links{ display:flex; align-items:center; gap:24px; }
  .footer-bottom-links a{ color:rgba(255,255,255,0.6); font-size:0.82rem; text-decoration:none; transition:color .15s ease; }
  .footer-bottom-links a:hover{ color:var(--green); }
  #backToTop{
    display:inline-flex; align-items:center; gap:6px; background:none; border:none;
    color:rgba(255,255,255,0.6); font-size:0.82rem; cursor:pointer; padding:0;
    font-family:inherit; transition:color .15s ease;
  }
  #backToTop:hover{ color:var(--green); }

  @media (max-width:860px){
    .footer-top{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  }
  @media (max-width:560px){
    .footer-top{ grid-template-columns:1fr; }
    .footer-bottom{ flex-direction:column; align-items:flex-start; }
  }

  @media (max-width:860px){
    .about-grid, .contact-grid{ grid-template-columns:1fr; }
    section{ padding:64px 0; }
  }

  :focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }

  #netBg{ position:fixed; inset:0; z-index:-1; width:100%; height:100%; pointer-events:none; }

  .visually-hidden{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
  }

  /* Revelação ao rolar */
  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.revealed{ opacity:1; transform:translateY(0); }
  .about-figures .figure:nth-child(1){ transition-delay:0s; }
  .about-figures .figure:nth-child(2){ transition-delay:.08s; }
  .about-figures .figure:nth-child(3){ transition-delay:.16s; }
  .service-list .service-row:nth-child(1){ transition-delay:0s; }
  .service-list .service-row:nth-child(2){ transition-delay:.06s; }
  .service-list .service-row:nth-child(3){ transition-delay:.12s; }
  .service-list .service-row:nth-child(4){ transition-delay:.18s; }
  .service-list .service-row:nth-child(5){ transition-delay:.24s; }
  .contact-info .item:nth-child(1){ transition-delay:0s; }
  .contact-info .item:nth-child(2){ transition-delay:.08s; }
  .contact-info .item:nth-child(3){ transition-delay:.16s; }
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity:1; transform:none; transition:none; }
  }

  /* Barra de progresso de leitura */
  #scrollProgress{
    position:fixed; top:0; left:0; height:3px; width:0%;
    background:var(--green); z-index:100; transition:width .1s linear;
  }

  /* Microinterações */
  .btn-primary{ position:relative; overflow:hidden; }
  .btn-primary::after{
    content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform:skewX(-20deg); transition:left .5s ease;
  }
  .btn-primary:hover::after{ left:120%; }
  .service-row .service-icon{ transition:color .18s ease, transform .25s ease; }
  .service-row:hover .service-icon{ transform:scale(1.12); }

  /* WhatsApp flutuante */
  .wa-float{
    position:fixed; bottom:24px; right:24px; z-index:60;
    width:58px; height:58px; border-radius:50%;
    background:#25D366; color:#fff;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 20px rgba(0,0,0,0.28);
    text-decoration:none;
    animation:waBounce 2.8s ease-in-out infinite;
  }
  .wa-float:hover{ background:#20BD5C; }
  .wa-float svg{ position:relative; z-index:2; }
  .wa-float-ring{
    position:absolute; inset:0; border-radius:50%;
    background:rgba(37,211,102,0.55);
    animation:waPulse 2.4s ease-out infinite;
    z-index:1;
  }
  .wa-float-ring-2{ animation-delay:1.2s; }
  @keyframes waPulse{
    0%{ transform:scale(1); opacity:0.55; }
    100%{ transform:scale(1.9); opacity:0; }
  }
  @keyframes waBounce{
    0%, 100%{ transform:translateY(0); }
    50%{ transform:translateY(-5px); }
  }
  @media (max-width:600px){
    .wa-float{ width:52px; height:52px; bottom:18px; right:18px; }
  }
  @media (prefers-reduced-motion: reduce){
    .wa-float, .wa-float-ring{ animation:none; }
  }
