  :root {
    --petrol: #003841;
    --petrol-2: #004e5a;
    --ink: #111923;
    --gray: #53575d;
    --gray-2: #7a7e84;
    --line: #dde2e4;
    --bg: #F4F6F7;
    --white: #ffffff;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: auto; }
  body {
    font-family: 'Kanit', system-ui, sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

  .display { font-family: 'Exo 2', sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
  .eyebrow {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow.on-dark { color: rgba(255,255,255,.55); }
  .eyebrow.centered { justify-content: center; }
  .hero-pill {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
  }
  .hero-sep { color: rgba(255,255,255,.3); margin: 0 4px; font-weight: 300; }

  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  section { padding: 120px 0; position: relative; }

  @media (max-width: 720px) {
    section { padding: 80px 0; }
    .wrap { padding: 0 20px; }
  }

  /* ===== NAV ===== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .4s var(--ease-in-out), backdrop-filter .4s var(--ease-in-out), border-color .4s;
    background: transparent;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled {
    background: rgba(0, 56, 65, .82);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom-color: rgba(255,255,255,.08);
  }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 96px;
  }
  .nav-inner .logo       { justify-self: start; }
  .nav-inner .nav-links  { justify-self: center; }
  .nav-inner .nav-cta    { justify-self: end; }
  .nav-inner .hamburger  { justify-self: end; grid-column: 3; }
  .nav-links { display: flex; gap: 36px; align-items: center; }
  .nav-links > a {
    color: rgba(255,255,255,.75);
    font-size: 13.5px; font-weight: 400; letter-spacing: .06em;
    transition: color .2s; position: relative;
  }
  .nav-links > a:hover { color: #fff; }

  /* ===== DROPDOWN SUBMENUS ===== */
  .nav-item { position: relative; }
  .nav-item > a {
    display: flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,.75);
    font-size: 13.5px; font-weight: 400; letter-spacing: .06em;
    transition: color .2s; position: relative;
    cursor: pointer;
  }
  .nav-item > a::before { display: none; }
  .nav-item > a .caret {
    font-size: 9px; opacity: .6;
    transition: transform .2s; display: inline-block;
    margin-top: 1px;
  }
  .nav-item:hover > a .caret,
  .nav-item:focus-within > a .caret { transform: rotate(-180deg); }
  .nav-item > a:hover { color: #fff; }

  .nav-dropdown {
    position: absolute; top: 100%; left: 0;
    background: rgba(0,38,45,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.09); min-width: 210px;
    padding: 18px 0 8px; opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease-out-expo), transform .22s var(--ease-out-expo);
    z-index: 200;
  }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown,
  .nav-item.open .nav-dropdown {
    opacity: 1; pointer-events: all; transform: none;
  }
  .nav-dropdown a {
    display: block; padding: 10px 20px;
    font-size: 13px; color: rgba(255,255,255,.72);
    transition: color .15s, padding-left .2s var(--ease-out-expo);
    letter-spacing: .04em;
  }
  .nav-dropdown a::after { display: none !important; }
  .nav-dropdown a:hover { color: #fff; padding-left: 28px; }

  .nav-cta {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
  }
  .nav-cta:hover { background: #fff; color: var(--petrol); border-color: #fff; transform: translateY(-1px); }

  .hamburger { display: none; width: 28px; height: 18px; position: relative; }
  .hamburger span {
    position: absolute; left: 0; right: 0; height: 2px; background: #fff;
    transition: transform .3s var(--ease-out-expo), top .3s var(--ease-out-expo), opacity .2s;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 8px; }
  .hamburger span:nth-child(3) { top: 16px; }
  .hamburger.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(8px); }
  .hamburger.open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

  @media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    .mobile-menu {
      position: fixed; top: 96px; left: 0; right: 0;
      background: rgba(0,56,65,.96);
      backdrop-filter: blur(18px);
      padding: 10px 20px 16px;
      display: none; flex-direction: column; gap: 0;
      border-bottom: 1px solid rgba(255,255,255,.1);
      z-index: 99;
      max-height: calc(100vh - 96px);
      overflow-y: auto;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: rgba(255,255,255,.82); font-size: 15px; padding: 9px 0;
      border-bottom: 1px solid rgba(255,255,255,.08);
      transition: color .2s, padding-left .2s;
    }
    .mobile-menu a:hover { color: #fff; padding-left: 6px; }
    .mobile-menu a:last-child { border-bottom: 0; margin-top: 8px; color: #fff; font-weight: 500; }
    .mobile-menu a.mobile-cta {
      margin-top: 18px;
      border: 1px solid rgba(255,255,255,.5);
      border-radius: 999px;
      padding: 12px 24px;
      text-align: center;
      color: #fff;
      font-weight: 500;
      font-size: 13px;
      letter-spacing: .08em;
      text-transform: uppercase;
      transition: background .2s, border-color .2s;
    }
    .mobile-menu a.mobile-cta:hover {
      background: rgba(255,255,255,.12);
      border-color: #fff;
      padding-left: 24px;
    }
    .mobile-group-title {
      font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
      color: rgba(255,255,255,.35); padding: 10px 0 3px; font-weight: 500;
      border-bottom: none !important;
    }
    .mobile-group-title::before { display: none; }
  }
  @media (min-width: 961px) { .mobile-menu { display: none !important; } }

  /* ===== LOGO ===== */
  .logo { display: flex; align-items: center; }
  .logo-img { height: 44px; width: auto; display: block; flex: none; }
  .nav .logo-img { height: 64px; }
  footer .logo-img { height: 64px; }
  @media (max-width: 600px) {
    .nav .logo-img { height: 48px; }
    footer .logo-img { height: 48px; }
    .nav-inner { height: 80px; }
    .mobile-menu { top: 80px; }
  }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    background: radial-gradient(130% 90% at 15% 5%, #024c58 0%, var(--petrol) 42%, var(--ink) 100%);
    color: #fff;
    padding: 0;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
  }
  /* subtle noise grain */
  .hero::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .35;
    mix-blend-mode: overlay;
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 160px 0 80px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    width: 100%;
  }
  .hero-content > * { width: 100%; }
  .hero h1 {
    font-family: 'Exo 2', sans-serif; font-weight: 500;
    font-size: clamp(38px, 6.4vw, 84px);
    letter-spacing: -.028em; line-height: 1.02;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
    text-align: center;
  }
  .hero h1 .accent {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    font-size: 1.08em;
    margin-top: 0.12em;
  }
  .hero h1 .accent::after {
    content: '';
    position: absolute;
    left: 5%; right: 5%; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.6), rgba(255,255,255,.1));
    border-radius: 2px;
  }
  .hero p.sub {
    margin-top: 32px; max-width: 580px;
    font-size: clamp(16px, 1.5vw, 20px); font-weight: 300;
    color: rgba(255,255,255,.78); line-height: 1.55;
    text-align: center;
    margin-left: auto; margin-right: auto;
  }
  .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; justify-content: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: 999px;
    font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    transition: all .3s var(--ease-out-expo);
    border: 1px solid transparent;
    position: relative; overflow: hidden;
  }
  /* Fundo escuro (hero, para-voce, razao) */
  .btn-solid { background: #fff; color: var(--petrol); }
  .btn-solid:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.22); }
  .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
  .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.9); transform: translateY(-2px); }
  /* Fundo claro (diferencial, post, seções brancas) */
  .btn-primary { background: var(--petrol); color: #fff; }
  .btn-primary:hover { background: #004e5a; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,56,65,.3); }
  .btn-secondary { border-color: var(--petrol); color: var(--petrol); }
  .btn-secondary:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }
  .btn .arrow { transition: transform .3s var(--ease-out-expo); display: inline-block; }
  .btn:hover .arrow { transform: translateX(5px); }

  /* stats strip */
  .stats { background: var(--ink); position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.05); }
  .stats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    border-left: 1px solid rgba(255,255,255,.06);
  }
  .stat {
    padding: 38px 28px;
    border-right: 1px solid rgba(255,255,255,.06);
    color: #fff;
    position: relative;
  }
  .stat::before {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--petrol-2), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-out-expo);
  }
  .stat:hover::before { transform: scaleX(1); }
  .stat .num {
    font-family: 'Exo 2', sans-serif; font-weight: 800;
    font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.025em;
    line-height: 1; color: #fff;
  }
  .stat .label { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.45; font-weight: 300; }
  .stats-tagline {
    padding: 32px 28px; color: rgba(255,255,255,.6);
    font-style: italic; font-size: 15.5px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: center; gap: 18px;
    font-weight: 300; letter-spacing: .01em;
  }
  .stats-tagline::before { content: ""; width: 36px; height: 1px; background: rgba(255,255,255,.35); flex: none; }

  @media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(5) {
      grid-column: 1 / -1;
      text-align: center;
      border-right: none;
      display: flex; flex-direction: column; align-items: center;
    }
  }

  /* ===== SECTION HEADINGS ===== */
  .sec-head { margin-bottom: 60px; }
  .sec-head .eyebrow { margin-bottom: 18px; }
  .sec-head h2 {
    font-family: 'Exo 2', sans-serif; font-weight: 800;
    font-size: clamp(20px, 2.4vw, 34px);
    letter-spacing: -.024em; line-height: 1.1;
    color: var(--petrol); white-space: nowrap;
  }
  @media (max-width: 900px) { .sec-head h2 { white-space: normal; } }
  .sec-head.on-dark h2 { color: #fff; }
  .sec-head p { margin-top: 22px; font-size: 17.5px; color: var(--gray); max-width: 660px; line-height: 1.6; font-weight: 300; }
  .sec-head.on-dark p { color: rgba(255,255,255,.72); }

  /* ===== INDEX SECTIONS — padding igual às páginas secundárias ===== */
  #sobre, #razao, #solucoes, #contato { padding-top: 64px; padding-bottom: 80px; scroll-margin-top: 55px; }
  #sobre { padding-bottom: 48px; }

  /* ===== SOBRE ===== */
  #sobre { background: #fff; }
  .about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
  .about-card {
    border: 1px solid var(--line);
    border-left: 3px solid var(--petrol);
    background: #fff;
    padding: 36px 30px;
    transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo);
    position: relative; overflow: hidden;
  }
  .about-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,56,65,.03) 0%, transparent 60%);
    opacity: 0; transition: opacity .4s;
  }
  .about-card:hover { transform: translateY(-5px); box-shadow: 0 28px 64px -28px rgba(0,56,65,.22); }
  .about-card:hover::before { opacity: 1; }
  .about-card .ix {
    font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 13px;
    color: var(--petrol); letter-spacing: .06em; margin-bottom: 18px;
  }
  .about-card h3 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 21px; color: var(--ink); margin-bottom: 12px; letter-spacing: -.012em; }
  .about-card p { color: var(--gray); font-size: 14.5px; font-weight: 300; line-height: 1.6; }
  .about-quote {
    margin-top: 64px; padding: 36px 0;
    border-top: 1px solid var(--line);
    font-family: 'Exo 2', sans-serif; font-weight: 500; font-style: italic;
    font-size: clamp(19px, 2vw, 26px);
    color: var(--petrol); max-width: 860px; line-height: 1.38; letter-spacing: -.012em;
  }
  @media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

  /* ===== SOLUÇÕES ===== */
  #solucoes { background: var(--bg); }
  .sol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 40px; }
  .sol-card { grid-column: span 2; }
  .sol-card:nth-child(4),
  .sol-card:nth-child(5) { grid-column: span 3; }
  .sol-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 38px 34px 34px;
    display: flex; flex-direction: column; gap: 18px;
    transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo), border-color .3s;
    position: relative;
  }
  .sol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 72px -30px rgba(0,56,65,.26);
    border-color: rgba(0,56,65,.18);
  }
  .sol-num {
    font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 13px;
    color: var(--petrol); letter-spacing: .1em;
    display: flex; align-items: center; gap: 12px;
  }
  .sol-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .sol-card h3 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 23px; color: var(--petrol); letter-spacing: -.012em; line-height: 1.2; }
  .sol-card .promise { font-style: italic; color: var(--ink); font-weight: 400; font-size: 14.5px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .sol-card .desc { color: var(--gray); font-size: 14px; font-weight: 300; line-height: 1.6; }
  .sol-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
  .sol-card li {
    font-size: 13.5px; color: var(--ink); font-weight: 400; line-height: 1.4;
    display: flex; align-items: center; gap: 12px;
  }
  /* hexagon bullet */
  .sol-card li::before {
    content: "";
    flex: none;
    width: 12px; height: 14px;
    background: var(--petrol);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative; top: 0;
  }
  .sol-close {
    margin-top: 52px; text-align: center;
    font-family: 'Exo 2', sans-serif; font-weight: 500; font-style: italic;
    font-size: clamp(19px, 2.2vw, 26px);
    color: var(--petrol); letter-spacing: -.012em;
  }
  @media (max-width: 980px) {
    .sol-grid { grid-template-columns: 1fr; max-width: 640px; }
    .sol-card, .sol-card:nth-child(4), .sol-card:nth-child(5) { grid-column: span 1; }
  }

  /* ===== METODOLOGIA ===== */
  #metodologia { background: var(--petrol); color: #fff; overflow: hidden; }
  .timeline {
    margin-top: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    position: relative;
  }
  .timeline::before {
    content: ""; position: absolute; left: 0; right: 0; top: 24px;
    height: 1px; background: rgba(255,255,255,.15);
  }
  .tl-step { padding: 0 14px 0 0; position: relative; }
  .tl-dot {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.28);
    background: var(--petrol);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 15px;
    color: #fff; position: relative; z-index: 2;
    transition: background .3s, border-color .3s, transform .35s var(--ease-out-expo), color .3s;
  }
  .tl-step:hover .tl-dot { background: #fff; color: var(--petrol); border-color: #fff; transform: scale(1.08); }
  .tl-step h4 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 17px; margin-top: 28px; color: #fff; letter-spacing: -.006em; }
  .tl-step p { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.65); font-weight: 300; line-height: 1.55; padding-right: 16px; }

  @media (max-width: 900px) {
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before { left: 24px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .tl-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 32px; align-items: start; }
    .tl-step:last-child { padding-bottom: 0; }
    .tl-step h4 { margin-top: 8px; }
    .tl-step p { padding-right: 0; }
  }

  /* ===== PORTFÓLIO ===== */
  #portfolio { background: #fff; }
  .case-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
  .case-tab {
    padding: 14px 20px; border: 1px solid var(--line);
    background: #fff; color: var(--gray);
    font-size: 13px; font-weight: 500; letter-spacing: .04em;
    transition: all .25s var(--ease-out-expo);
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    min-width: 196px;
  }
  .case-tab .ix { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .2em; color: var(--gray-2); transition: color .25s; }
  .case-tab .ttl { color: var(--ink); font-size: 13.5px; font-weight: 500; transition: color .25s; }
  .case-tab.active { background: var(--petrol); border-color: var(--petrol); }
  .case-tab.active .ix { color: rgba(255,255,255,.65); }
  .case-tab.active .ttl { color: #fff; }
  .case-tab:hover:not(.active) { border-color: rgba(0,56,65,.4); background: rgba(0,56,65,.03); }
  .case-tab:hover:not(.active) .ix { color: var(--petrol); }

  .case-panel { display: none; animation: panelIn .35s var(--ease-out-expo); }
  .case-panel.active { display: block; }
  @keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  .case-head {
    display: flex; justify-content: space-between; gap: 24px;
    align-items: flex-end; flex-wrap: wrap;
    padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
  }
  .case-head h3 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(24px, 2.8vw, 36px); color: var(--petrol); letter-spacing: -.02em; }
  .case-head .eyebrow { margin-bottom: 10px; }
  .case-context { color: var(--gray); font-size: 14px; font-weight: 300; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
  .case-context span { position: relative; padding-right: 18px; }
  .case-context span:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 7px; width: 1px; height: 14px; background: var(--line); }

  .case-body { display: grid; grid-template-columns: 1.2fr 1fr 180px; gap: 52px; align-items: start; }
  @media (max-width: 1000px) { .case-body { grid-template-columns: 1.2fr 1fr; } }
  .case-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .case-block h5 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
  .case-block p { color: var(--ink); font-size: 14px; line-height: 1.6; font-weight: 300; }

  .case-kpis { background: var(--bg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; align-content: start; }
  .kpi { display: flex; flex-direction: column; gap: 6px; }
  .kpi .v { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); color: var(--petrol); letter-spacing: -.02em; line-height: 1; }
  .kpi .k { font-size: 12px; color: var(--gray); font-weight: 400; line-height: 1.45; }

  @media (max-width: 900px) {
    .case-body { grid-template-columns: 1fr; }
    .case-blocks { grid-template-columns: 1fr; }
    .case-tabs { gap: 6px; }
    .case-tab { min-width: unset; flex: 1; }
  }

  /* ===== SETORES ===== */
  #setores { background: var(--bg); }
  .sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sec-card {
    background: #fff; border: 1px solid var(--line);
    padding: 36px 30px;
    display: flex; flex-direction: column; gap: 14px;
    transition: background .35s var(--ease-out-expo), color .35s, transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo), border-color .35s;
    color: var(--ink); min-height: 200px; cursor: pointer;
    text-decoration: none;
  }
  .sec-card:hover {
    background: var(--petrol); color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 32px 64px -28px rgba(0,56,65,.38);
    border-color: var(--petrol);
  }
  .sec-card .ico { width: 42px; height: 42px; color: var(--petrol); transition: color .35s; }
  .sec-card:hover .ico { color: #fff; }
  .sec-card h4 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -.006em; color: inherit; line-height: 1.25; }
  .sec-card .arrow-c {
    margin-top: auto;
    font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--gray-2); font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    transition: color .35s, gap .3s var(--ease-out-expo);
  }
  .sec-card:hover .arrow-c { color: rgba(255,255,255,.8); gap: 12px; }

  @media (max-width: 900px) {
    .sec-grid { grid-template-columns: 1fr 1fr; }
    .sec-card {
      padding: 26px 18px; min-height: unset;
      align-items: center; text-align: center;
    }
    .sec-card .arrow-c { justify-content: center; }
  }
  @media (max-width: 560px) {
    .sec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sec-card { padding: 20px 14px; }
    .sec-card h4 { font-size: 16px; }
    .sec-ico-hex { width: 52px; height: 52px; }
  }


  /* ===== CONTATO ===== */
  #contato { background: var(--bg); color: var(--ink); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
  .contact-info { display: flex; flex-direction: column; gap: 36px; }
  .contact-info .name { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.012em; color: var(--ink); }
  .contact-info .role { color: var(--gray); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; font-weight: 500; }
  .contact-row { display: flex; flex-direction: column; gap: 0; }
  .contact-row a {
    display: flex; align-items: center; gap: 14px;
    color: var(--gray); font-size: 15.5px; font-weight: 300;
    padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,.1);
    transition: color .2s, padding-left .3s var(--ease-out-expo), gap .3s var(--ease-out-expo);
  }
  .contact-row a:hover { color: var(--petrol); padding-left: 8px; gap: 18px; }
  .contact-row .ico { width: 18px; height: 18px; flex: none; color: var(--gray-2); transition: color .2s; }
  .contact-row a:hover .ico { color: var(--petrol); }

  form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field { display: flex; flex-direction: column; grid-column: span 1; }
  .field.full { grid-column: span 2; }
  .field label { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; font-weight: 500; }
  .field input, .field select, .field textarea {
    background: transparent;
    border: 0; border-bottom: 1px solid rgba(0,0,0,.15);
    color: var(--ink); padding: 12px 0; font-size: 15px; font-weight: 300;
    transition: border-color .25s;
    appearance: none; border-radius: 0;
  }
  .field textarea { resize: vertical; min-height: 100px; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--petrol); }
  .field-error { border-bottom-color: #c0392b !important; }
  .field-error:focus { border-bottom-color: #c0392b !important; }
  .field input::placeholder, .field textarea::placeholder { color: rgba(0,0,0,.3); }
  .field select { color: var(--ink); }
  .field select option { color: var(--ink); background: #fff; }
  .form-submit { grid-column: span 2; display: flex; justify-content: flex-end; margin-top: 16px; }
  .form-submit button {
    padding: 18px 40px; background: var(--petrol); color: #fff;
    font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    border-radius: 0;
    transition: background .25s, color .25s, transform .25s var(--ease-out-expo), box-shadow .25s;
    border: 1px solid var(--petrol);
    display: flex; align-items: center; gap: 12px;
  }
  .form-submit button:hover { background: transparent; color: var(--petrol); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .form-submit button .arrow { transition: transform .3s var(--ease-out-expo); display: inline-block; }
  .form-submit button:hover .arrow { transform: translateX(5px); }

  @media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    form { grid-template-columns: 1fr; }
    .field, .field.full, .form-submit { grid-column: span 1; }
    .form-submit { justify-content: stretch; }
    .form-submit button { width: 100%; justify-content: center; }
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--ink); color: rgba(255,255,255,.6);
    padding: 64px 0 36px;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
  .foot-grid h6 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
  .foot-grid a { display: block; padding: 5px 0; font-size: 13.5px; color: rgba(255,255,255,.6); font-weight: 300; transition: color .2s, padding-left .2s; }
  .foot-grid a:hover { color: #fff; padding-left: 4px; }
  .foot-desc { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,.5); max-width: 320px; line-height: 1.6; margin-top: 16px; }
  .foot-cnpj { font-size: 11.5px; font-weight: 300; color: rgba(255,255,255,.28); margin-top: 10px; letter-spacing: .04em; }
  .foot-bottom {
    padding: 18px 0; border-top: 1px solid rgba(255,255,255,.07);
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.38); gap: 12px;
  }
  .foot-legal {
    text-align: center;
    white-space: nowrap;
  }
  @media (max-width: 800px) {
    .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  }
  .foot-bottom a {
    color: rgba(255,255,255,.55); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1px;
    transition: color .2s, border-color .2s;
  }
  .foot-bottom a:hover { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.5); }
  @media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* ===== HERO HEX BG ===== */
  .hero-top {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hero-hex-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
  .hero-hex-bg svg { display: block; width: 100%; height: 100%; }
  .hero-hex-bg .hex-mobile { display: none; }

  /* ===== STAT SOURCE ===== */
  .stat-src { margin-top: 8px; font-size: 10px; color: rgba(255,255,255,.28); letter-spacing: .08em; font-weight: 400; text-transform: uppercase; }

  /* ===== STATS CONTEXT (Prazo & Caixa / Custo & Margem) ===== */
  .stats-ctx { background: #0c1a22; border-top: 1px solid rgba(255,255,255,.05); padding: 72px 0; }
  .stats-ctx-head { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); color: rgba(255,255,255,.9); letter-spacing: -.018em; margin-bottom: 36px; }
  .stats-ctx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .stats-ctx-card { border: 1px solid rgba(255,255,255,.1); padding: 32px 36px; transition: border-color .3s var(--ease-out-expo); }
  .stats-ctx-card:hover { border-color: rgba(255,255,255,.24); }
  .stats-ctx-card h5 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
  .stats-ctx-card p { font-size: 14.5px; color: rgba(255,255,255,.75); font-weight: 300; line-height: 1.65; }
  @media (max-width: 640px) { .stats-ctx-grid { grid-template-columns: 1fr; } }

  /* ===== PORQUE EXISTIMOS ===== */
  #razao { background: #0e1d24; color: #fff; }
  .porque-headline { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.024em; line-height: 1.1; color: #fff; max-width: none; margin-bottom: 12px; white-space: nowrap; }
  @media (max-width: 900px) { .porque-headline { white-space: normal; } }
  .porque-sub { font-size: 15px; color: rgba(255,255,255,.48); font-weight: 300; max-width: 660px; line-height: 1.6; margin-bottom: 56px; }
  .porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); margin-bottom: 0; }
  .porque-card { background: #0e1d24; padding: 40px 36px; transition: background .35s var(--ease-out-expo); }
  .porque-card:hover { background: #152e3a; }
  .porque-card h4 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 14px; letter-spacing: -.006em; }
  .porque-card p { font-size: 14px; color: rgba(255,255,255,.56); font-weight: 300; line-height: 1.65; }
  .porque-close { margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); font-family: 'Exo 2', sans-serif; font-weight: 500; font-style: italic; font-size: clamp(17px, 1.8vw, 24px); color: rgba(255,255,255,.6); max-width: 720px; line-height: 1.45; }
  @media (max-width: 820px) { .porque-grid { grid-template-columns: 1fr; } }

  /* ===== PARA VOCÊ ===== */
  #para-voce { background: var(--petrol); color: #fff; padding-top: 32px; }
  .para-intro { margin-bottom: 40px; }
  .para-intro p { font-size: 18px; color: rgba(255,255,255,.88); font-weight: 300; line-height: 1.65; max-width: 720px; }
  .para-lead { margin-bottom: 8px; font-size: 14px; color: rgba(255,255,255,.55); font-weight: 400; letter-spacing: .04em; }
  .para-list { display: flex; flex-direction: column; margin-top: 0; border: 1px solid rgba(255,255,255,.14); }
  .para-item { padding: 26px 36px; display: flex; align-items: flex-start; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.1); transition: background .25s; }
  .para-item:last-child { border-bottom: 0; }
  .para-item:hover { background: rgba(255,255,255,.06); }
  .para-check { font-size: 13px; color: #0d9f6e; font-weight: 700; flex: none; min-width: 20px; margin-top: 3px; }
  .para-num { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: 11px; color: rgba(255,255,255,.32); letter-spacing: .12em; flex: none; min-width: 28px; margin-top: 3px; }
  .para-item p { font-size: 15.5px; color: rgba(255,255,255,.88); font-weight: 300; line-height: 1.55; }
  .para-note { margin-top: 36px; font-size: 16px; color: rgba(255,255,255,.75); font-weight: 400; line-height: 1.65; max-width: 680px; }
  .para-cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
  @media (max-width: 640px) { .para-item { padding: 22px 20px; } }

  /* ===== SCROLL REVEAL ===== */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }
  .reveal.d5 { transition-delay: .40s; }

  /* ===== HERO LOAD ANIMATION ===== */
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
  }
  .hero-content .eyebrow { animation: heroFadeUp .7s var(--ease-out-expo) .1s both; }
  .hero-content h1        { animation: heroFadeUp .8s var(--ease-out-expo) .28s both; }
  .hero-content .sub      { animation: heroFadeUp .8s var(--ease-out-expo) .46s both; }
  .hero-content .cta-row  { animation: heroFadeUp .8s var(--ease-out-expo) .62s both; }

  /* ===== HEX ILUSTRAÇÕES ===== */
  .hex-ilu {
    flex-shrink: 0; display: block; overflow: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
  .hex-ilu svg { display: block; width: 100%; height: 100%; }

  /* Sobre – split layout */
  .about-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px; align-items: center;
    margin-top: 60px;
  }
  .about-body .about-grid { margin-top: 0; }
  @media (max-width: 960px) {
    .about-body { grid-template-columns: 1fr; }
    .about-body .hex-ilu { display: none; }
  }

  /* Metodologia – layout com ilustração */
  .meto-body {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 60px; align-items: center;
    margin-top: 30px;
  }
  .meto-close {
    margin-top: 56px; text-align: center;
    font-family: 'Exo 2', sans-serif; font-weight: 500; font-style: italic;
    font-size: clamp(17px, 2vw, 24px);
    color: #fff; letter-spacing: -.01em;
  }
  @media (max-width: 960px) {
    .meto-body { grid-template-columns: 1fr; }
    .meto-body .hex-ilu { display: none; }
  }

  /* ===== DIFERENCIAL ===== */
  #diferencial-content { background: #fff; }
  .dif-list { display: flex; flex-direction: column; }
  .dif-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 56px;
    padding: 52px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
    transition: background .25s;
  }
  .dif-item:first-child { border-top: 1px solid var(--line); }
  .dif-item:hover { background: rgba(0,56,65,.02); margin: 0 -40px; padding-left: 40px; padding-right: 40px; }
  .dif-n {
    font-family: 'Exo 2', sans-serif; font-weight: 800;
    font-size: 72px; line-height: 1; letter-spacing: -.04em;
    color: rgba(0,56,65,.08);
    padding-top: 6px;
    transition: color .3s;
  }
  .dif-item:hover .dif-n { color: rgba(0,56,65,.18); }
  .dif-body { display: flex; flex-direction: column; gap: 14px; }
  .dif-item h4 {
    font-family: 'Exo 2', sans-serif; font-weight: 700;
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--petrol); letter-spacing: -.012em; line-height: 1.25;
  }
  .dif-item p { color: var(--gray); font-size: 15.5px; font-weight: 300; line-height: 1.7; max-width: 680px; }
  .dif-cta { margin-top: 56px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
  @media (max-width: 700px) {
    .dif-item { grid-template-columns: 56px 1fr; gap: 24px; padding: 36px 0; }
    .dif-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
    .dif-n { font-size: 48px; }
    .dif-item h4 { font-size: 18px; }
    .dif-item p { font-size: 14.5px; }
  }

  /* ===== CLIENTES ===== */
  #clientes-logos { background: #fff; }
  .cli-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
  .cli-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo), border-color .3s;
  }
  .cli-card:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -28px rgba(0,56,65,.22); border-color: rgba(0,56,65,.18); }
  .cli-logo-wrap {
    display: flex; align-items: center; justify-content: center;
    padding: 36px 28px; height: 120px; overflow: hidden;
  }
  .cli-logo--dark { background: var(--ink); }
  .cli-logo--light { background: #fff; }
  .cli-logo-wrap img { max-width: 160px; max-height: 50px; width: auto; height: auto; object-fit: contain; }
  .cli-card--light { background: var(--ink); border-color: rgba(255,255,255,.1); }
  .cli-card--light:hover { border-color: rgba(255,255,255,.25); }
  .cli-card--light .cli-info h4 { color: #fff; }
  .cli-card--light .cli-info p { color: rgba(255,255,255,.6); }

  /* CTA row na pagina clientes */
  .cli-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
  @media (max-width: 600px) {
    .cli-cta-row { flex-direction: column; align-items: stretch; padding: 0 24px; }
    .cli-cta-row .btn { justify-content: center; text-align: center; }
  }
  .cli-logo-sq { max-width: 120px !important; max-height: 120px !important; }
  .cli-logo-sq.cli-logo-lg { max-width: 150px !important; max-height: 150px !important; }
  .cli-logo-svg { width: 160px; height: 50px; }
  .cli-info { padding: 24px 28px; flex: 1; }
  .cli-info h4 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 17px; color: var(--petrol); letter-spacing: -.01em; }
  .cli-info p { margin-top: 8px; font-size: 13.5px; color: var(--gray); font-weight: 300; line-height: 1.55; }
  @media (max-width: 1000px) { .cli-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .cli-grid { grid-template-columns: 1fr; } }

  /* Depoimentos */
  #clientes-depoimentos { background: var(--petrol); color: #fff; padding: 80px 0; }
  #clientes-depoimentos .sec-head h2 { color: #fff; }
  .dep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
  .dep-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: 40px 36px 36px;
    position: relative;
    display: flex; flex-direction: column; gap: 20px;
    transition: background .3s;
  }
  .dep-card:hover { background: rgba(255,255,255,.1); }
  .dep-quote { width: 32px; height: 32px; color: rgba(255,255,255,.15); flex-shrink: 0; }
  .dep-card blockquote { margin: 0; }
  .dep-card blockquote p {
    font-size: 14.5px; color: rgba(255,255,255,.82); font-weight: 300;
    line-height: 1.7; margin-bottom: 12px;
  }
  .dep-card blockquote p:last-child { margin-bottom: 0; }
  .dep-author {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    margin-top: auto; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .dep-company-logo {
    height: 28px; width: auto; max-width: 100px;
    object-fit: contain; display: block;
  }
  .dep-name { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 14px; color: #fff; }
  .dep-role { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 300; margin-top: 2px; }
  @media (max-width: 800px) { .dep-grid { grid-template-columns: 1fr; } .dep-card { padding: 28px 22px 24px; } }

  /* Setores – ícone em hexágono */
  .sec-ico-hex {
    width: 64px; height: 64px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--petrol);
    display: flex; align-items: center; justify-content: center;
    transition: background .35s var(--ease-out-expo);
  }
  .sec-ico-hex .ico { width: 28px; height: 28px; color: rgba(255,255,255,.85); }
  .sec-card:hover .sec-ico-hex { background: rgba(255,255,255,.2); }

  /* Portfolio – visual por case */
  .case-visual { display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; }
  @media (max-width: 1000px) { .case-visual { display: none; } }

  /* ===== SCROLL PROGRESS ===== */
  .scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
    background: rgba(255,255,255,.75);
    transform-origin: left; transform: scaleX(0);
    pointer-events: none;
  }

  /* ===== PÁGINAS SECUNDÁRIAS – padding reduzido ===== */
  main section { padding: 24px 0 64px; }

  /* ===== PÁGINAS LEGAIS ===== */
  .legal-body { max-width: 780px; }
  .legal-body h2 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(18px, 2vw, 24px); color: var(--petrol); letter-spacing: -.012em; margin: 48px 0 14px; }
  .legal-body h2:first-child { margin-top: 0; }
  .legal-body p { font-size: 15px; color: var(--gray); font-weight: 300; line-height: 1.75; margin-bottom: 14px; }
  .legal-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding-left: 4px; }
  .legal-body ul li { font-size: 15px; color: var(--gray); font-weight: 300; line-height: 1.65; display: flex; gap: 12px; }
  .legal-body ul li::before { content: ""; flex: none; width: 10px; height: 12px; background: var(--petrol); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); margin-top: 4px; opacity: .55; }
  .legal-date { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray-2); font-weight: 300; }

  /* ===== BLOG ===== */
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .blog-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 3px;
    padding: 32px; display: flex; flex-direction: column;
    transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
    text-decoration: none; color: inherit;
  }
  .blog-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,.09); transform: translateY(-4px); }
  .blog-tag {
    display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--petrol); background: rgba(0,56,65,.08);
    padding: 4px 11px; border-radius: 999px; margin-bottom: 18px; align-self: flex-start;
  }
  .blog-card h3 {
    font-family: 'Exo 2', sans-serif; font-weight: 800;
    font-size: clamp(15px, 1.3vw, 19px); letter-spacing: -.014em; line-height: 1.22;
    color: var(--petrol); margin-bottom: 12px;
  }
  .blog-card p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.65; margin-bottom: 0; flex-grow: 1; }
  .blog-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 12px; color: var(--gray-2); font-weight: 300;
  }
  .blog-read { font-size: 12.5px; font-weight: 500; color: var(--petrol); letter-spacing: .04em; display: flex; align-items: center; gap: 5px; transition: gap .2s; }
  .blog-card:hover .blog-read { gap: 9px; }
  @media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

  /* ---- Blog: estados loading / vazio ---- */
  .blog-loading { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  @media (max-width: 1024px) { .blog-loading { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .blog-loading { grid-template-columns: 1fr; } }
  .blog-skeleton {
    background: linear-gradient(90deg, #e8ebed 25%, #f0f2f3 50%, #e8ebed 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 3px; height: 220px;
  }
  @keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
  .blog-empty { grid-column: 1 / -1; text-align: center; color: var(--gray); font-size: 15px; padding: 60px 0; }

  /* =====================================================
     POST INDIVIDUAL
     ===================================================== */
  #post-section { padding: 80px 0 120px; }
  .post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
  @media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } }

  .post-meta-hero {
    display: flex; align-items: center; gap: 10px;
    margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.6); font-weight: 300;
  }
  .post-meta-sep { opacity: .4; }

  /* corpo do artigo */
  .post-body { font-size: 17px; line-height: 1.82; color: var(--ink); font-weight: 300; }
  .post-body h2 { font-family: 'Exo 2', sans-serif; font-weight: 800; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.018em; color: var(--petrol); margin: 52px 0 16px; line-height: 1.2; }
  .post-body h3 { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: clamp(15px, 1.4vw, 20px); color: var(--petrol); margin: 36px 0 12px; line-height: 1.25; }
  .post-body p  { margin-bottom: 22px; }
  .post-body ul, .post-body ol { margin: 0 0 22px 24px; }
  .post-body li { margin-bottom: 8px; }
  .post-body blockquote {
    border-left: 3px solid var(--petrol); margin: 28px 0;
    padding: 12px 20px; background: var(--bg); border-radius: 0 3px 3px 0;
    color: var(--gray); font-style: italic;
  }
  .post-body code {
    font-family: 'Courier New', monospace; font-size: 14px;
    background: var(--bg); border: 1px solid var(--line);
    padding: 2px 6px; border-radius: 3px; color: var(--petrol-2);
  }
  .post-body pre { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 20px; overflow-x: auto; margin-bottom: 22px; }
  .post-body pre code { border: none; padding: 0; background: none; }
  .post-body strong { font-weight: 600; }
  .post-body a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
  .post-body hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

  /* aside */
  .post-aside { position: sticky; top: 100px; }
  .post-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--petrol);
    letter-spacing: .04em; margin-bottom: 28px;
    transition: gap .2s;
  }
  .post-back:hover { gap: 10px; }
  .post-cta-box {
    background: var(--petrol); color: #fff; border-radius: 4px;
    padding: 28px 24px;
  }
  .post-cta-box p { font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.85); }

  /* ===== PAGE HERO (páginas secundárias) ===== */
  .page-hero {
    background: var(--petrol);
    color: #fff;
    padding: 120px 0 20px;
    position: relative; overflow: hidden;
  }
  .page-hero::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .35; mix-blend-mode: overlay;
  }
  .page-hero .wrap { position: relative; z-index: 2; }
  .page-hero h1 {
    font-family: 'Exo 2', sans-serif; font-weight: 800;
    font-size: clamp(19px, 2.1vw, 30px);
    letter-spacing: -.02em; margin-top: 20px; color: #fff;
    line-height: 1.1; white-space: nowrap;
  }
  @media (max-width: 900px) { .page-hero h1 { white-space: normal; } }
  .page-hero p {
    margin-top: 20px; max-width: 600px;
    font-size: 17px; font-weight: 300;
    color: rgba(255,255,255,.72); line-height: 1.6;
  }

  /* =====================================================
     MOBILE POLISH — não altera nada no desktop
     ===================================================== */

  /* iOS Safari: prefixo -webkit- para blur do nav e menu */
  .nav.scrolled {
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  /* Remove flash azul em tap (iOS e Android) */
  *, *::before, *::after { -webkit-tap-highlight-color: transparent; }

  /* Elimina delay de 300ms em tap */
  a, button, label, [role="button"] { touch-action: manipulation; }

  /* iOS Safari: onclick="void(0)" no body (nos HTMLs) substitui o cursor hack */

  /* Hero: svh = small viewport (estável — não muda ao scroll no iOS) */
  .hero { min-height: 100svh; }
  @supports not (min-height: 100svh) { .hero { min-height: 100dvh; } }
  @supports not (min-height: 100dvh) { .hero { min-height: 100vh; } }

  @media (max-width: 960px) {
    /* iOS blur no menu mobile */
    .mobile-menu {
      -webkit-backdrop-filter: blur(18px);
    }
  }

  @media (max-width: 600px) {
    /* Ajuste para quando o nav encolhe (80px) */
    .mobile-menu { top: 80px; max-height: calc(100vh - 80px); }

    /* Impede zoom automático nos inputs do iOS (font < 16px dispara zoom) */
    .field input,
    .field textarea,
    .field select { font-size: 16px; }

    /* Hero: pills menores em mobile */
    .hero-pill { font-size: 9px; padding: 2px 8px; letter-spacing: .12em; }
    .hero-sep { margin: 0 2px; font-size: 10px; }

    /* Hero: CTAs empilhados e centralizados em telas pequenas */
    .hero-content { padding: 148px 0 56px; }
    .hero p.sub { margin-top: 48px; }
    .cta-row { flex-direction: column; align-items: center; margin-top: 38px; }
    .cta-row .btn { text-align: center; justify-content: center; padding: 11px 22px; font-size: 12px; }

    /* Page hero mais compacto */
    .page-hero { padding: 100px 0 24px; }
    .page-hero + main > section:first-child { padding-top: 24px; }
    #sobre, #razao, #solucoes, #contato { padding-top: 24px; scroll-margin-top: 75px; }

    /* Case tabs: 3 iguais + case 4 largura total */
    .case-tabs { overflow-x: visible; flex-wrap: wrap; padding-bottom: 0; }
    .case-tab { flex: 1 1 calc(33.33% - 6px); min-width: unset; }
    .case-tab:last-child { flex: 0 0 100%; }

    /* Blog grid já vai para 1 coluna, mas garante padding correto */
    .blog-card { padding: 24px; }

    /* Rodapé: alinha centro no mobile */
    .foot-bottom { text-align: center; }
    .foot-bottom > * { width: 100%; }
  }

  /* Safe-area para iPhone com notch/Dynamic Island */
  @supports (padding: env(safe-area-inset-bottom)) {
    footer { padding-bottom: env(safe-area-inset-bottom); }
    @media (max-width: 960px) {
      .mobile-menu {
        padding-bottom: calc(36px + env(safe-area-inset-bottom));
      }
    }
  }

  /* ===== BRAND WATERMARK ===== */
  .brand-wm {
    position: absolute; pointer-events: none;
    -webkit-user-select: none; user-select: none;
    display: block;
  }
  .brand-wm--light {
    opacity: 0.08;
    mix-blend-mode: multiply;
  }
  .brand-wm--dark {
    opacity: 0.13;
    filter: invert(1);
  }
  /* Ensure wraps are positioning contexts for watermarks */
  section .wrap,
  .stats .wrap,
  .stats-ctx .wrap {
    position: relative;
  }
  footer { position: relative; overflow: hidden; }
  @media (max-width: 600px) {
    .brand-wm {
      width: 43px !important;
      top: 0 !important;
      right: 14px !important;
      bottom: auto !important;
      left: auto !important;
    }
  }
