:root{
    --ink: #0A1730;
    --ink-2: #122344;
    --ink-3: #1A2F58;
    --paper: #F5F7FA;
    --paper-dim: #C3CCDE;
    --signal: #3E8EDE;
    --signal-dim: #2C5AA0;
    --growth: #5CB8F2;
    --line: #24365C;
    --muted: #8592AC;
    --badge-dark: #050d1f;
    --badge-light: #2C7DD1;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, .display-font{
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    font-weight: 700;
  }

  .mono{
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
  }

  .text-signal{ color: var(--signal); }
  .text-growth{ color: var(--growth); }
  .text-muted-custom{ color: var(--muted); }

  a{ text-decoration: none; }

  /* ---------- Background dot-grid (chart texture) ---------- */
  .grid-texture{
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
  }

  /* ---------- Nav ---------- */
  .navbar-vetor{
    background: rgba(14,20,32,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .navbar-vetor .nav-link{
    color: var(--paper-dim);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    transition: color .2s ease;
  }
  .navbar-vetor .nav-link:hover{ color: var(--paper); }

  .brand-mark{
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--paper);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .brand-mark svg{ flex-shrink: 0; }

  .btn-signal{
    background: var(--signal);
    color: #071023;
    font-weight: 600;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    transition: transform .18s ease, background .18s ease;
  }
  .btn-signal:hover{
    background: #5CA8EE;
    color: #071023;
    transform: translateY(-1px);
  }

  .btn-outline-paper{
    border: 1px solid var(--line);
    color: var(--paper);
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    font-weight: 500;
    transition: border-color .18s ease, background .18s ease;
  }
  .btn-outline-paper:hover{
    border-color: var(--paper-dim);
    background: rgba(255,255,255,0.04);
    color: var(--paper);
  }

  /* ---------- Hero ---------- */
  .hero{
    position: relative;
    padding: 7.5rem 0 5rem;
    overflow: hidden;
  }

  .hero-eyebrow{
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--growth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-eyebrow::before{
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--growth);
    box-shadow: 0 0 0 4px rgba(76,217,160,0.15);
  }

  .hero h1{
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    line-height: 1.08;
    margin: 1.1rem 0 1.3rem;
  }

  .hero p.lead{
    color: var(--paper-dim);
    font-size: 1.12rem;
    max-width: 540px;
  }

  /* Ticker signature element */
  .ticker-wrap{
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--ink-2);
    overflow: hidden;
    margin-top: 2.75rem;
  }
  .ticker-track{
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 26s linear infinite;
  }
  .ticker-item{
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--paper-dim);
    padding: 0.8rem 2.2rem;
    border-right: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .ticker-item strong{ color: var(--growth); font-weight: 600; }
  @keyframes ticker-scroll{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce){
    .ticker-track{ animation: none; }
  }

  /* Hero trajectory SVG */
  .hero-visual{ position: relative; }
  .trajectory-path{
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw-line 2.4s ease forwards 0.3s;
  }
  @keyframes draw-line{
    to{ stroke-dashoffset: 0; }
  }
  @media (prefers-reduced-motion: reduce){
    .trajectory-path{ stroke-dashoffset: 0; animation: none; }
  }
  .traj-node{
    opacity: 0;
    animation: node-pop .4s ease forwards;
  }
  .traj-node:nth-of-type(1){ animation-delay: 0.6s; }
  .traj-node:nth-of-type(2){ animation-delay: 1.1s; }
  .traj-node:nth-of-type(3){ animation-delay: 1.6s; }
  .traj-node:nth-of-type(4){ animation-delay: 2.1s; }
  @keyframes node-pop{
    from{ opacity: 0; transform: scale(0); }
    to{ opacity: 1; transform: scale(1); }
  }
  @media (prefers-reduced-motion: reduce){
    .traj-node{ opacity: 1; animation: none; }
  }

  /* ---------- Section spine (thread connecting sections) ---------- */
  .section-spine{
    position: relative;
  }
  .section-spine::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line) 8%, var(--line) 92%, transparent);
    transform: translateX(-0.5px);
    z-index: 0;
  }

  section{ position: relative; z-index: 1; }

  .section-label{
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ---------- Stats ---------- */
  .stat-card{
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
    height: 100%;
  }
  .stat-number{
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--paper);
    line-height: 1;
  }
  .stat-number .unit{ font-size: 1.3rem; color: var(--growth); }
  .stat-label{
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.6rem;
  }

  /* ---------- Process steps ---------- */
  .process-step{
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--ink-2);
    padding: 1.75rem 2rem 2rem;
    height: 100%;
    position: relative;
  }
  .process-badge{
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--paper);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem 0.7rem 1rem;
    margin: -1.75rem -2rem 1.2rem;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  }
  .process-badge .num{
    font-family: var(--font-mono);
    font-size: 1.1rem;
    opacity: 0.85;
  }
  .process-step:nth-child(odd) .process-badge,
  .process-card:nth-child(odd) .process-badge{ background: var(--badge-dark); }
  .process-step:nth-child(even) .process-badge,
  .process-card:nth-child(even) .process-badge{ background: var(--badge-light); }
  .process-step h3{ font-size: 1.15rem; margin-bottom: 0.6rem; }
  .process-step p{ color: var(--paper-dim); font-size: 0.95rem; margin: 0; }

  /* ---------- Resultado (icon grid) ---------- */
  .result-item{
    text-align: center;
    padding: 1.5rem 0.75rem;
  }
  .result-icon{
    width: 56px; height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    background: var(--ink-3);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--growth);
  }
  .result-label{
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--paper);
  }

  /* ---------- Quote banner ---------- */
  .quote-banner{
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ink-2), var(--ink) 70%);
    background-image: url(../assets/img/fundo-citacao.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    background-size: 45%;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .quote-banner::before{
    content: "\201C";
    position: absolute;
    top: -1.2rem; left: 1.5rem;
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--signal);
    opacity: 0.18;
    line-height: 1;
  }
  .quote-banner p{
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 600;
    color: var(--paper);
    max-width: 640px;
    position: relative;
    z-index: 1;
    margin: 0;
  }
  .quote-banner p strong{ color: var(--growth); }

  /* ---------- Intro cards (O que fazemos / Quem somos) ---------- */
  .intro-card{
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--ink-2);
    padding: 2.25rem;
    height: 100%;
  }
  .intro-icon{
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--signal-dim);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
  }
  .intro-card h3{ font-size: 1.25rem; margin-bottom: 0.9rem; }
  .intro-card p{ color: var(--paper-dim); font-size: 0.96rem; }
  .intro-card p:last-child{ margin-bottom: 0; }

  /* ---------- Benefits ---------- */
  .benefit-card{
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
    height: 100%;
  }
  .benefit-card:hover{
    border-color: var(--line);
    background: var(--ink-2);
  }
  .benefit-icon{
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(76,217,160,0.1);
    color: var(--growth);
    margin-bottom: 1rem;
  }
  .benefit-card h3{ font-size: 1.05rem; margin-bottom: 0.5rem; }
  .benefit-card p{ color: var(--paper-dim); font-size: 0.92rem; margin: 0; }

  /* ---------- Testimonials ---------- */
  .testimonial-card{
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--ink-2);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .testimonial-quote{
    color: var(--paper-dim);
    font-size: 0.98rem;
    flex-grow: 1;
  }
  .testimonial-quote::before{ content: "\201C"; color: var(--signal); font-size: 1.4rem; }
  .testimonial-author{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }
  .author-avatar{
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ink-3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--growth);
    font-size: 0.85rem;
  }
  .author-name{ font-weight: 600; font-size: 0.9rem; color: var(--paper); }
  .author-role{ font-size: 0.8rem; color: var(--muted); }

  /* ---------- Pricing ---------- */
  .price-card{
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--ink-2);
    padding: 2.25rem 1.9rem;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .price-card.featured{
    border-color: var(--signal-dim);
    background: linear-gradient(180deg, rgba(255,106,61,0.08), var(--ink-2) 40%);
    position: relative;
  }
  .featured-tag{
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--signal);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
  }
  .price-tier{ font-size: 1.1rem; font-weight: 600; color: var(--paper); }
  .price-value{
    font-family: var(--font-mono);
    font-size: 2.1rem;
    color: var(--paper);
    margin: 0.7rem 0 0.2rem;
  }
  .price-value .period{ font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); }
  .price-desc{ color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
  .price-features{ list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
  .price-features li{
    display: flex; align-items: start; gap: 0.6rem;
    color: var(--paper-dim); font-size: 0.9rem;
    padding: 0.45rem 0;
  }
  .price-features li svg{ flex-shrink: 0; margin-top: 3px; color: var(--growth); }

  /* ---------- FAQ ---------- */
  .accordion-vetor .accordion-item{
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .accordion-vetor .accordion-button{
    background: transparent;
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    padding: 1.3rem 0;
    box-shadow: none;
  }
  .accordion-vetor .accordion-button:not(.collapsed){
    color: var(--signal);
    background: transparent;
  }
  .accordion-vetor .accordion-button::after{
    filter: invert(1);
  }
  .accordion-vetor .accordion-body{
    color: var(--paper-dim);
    padding: 0 0 1.5rem;
    font-size: 0.95rem;
  }

  /* ---------- Final CTA ---------- */
  .cta-final{
    border: 1px solid var(--line);
    border-radius: 16px;
    background: radial-gradient(ellipse at top left, rgba(255,106,61,0.12), var(--ink-2) 60%);
    padding: 3.5rem 2.5rem;
    text-align: center;
  }

  /* ---------- Footer ---------- */
  footer{
    border-top: 1px solid var(--line);
    padding: 3rem 0 1.5rem;
  }
  footer a{ color: var(--paper-dim); }
  footer a:hover{ color: var(--paper); }
  .footer-brand{ font-family: var(--font-display); font-weight: 700; color: var(--paper); font-size: 1.15rem; }

  /* ---------- WhatsApp float ---------- */
  .whatsapp-float{
    position: fixed;
    bottom: 22px; right: 22px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 1000;
    transition: transform .2s ease;
  }
  .whatsapp-float:hover{ transform: scale(1.08); }

  /* ---------- Reveal on scroll ---------- */
  .reveal{
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity: 1; transform: none; transition: none; }
  }

  .skip-link{
    position: absolute; left: -999px; top: 0;
    background: var(--signal); color: var(--ink);
    padding: 0.6rem 1rem; z-index: 2000; border-radius: 0 0 6px 0;
  }
  .skip-link:focus{ left: 0; }

  a:focus-visible, button:focus-visible{
    outline: 2px solid var(--growth);
    outline-offset: 2px;
  }