.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
    .skip-link:focus{left:16px;top:16px;width:auto;height:auto;z-index:99999;background:#fff;border:2px solid rgba(2,6,23,.2);padding:10px 12px;border-radius:12px}

    :root{ --brand:#0ea5e9; --brand-700:#0369a1; --ink:#0f172a; --muted:#475569; --bg:#ffffff; --radius:16px; --sticky-offset:72px; }
    *{box-sizing:border-box} html{scroll-behavior:smooth}
    body{margin:0; font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Arial; color:var(--ink); background:var(--bg)}
    a{color:var(--ink); text-decoration:none}
    .container{width:min(1120px,92vw); margin:0 auto}
    .btn{display:inline-block; padding:12px 18px; border-radius:999px; font-weight:600; letter-spacing:.2px}
    .btn-primary{background:linear-gradient(93deg,var(--brand),var(--brand-700)); color:#fff}
    .btn-ghost{border:1px solid rgba(2,6,23,.08)}
    header{position:sticky; top:0; z-index:50; backdrop-filter: blur(8px); background:rgba(255,255,255,.85); border-bottom:1px solid rgba(2,6,23,.08)}
    .nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
    .brand{display:flex; gap:10px; align-items:center; font-weight:800}
    .brand svg{width:34px; height:34px}
    nav ul{list-style:none; display:flex; gap:20px; margin:0; padding:0}
    .menu-btn{display:none; border:0; background:transparent}
    .hero{padding:64px 0 32px}
    .hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center}
    .h-title{margin:10px 0 14px; font-size:clamp(28px,5vw,48px); line-height:1.1}
    .h-sub{color:var(--muted)}
    .hero .actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
    .stats{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px}
    .stat{padding:14px; background:rgba(2,6,23,.03); border:1px solid rgba(2,6,23,.06); border-radius:16px; text-align:center}
    .stat b{display:block; font-size:22px}
    section{padding:72px 0}
    .section-title{text-align:center; margin:0 0 28px; font-size:clamp(22px,3.8vw,34px)}
    .section-sub{text-align:center; color:var(--muted); max-width:760px; margin:-12px auto 34px}
    .grid{display:grid; gap:28px}
    .grid-3{grid-template-columns:repeat(3,1fr)}
    .grid-4{grid-template-columns:repeat(4,1fr)}
    .card{background:#fff; border:1px solid rgba(2,6,23,.12); border-radius:16px; padding:20px}
    #servicos .grid-3{row-gap:56px}
    #servicos .card{border:none; background:transparent; text-align:center; padding:0}
    #servicos .icon{width:64px; height:64px; margin:0 auto 12px; border-radius:16px; display:grid; place-items:center; background:radial-gradient(closest-side, rgba(14,165,233,0.12), rgba(14,165,233,0.06) 60%, transparent 61%); border:1px solid rgba(2,6,23,.06)}
    #servicos .icon svg{width:30px; height:30px; stroke:currentColor; stroke-width:2; fill:none}
    #servicos .card h3{font-size:22px; margin:10px 0 8px}
    #servicos .card p{color:#64748b; margin:0 auto; max-width:36ch}
    .techs{display:grid; gap:18px; grid-template-columns:repeat(4,1fr)}
    .tech-card{background:#fff; border:1px solid rgba(2,6,23,.08); border-radius:16px; padding:16px}
    .tech-card h3{margin:4px 0 8px; font-size:16px}
    .tech-list{position:relative; display:flex; flex-wrap:wrap; gap:10px}
    .tech{position:relative; z-index:1; width:46px; height:46px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; background:#ffffff; border:1px solid #e2e8f0}
    .tech img{width:24px; height:24px}
    .tech.pill{display:none}
    .tech::after{content:attr(aria-label); position:absolute; left:50%; top:-8px; transform:translate(-50%,-100%); background:#0f172a; color:#fff; padding:6px 8px; border-radius:8px; font-size:12px; white-space:nowrap; opacity:0; pointer-events:none; z-index:50; box-shadow:0 10px 18px rgba(2,6,23,.12); transition:opacity .15s ease, transform .15s ease}
    .tech:hover::after, .tech:focus-visible::after{opacity:1; transform:translate(-50%,-112%)}
    .tech::before{content:""; position:absolute; left:50%; top:-6px; transform:translate(-50%,0); border:6px solid transparent; border-top-color:#0f172a; opacity:0; transition:opacity .15s ease}
    .tech:hover::before, .tech:focus-visible::before{opacity:1}
    .faq { padding:72px 0; }
    .faq-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:start; }
    .faq-illust img { width:100%; height:auto; display:block; border-radius:16px; }
    .faq-title { margin:0 0 10px; font-size:clamp(26px, 4.2vw, 40px); line-height:1.1; }
    .faq-title.sticky { position: sticky; top: var(--sticky-offset); background: #fff; z-index: 5; padding: 6px 0; }
    .faq-list { margin-top:8px; border-top:1px solid rgba(2,6,23,.08); }
    .faq-item { border-bottom:1px solid rgba(2,6,23,.08); }
    .faq-item summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; padding:18px 0; font-weight:600; }
    .faq-item summary::-webkit-details-marker{ display:none; }
    .faq-item summary .chev{ width:22px; height:22px; display:inline-grid; place-items:center; border:1px solid rgba(2,6,23,.12); border-radius:6px; font-size:16px; line-height:1; transform:rotate(0deg); transition:transform .2s ease; }
    .faq-item[open] summary .chev{ transform:rotate(90deg); }
    .faq-item p{ margin:0 0 18px; color:var(--muted); max-width:56ch; }

    #contato{padding-top:40px; position:relative; background:#ffffff; overflow:hidden; min-height:720px}
    #contato::before{content:""; position:absolute; inset:0; background:url('/map.png') center/cover no-repeat; opacity:.12; pointer-events:none}
    #contato .container{position:relative; z-index:1}
    #contato .section-title{color:var(--ink)}
    #contato .section-sub{color:var(--muted)}
    form input, form textarea { display:block; width:100%; padding:12px 14px; border-radius:12px; border:1px solid #e2e8f0; margin:8px 0; font:inherit; background:#fff }
    form textarea{min-height:110px; resize:vertical}
    .btn-gradient-full{display:block; width:100%; padding:14px 18px; border-radius:999px; background:linear-gradient(90deg, #17ace8, #065ea9); color:#fff; font-weight:800; border:1px solid rgba(2,6,23,.3); box-shadow:inset 0 -2px 0 rgba(0,0,0,.25);}
    footer{color:#334155; border-top:1px solid rgba(2,6,23,.08); padding:28px 0 60px}
    .foot{display:grid; grid-template-columns:2fr 1fr; gap:20px}
    .muted{color:#64748b}
    #toTop{position:fixed; right:22px; bottom:22px; width:44px; height:44px; display:grid; place-items:center; border-radius:999px; border:1px solid rgba(2,6,23,.12); background:#fff; box-shadow:0 10px 18px rgba(2,6,23,.12); cursor:pointer; opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease; z-index:60;}
    #toTop svg{width:20px; height:20px}
    #toTop.show{opacity:1; pointer-events:auto}
    #toTop:hover{transform:translateY(-2px)}
    .modal{display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); align-items:center; justify-content:center; z-index:9999}
    .modal.show{display:flex; animation:fadeIn .2s ease}
    .modal-content{background:#fff; color:#0f172a; padding:18px 24px; border-radius:12px; font-weight:700; box-shadow:0 10px 30px rgba(0,0,0,.25)}
    @keyframes fadeIn{from{opacity:0} to{opacity:1}}
    @media(max-width:980px){
      .hero-grid{grid-template-columns:1fr}
      .grid-4{grid-template-columns:repeat(2,1fr)}
      .grid-3{grid-template-columns:repeat(2,1fr)}
      .techs{grid-template-columns:1fr 1fr}
      .faq-grid{grid-template-columns:1fr}
      :root{ --sticky-offset:64px; }
    }
    @media(max-width:720px){
      .grid-4,.grid-3{grid-template-columns:1fr}
      .techs{grid-template-columns:1fr}
      .foot{grid-template-columns:1fr}
      nav ul{display:none; position:absolute; left:0; right:0; top:60px; background:#fff; padding:14px; border-bottom:1px solid rgba(2,6,23,.08)}
      nav ul.open{display:flex; flex-direction:column}
      .menu-btn{display:block}
    }

html { scroll-behavior: smooth; }
  /* Helps modern browsers align the anchor below a fixed header */
  #contato { scroll-margin-top: 140px; }

/* fallback: center known titles if they are not plain headings */
h1, h2, h3, h4, h5, h6 { /* no-op default */ }

h1.text-center, h2.text-center, h3.text-center, h4.text-center { text-align: center; }

/* prose */
.prose{max-width:860px;margin:0 auto}
.prose p{color:var(--muted);margin:12px 0}
.prose h2{margin:34px 0 12px;font-size:clamp(20px,3.2vw,28px);line-height:1.2}
.prose h3{margin:22px 0 10px;font-size:20px;line-height:1.25}
.prose ul{margin:10px 0 18px;padding-left:18px;color:var(--muted)}
.prose li{margin:6px 0}
.prose strong{color:var(--ink)}
.toc{border:1px solid rgba(2,6,23,.08);background:rgba(2,6,23,.02)}
.toc ul{margin:8px 0 0}
.pill{display:inline-block;padding:6px 10px;border-radius:999px;border:1px solid rgba(2,6,23,.10);background:#fff;color:var(--muted);font-weight:600;font-size:13px}
.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.callout{border-left:4px solid var(--brand);background:rgba(14,165,233,.06);padding:14px 16px;border-radius:14px;border:1px solid rgba(14,165,233,.18)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:980px){.two-col{grid-template-columns:1fr}}


/* extras for long-form pages */
.badge-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.badge{display:inline-block; padding:6px 10px; border-radius:999px; border:1px solid rgba(2,6,23,.10); background:#fff; color:#0f172a; font-size:13px}
.note{border-left:4px solid var(--brand); padding:12px 14px; border-radius:12px; background:rgba(14,165,233,.08);}
