:root{
    --bg: #040C1A;
    --bg-alt: #0B1C2F;
    --card-bg: #131F30;
    --card-border: rgba(150, 185, 210, 0.16);
    --border-dim: rgba(140, 170, 195, 0.14);
    --navy: #12324A;
    --petrol: #1B4B57;
    --accent: #4FA6B8;
    --accent-bright: #63D3E8;
    --text: #EAF0F5;
    --text-muted: #93A5B5;
    --radius: 14px;
    --dots-opacity: 0.32;
    --maxw: 1080px;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  html, body{ margin:0; padding:0; color: var(--text);
    background: linear-gradient(135deg, #1B3550 0%, #0D2035 38%, #071321 68%, #040C1A 100%);
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; }

  h1,h2,h3{ font-weight: 600; letter-spacing: -0.01em; margin: 0; }
  p{ color: var(--text-muted); line-height: 1.7; margin: 0; }
  a{ color: inherit; }

  #dots-layer{
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: var(--dots-opacity);
    background-image: radial-gradient(rgba(140,170,195,0.9) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(220px circle at var(--page-mx, -9999px) var(--page-my, -9999px), white 0%, white 35%, transparent 100%);
    mask-image: radial-gradient(220px circle at var(--page-mx, -9999px) var(--page-my, -9999px), white 0%, white 35%, transparent 100%);
  }

  .container{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
  main.container{ max-width: none; padding-left: 0; padding-right: 0; }
  section{ position: relative; z-index: 1; padding: 84px max(28px, calc((100vw - var(--maxw)) / 2 + 28px)); }
  section.alt{ background: linear-gradient(180deg, rgba(11,28,47,0.88), rgba(4,12,26,0.94) 90%); }
  section.weight{ padding-top: 104px; padding-bottom: 104px; border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim); background: radial-gradient(900px 400px at 50% 0%, rgba(79,166,184,0.055), transparent 70%), rgba(7,19,33,0.92); }

  .eyebrow{ font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 12px; }
  h2{ font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
  .lede{ font-size: 17px; max-width: 62ch; }

  /* ===== header ===== */
  header{
    position: sticky; top:0; z-index: 50;
    background: rgba(6,9,15,0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dim);
  }
  .header-inner{ display:flex; align-items:center; justify-content:space-between; padding: 16px 24px; max-width: var(--maxw); margin:0 auto; }
  .logo{ font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
  .logo span{ color: var(--accent); }

  /* ===== CTA — fiel ao código original enviado (cor original mantida por enquanto, sem as estrelas) ===== */
  .btn-wrapper{ position: relative; display: inline-block; }
  .btn-primary{
    --border-radius: 24px; --padding: 4px; --transition: 0.4s;
    --button-color: #1F6B82; --highlight-color-hue: 190deg;

    position: relative; user-select:none; display:inline-flex; align-items:center; justify-content:center;
    padding: 0.62em 1.25em; font-weight: 500; font-size: 14px;
    white-space: nowrap; text-decoration:none; cursor:pointer; color:#fff;

    background-color: var(--button-color);
    border: solid 1px #fff2;
    border-radius: var(--border-radius);

    box-shadow:
      inset 0px 1px 1px rgba(255,255,255,0.2),
      inset 0px 2px 2px rgba(255,255,255,0.15),
      inset 0px 4px 4px rgba(255,255,255,0.1),
      inset 0px 8px 8px rgba(255,255,255,0.05),
      inset 0px 16px 16px rgba(255,255,255,0.05),
      0px -1px 1px rgba(0,0,0,0.02),
      0px -2px 2px rgba(0,0,0,0.03),
      0px -4px 4px rgba(0,0,0,0.05),
      0px -8px 8px rgba(0,0,0,0.06),
      0px -16px 16px rgba(0,0,0,0.08);

    transition: box-shadow var(--transition), border var(--transition), background-color var(--transition), transform var(--transition), filter var(--transition);
  }
  .btn-primary::before{
    content:""; position:absolute;
    top: calc(0px - var(--padding)); left: calc(0px - var(--padding));
    width: calc(100% + var(--padding) * 2); height: calc(100% + var(--padding) * 2);
    border-radius: calc(var(--border-radius) + var(--padding));
    pointer-events:none; z-index:-1;
    background-image: linear-gradient(0deg, #0004, #000a);
    transition: box-shadow var(--transition), filter var(--transition);
    box-shadow:
      0 -8px 8px -6px #0000 inset, 0 -16px 16px -8px #00000000 inset,
      1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
  }
  .btn-primary::after{
    content:""; position:absolute; top:0; left:0; width:100%; height:100%;
    border-radius: inherit; pointer-events:none;
    background-image: linear-gradient(0deg, #fff, hsl(var(--highlight-color-hue),100%,70%), hsla(var(--highlight-color-hue),100%,70%,50%), 8%, transparent);
    background-position: 0 0; opacity:0;
    transition: opacity var(--transition), filter var(--transition);
  }

  .btn-primary .btn-letter{
    position: relative; display: inline-block; color: #FFFFFF;
    animation: letter-anim 2s ease-in-out infinite;
    transition: color var(--transition), text-shadow var(--transition), opacity var(--transition);
  }
  /* espaço entre palavras como elemento próprio: em flexbox, um espaço "solto" (texto puro)
     entre elementos é descartado pelo navegador e as palavras colam. Isso resolve. */
  .btn-primary .btn-letter.btn-space{ width: 0.32em; animation: none; }
  @keyframes letter-anim{ 50%{ text-shadow: 0 0 5px rgba(255,255,255,0.75); color:#FFFFFF; } }

  .btn-primary:hover{ border: solid 1px hsla(var(--highlight-color-hue),100%,80%,75%); transform: translateY(-1px); filter: brightness(1.12); }
  .btn-primary:hover::before{
    box-shadow:
      0 -8px 8px -6px #fffa inset, 0 -16px 16px -8px hsla(var(--highlight-color-hue),100%,70%,30%) inset,
      1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
  }
  .btn-primary:hover::after{ opacity:1; mask-image: linear-gradient(0deg,#fff,transparent); -webkit-mask-image: linear-gradient(0deg,#fff,transparent); }

  .btn-primary:active{ border: solid 1px hsla(var(--highlight-color-hue),100%,80%,70%); background-color: hsla(var(--highlight-color-hue),50%,20%,0.5); }
  .btn-primary:active::before{
    box-shadow:
      0 -8px 12px -6px #fffa inset, 0 -16px 16px -8px hsla(var(--highlight-color-hue),100%,70%,80%) inset,
      1px 1px 1px #fff4, 2px 2px 2px #fff2, -1px -1px 1px #0002, -2px -2px 2px #0001;
  }
  .btn-primary:active::after{ opacity:1; mask-image: linear-gradient(0deg,#fff,transparent); -webkit-mask-image: linear-gradient(0deg,#fff,transparent); filter: brightness(200%); }
  .btn-primary:active .btn-letter{ text-shadow: 0 0 1px hsla(var(--highlight-color-hue),100%,90%,90%); animation:none; }

  .btn-primary .btn-letter:nth-child(1){ animation-delay: 0.06s; }
  .btn-primary .btn-letter:nth-child(2){ animation-delay: 0.12s; }
  .btn-primary .btn-letter:nth-child(3){ animation-delay: 0.18s; }
  .btn-primary .btn-letter:nth-child(4){ animation-delay: 0.24s; }
  .btn-primary .btn-letter:nth-child(5){ animation-delay: 0.30s; }
  .btn-primary .btn-letter:nth-child(6){ animation-delay: 0.36s; }
  .btn-primary .btn-letter:nth-child(7){ animation-delay: 0.42s; }
  .btn-primary .btn-letter:nth-child(8){ animation-delay: 0.48s; }
  .btn-primary .btn-letter:nth-child(9){ animation-delay: 0.54s; }
  .btn-primary .btn-letter:nth-child(10){ animation-delay: 0.60s; }
  .btn-primary .btn-letter:nth-child(11){ animation-delay: 0.66s; }
  .btn-primary .btn-letter:nth-child(12){ animation-delay: 0.72s; }
  .btn-primary .btn-letter:nth-child(13){ animation-delay: 0.78s; }
  .btn-primary .btn-letter:nth-child(14){ animation-delay: 0.84s; }
  .btn-primary .btn-letter:nth-child(15){ animation-delay: 0.90s; }
  .btn-primary .btn-letter:nth-child(16){ animation-delay: 0.96s; }
  .btn-primary .btn-letter:nth-child(17){ animation-delay: 1.02s; }
  .btn-primary .btn-letter:nth-child(18){ animation-delay: 1.08s; }
  .btn-primary .btn-letter:nth-child(19){ animation-delay: 1.14s; }
  .btn-primary .btn-letter:nth-child(20){ animation-delay: 1.20s; }
  .btn-primary .btn-letter:nth-child(21){ animation-delay: 1.26s; }
  .btn-primary .btn-letter:nth-child(22){ animation-delay: 1.32s; }
  .btn-primary .btn-letter:nth-child(23){ animation-delay: 1.38s; }
  .btn-primary .btn-letter:nth-child(24){ animation-delay: 1.44s; }
  .btn-primary .btn-letter:nth-child(25){ animation-delay: 1.50s; }
  .btn-primary .btn-letter:nth-child(26){ animation-delay: 1.56s; }
  .btn-primary .btn-letter:nth-child(27){ animation-delay: 1.62s; }
  .btn-primary .btn-letter:nth-child(28){ animation-delay: 1.68s; }
  .btn-primary .btn-letter:nth-child(29){ animation-delay: 1.74s; }
  .btn-primary .btn-letter:nth-child(30){ animation-delay: 1.80s; }

  @media (prefers-reduced-motion: reduce){ .btn-primary .btn-letter{ animation:none; } }
  .btn-primary.btn-sm{ padding: 0.35em 0.8em; font-size: 13px; }

  .cta-row{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }

  /* ===== hero ===== */
  .hero{ padding: 90px max(28px, calc((100vw - var(--maxw)) / 2 + 28px)) 70px; position: relative; overflow: hidden; }
  .hero-content{ position: relative; z-index: 1; }
  .hero h1{ font-size: clamp(32px, 5vw, 52px); line-height:1.15; max-width: 16ch; margin-bottom: 20px; }
  .hero .lede{ margin-bottom: 14px; }
  .hero .metodo-tag{ display:inline-flex; flex-wrap:wrap; gap:10px; font-size:13px; color:var(--text-muted); margin: 22px 0 30px; }
  .hero .metodo-tag b{ color: var(--accent); font-weight:600; }
  .hero .metodo-tag .metodo-break{ display:none; }
  @media (max-width: 640px){
    .hero .metodo-tag .metodo-dash{ display:none; }
    .hero .metodo-tag .metodo-break{ display:block; width:100%; }
  }

  /* ===== desafio ===== */
  .desafio p + p{ margin-top: 14px; }
  .desafio .lede{ max-width: 68ch; }

  /* ===== proposta ===== */
  .proposta p + p{ margin-top: 14px; }

  /* ===== cards (aprovado) ===== */
  .cards{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
  .card{ position: relative; border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--card-border); background: transparent; transition: transform 0.25s ease; }
  @media (min-width: 901px){
    .cards{ grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .card{ padding: 28px 18px; }
  }
  .card:hover{
    transform: translateY(-4px);
    background: radial-gradient(112px circle at var(--cx, -9999px) var(--cy, -9999px),
                 #8FD9EA 0%, var(--accent) 30%, rgba(79,166,184,0.45) 68%, rgba(79,166,184,0.26) 100%) border-box;
  }
  .card .fill{ position:absolute; inset:0; border-radius: calc(var(--radius) - 1px); background: var(--card-bg); z-index:0; }
  .card .dots-local{
    position:absolute; inset:0; border-radius: calc(var(--radius) - 1px);
    background-image: radial-gradient(rgba(140,170,195,0.75) 1px, transparent 1px);
    background-size: 22px 22px; background-attachment: fixed;
    -webkit-mask-image: radial-gradient(80px circle at var(--cx, -9999px) var(--cy, -9999px), rgba(255,255,255,0.85) 0%, transparent 100%);
    mask-image: radial-gradient(80px circle at var(--cx, -9999px) var(--cy, -9999px), rgba(255,255,255,0.85) 0%, transparent 100%);
    z-index:0;
  }
  .card .content{ position:relative; z-index:1; }
  .card .num{ font-size:12px; color: var(--accent); font-weight:700; letter-spacing:0.05em; }
  .card h3{ font-size:16px; margin: 8px 0 8px; text-shadow: 0 1px 10px var(--card-bg), 0 0 20px var(--card-bg); }
  .card p{ font-size:13.5px; color:#C3CFDA; text-shadow: 0 1px 10px var(--card-bg), 0 0 20px var(--card-bg); }
  .card .apps{ margin-top:12px; font-size:12.5px; color: var(--text-muted); }

  .pilares-note{ margin-top: 26px; font-size: 14px; }

  /* ===== método DNA ===== */
  .dna-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 36px; }
  .dna-step{ background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
  .dna-step .letra{ font-size: 28px; font-weight:700; color: var(--accent); margin-bottom: 10px; }
  .dna-step h3{ font-size: 16px; margin-bottom: 8px; }
  .dna-step p{ font-size: 13.5px; }
  .dna-fechamento{ margin-top: 28px; font-size: 15px; color: var(--text); }

  /* ===== transformação ===== */
  .beneficios{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; margin-top: 34px; }
  .beneficio{ padding: 18px 0; border-top: 1px solid var(--border-dim); }
  .beneficio b{ display:block; color: var(--text); font-size: 15px; margin-bottom: 6px; }
  .beneficio span{ font-size: 13.5px; color: var(--text-muted); }

  /* ===== como pensamos — rede conectada ===== */
  .rede{ position:relative; display:flex; justify-content:space-between; align-items:flex-start; margin: 44px 0 38px; padding-top: 18px; }
  .rede::before{ content:""; position:absolute; top:22.5px; left:0; right:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(150,185,210,0.35) 8%, rgba(150,185,210,0.35) 92%, transparent); }
  .rede .no{ position:relative; display:flex; flex-direction:column; align-items:center; gap:12px; flex:1; padding:0 6px; }
  .rede .no .ponto{ width:9px; height:9px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(79,166,184,0.16); }
  .rede .no span{ font-size:12.5px; color: var(--text-muted); text-align:center; line-height:1.3; }
  @media (max-width: 700px){
    .rede{ flex-direction:column; align-items:stretch; row-gap:22px; padding-top:0; padding-left:0; }
    .rede::before{ top:0; bottom:0; left:4.5px; right:auto; width:1px; height:auto;
      background: linear-gradient(180deg, transparent, rgba(150,185,210,0.35) 6%, rgba(150,185,210,0.35) 94%, transparent); }
    .rede .no{ flex-direction:row; align-items:center; justify-content:flex-start; gap:14px; padding:0; }
    .rede .no span{ text-align:left; }
  }

  /* ===== fundador ===== */
  .fundador{ display:flex; gap: 36px; align-items:flex-start; flex-wrap:wrap; }
  .fundador .foto{
    width: 220px; height: 260px; flex-shrink:0; border-radius: var(--radius);
    border: 1px solid var(--card-border);
    object-fit: cover; object-position: top center;
    display:block;
  }
  .fundador .texto{ flex:1; min-width:260px; }
  .fundador .cargo{ font-size:13px; color: var(--accent); margin-bottom: 6px; }
  .fundador p + p{ margin-top: 12px; }

  /* ===== FAQ ===== */
  .faq-list{ margin-top: 30px; display:flex; flex-direction:column; gap: 10px; }
  details{
    position: relative;
    background: var(--card-bg); border:1px solid var(--card-border); border-radius: 10px; padding: 4px 20px;
    transition: transform 0.25s ease;
  }
  details:hover{
    transform: translateY(-3px);
    border-color: transparent;
    background: radial-gradient(160px circle at var(--cx, -9999px) var(--cy, -9999px),
                 rgba(143,217,234,0.5) 0%, rgba(79,166,184,0.32) 30%, rgba(79,166,184,0.18) 68%, rgba(79,166,184,0.08) 100%) border-box,
                 var(--card-bg) padding-box;
  }
  summary{ cursor:pointer; padding: 16px 0; font-size: 15px; font-weight:500; color: var(--text); list-style:none; display:flex; justify-content:space-between; gap:16px; transition: color 0.2s ease; }
  details:hover summary{ color: var(--accent-bright); }
  summary::-webkit-details-marker{ display:none; }
  summary::after{ content:"+"; color: var(--accent); font-size:20px; flex-shrink:0; }
  details[open] summary::after{ content:"–"; }
  details p{ padding-bottom: 18px; font-size: 14px; }

  /* ===== CTA final ===== */
  .cta-final{ text-align:center; }
  .cta-final h2{ max-width: 22ch; margin:0 auto 16px; }
  .cta-final .lede{ margin: 0 auto 30px; }
  .cta-final .cta-row{ justify-content:center; }

  /* ===== footer ===== */
  footer{ border-top: 1px solid var(--border-dim); padding: 56px 0 28px; }
  .footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-brand .logo{ font-size:17px; }
  .footer-brand .tagline{ margin-top:8px; font-size:13.5px; color: var(--text-muted); max-width:26ch; }
  .footer-col h4{ font-size:12.5px; color: var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:16px; font-weight:600; }
  .footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
  .footer-col ul li a{ display:flex; align-items:center; gap:10px; font-size:13.5px; color: var(--text-muted); text-decoration:none; transition: color 0.2s ease; }
  .footer-col ul li a:hover{ color: var(--accent-bright); }
  .footer-col ul li svg{ width:16px; height:16px; flex-shrink:0; fill: currentColor; }
  .footer-bottom{ margin-top:44px; padding-top:20px; border-top:1px solid var(--border-dim); display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; font-size:12px; color: var(--text-muted); }
  @media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-brand{ grid-column: 1 / -1; } }

  @media (max-width: 640px){
    .container{ padding-left: 28px; padding-right: 28px; }
    main.container section, main.container section.weight{ padding: 60px 28px; }
    .hero{ padding: 56px 28px 40px; }
    .hero-content{ max-width: 100%; padding-right: 4px; }
    .hero h1{ max-width: 15ch; }
    .cta-row{ gap: 14px; }
    .fundador{ flex-direction:column; }
  }
  @media (max-width: 380px){
    .btn-primary{ font-size: 13px; padding: 0.5em 0.9em; }
  }


/* ===== refinamentos solicitados — Áreas de atuação / Nosso método ===== */
.card .apps{
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--accent);
  font-weight: 500;
}

.metodo-titulo{
  display: flex;
  align-items: center;
  gap: 0;
}

.metodo-titulo span{
  display: inline-flex;
  align-items: center;
}

.metodo-titulo span + span::before{
  content: "|";
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0.7em;
}

.dna-step h3 .method-initial{
  color: var(--accent);
  font-size: 1.14em;
  font-weight: 700;
}

@media (max-width: 767px){
  .metodo-titulo{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18em;
  }

  .metodo-titulo span + span::before{
    display: none;
  }

  .cta-row{
    justify-content: center;
  }
}

