/* Resets restritos a home — nao podem ser globais:
   display:block em img quebraria imagens em linha do conteudo,
   e os h1-h3 remexeriam o espacamento de todas as paginas internas. */
body.home {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* :where() zera a especificidade do escopo: estas regras pesam o mesmo que o
   reset original do protótipo (img, h1...) e perdem para qualquer regra de
   componente (.partner-card img, .case-card h3...). Com "body.home img" elas
   pesavam (0,1,2) e venciam os componentes -- os max-width dos logos e a
   altura de linha dos títulos eram ignorados. */
:where(body.home) :is(button, input, textarea, select) { font: inherit; }
:where(body.home) :is(img, svg, canvas) { display: block; max-width: 100%; }
:where(body.home) :is(h1, h2, h3, p) { margin-top: 0; }
:where(body.home) :is(h1, h2, h3) { line-height: 1.04; letter-spacing: -.045em; }

/* O cabecalho antigo envolve a pagina em .wrapper e #content.main-container.
   As secoes da home sao full-bleed. */
body.home .wrapper, body.home #content.main-container {
  max-width: none; width: auto; padding: 0; margin: 0;
}



    a { color: inherit; text-decoration: none; }

    button { color: inherit; }


    .section { padding: 112px 0; }

    .section--compact { padding: 72px 0; }

    .section--white { background: var(--surface); }

    .section--blue { color: #fff; background: var(--blue-950); }


    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 18px;
      color: var(--blue-700);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .13em;
      line-height: 1.2;
      text-transform: uppercase;
    }


    .eyebrow::before {
      width: 8px;
      height: 8px;
      background: var(--orange);
      border-radius: 50%;
      content: "";
      box-shadow: 0 0 0 5px rgba(243, 145, 49, .14);
    }


    .eyebrow--light { color: var(--blue-300); }


    h1 {
      max-width: 760px;
      margin-bottom: 24px;
      font-size: clamp(3rem, 6.4vw, 6.55rem);
      font-weight: 720;
    }


    h2 {
      max-width: 820px;
      margin-bottom: 22px;
      font-size: clamp(2.25rem, 4.4vw, 4.6rem);
      font-weight: 700;
    }


    h3 { font-size: 1.35rem; }


    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 56px;
    }


    .section-heading p {
      max-width: 470px;
      margin-bottom: 8px;
      color: var(--muted);
      font-size: 1.08rem;
    }


    .section--blue .section-heading p { color: #b9c4eb; }

    a:hover .arrow, button:hover .arrow { transform: translateX(4px); }


    /* Hero */
    .pl-hero {
      position: relative;
      min-height: 780px;
      padding: 154px 0 74px;
      overflow: hidden;
      isolation: isolate;
    }


    .pl-hero::before {
      position: absolute;
      z-index: -2;
      inset: 0;
      background:
        radial-gradient(circle at 83% 15%, rgba(73, 106, 240, .17), transparent 27%),
        radial-gradient(circle at 12% 60%, rgba(155, 176, 255, .18), transparent 27%),
        linear-gradient(180deg, #f8faff 0%, #f3f6ff 100%);
      content: "";
    }


    .pl-hero::after {
      position: absolute;
      z-index: -1;
      inset: 0;
      opacity: .33;
      background-image:
        linear-gradient(rgba(21, 45, 162, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 45, 162, .08) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
      content: "";
    }


    .hero-grid {
      display: grid;
      align-items: center;
      grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
      gap: 48px;
    }


    .pl-hero h1 span { color: var(--blue-700); }


    .hero-copy > p {
      max-width: 650px;
      margin-bottom: 34px;
      color: #4b5575;
      font-size: clamp(1.05rem, 1.5vw, 1.27rem);
      line-height: 1.65;
    }


    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }


    .hero-visual {
      position: relative;
      min-height: 560px;
      border: 1px solid rgba(155, 176, 255, .50);
      background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(232,237,255,.62));
      border-radius: 42px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }


    .hero-visual::before,
    .hero-visual::after {
      position: absolute;
      z-index: 2;
      content: "";
      pointer-events: none;
    }


    .hero-visual::before {
      top: 0;
      right: 0;
      left: 0;
      height: 72px;
      background: linear-gradient(180deg, rgba(255,255,255,.88), transparent);
    }


    .hero-visual::after {
      right: 0;
      bottom: 0;
      left: 0;
      height: 110px;
      background: linear-gradient(0deg, rgba(247,249,255,.95), transparent);
    }


    #systemCanvas {
      width: 100%;
      height: 560px;
    }


    .visual-label {
      position: absolute;
      z-index: 3;
      bottom: 24px;
      left: 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      color: var(--blue-950);
      background: rgba(255,255,255,.86);
      border: 1px solid rgba(203, 214, 255, .86);
      border-radius: 999px;
      box-shadow: var(--shadow-sm);
      font-size: .78rem;
      font-weight: 760;
      letter-spacing: .04em;
      backdrop-filter: blur(10px);
    }


    .visual-label i {
      width: 8px;
      height: 8px;
      background: var(--orange);
      border-radius: 50%;
      box-shadow: 0 0 0 5px rgba(243,145,49,.16);
    }


    .trust-bar {
      display: grid;
      margin-top: 70px;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid rgba(151, 166, 211, .35);
    }


    .trust-item {
      padding: 28px 30px 2px 0;
      color: #515b7b;
      font-size: .91rem;
    }


    .trust-item + .trust-item {
      padding-left: 30px;
      border-left: 1px solid rgba(151, 166, 211, .35);
    }


    .trust-item strong {
      display: block;
      margin-bottom: 3px;
      color: var(--blue-950);
      font-size: 1.15rem;
    }


    /* Challenge selector */
    .challenge-wrap {
      display: grid;
      grid-template-columns: .86fr 1.14fr;
      gap: 24px;
    }


    .challenge-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }


    .challenge-tab {
      display: grid;
      align-items: center;
      width: 100%;
      min-height: 72px;
      padding: 16px 18px;
      grid-template-columns: 42px 1fr 24px;
      gap: 10px;
      border: 1px solid transparent;
      color: #3d4768;
      background: transparent;
      border-radius: 16px;
      cursor: pointer;
      text-align: left;
      transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s var(--ease);
    }


    .challenge-tab:hover { transform: translateX(4px); color: var(--blue-700); }


    .challenge-tab[aria-selected="true"] {
      border-color: var(--blue-200);
      color: var(--blue-950);
      background: var(--blue-050);
    }


    .tab-number {
      color: var(--blue-500);
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .06em;
    }


    .tab-title { font-weight: 720; }

    .tab-arrow { color: var(--blue-500); font-size: 1.2rem; text-align: right; }


    .challenge-panel {
      position: relative;
      display: flex;
      min-height: 500px;
      padding: clamp(34px, 5vw, 68px);
      flex-direction: column;
      justify-content: space-between;
      border: 1px solid var(--blue-200);
      background:
        radial-gradient(circle at 100% 0%, rgba(73,106,240,.22), transparent 33%),
        linear-gradient(145deg, #f4f7ff, #fff 70%);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }


    .challenge-panel::after {
      position: absolute;
      right: -70px;
      bottom: -80px;
      width: 260px;
      height: 260px;
      border: 1px solid rgba(73,106,240,.18);
      border-radius: 50%;
      content: "";
      box-shadow: 0 0 0 34px rgba(73,106,240,.04), 0 0 0 70px rgba(73,106,240,.025);
    }


    .panel-kicker {
      margin-bottom: 20px;
      color: var(--blue-600);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
    }


    .challenge-panel h3 {
      max-width: 660px;
      margin-bottom: 20px;
      font-size: clamp(2rem, 3.5vw, 3.7rem);
    }


    .challenge-panel p {
      max-width: 610px;
      color: var(--muted);
      font-size: 1.05rem;
    }


    .panel-bottom { position: relative; z-index: 2; margin-top: 42px; }


    .pl-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

    .pl-tag {
      padding: 8px 12px;
      color: var(--blue-800);
      background: #fff;
      border: 1px solid var(--blue-200);
      border-radius: 999px;
      font-size: .79rem;
      font-weight: 680;
    }


    .text-link {
      display: inline-flex;
      align-items: center;
      color: var(--blue-700);
      font-weight: 780;
    }


    .panel-animate { animation: panelIn .45s var(--ease); }

    @keyframes panelIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }


    /* Capabilities */
    .capability-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }


    .capability-card {
      position: relative;
      min-height: 340px;
      padding: 26px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
    }


    .capability-card:hover {
      z-index: 2;
      border-color: var(--blue-300);
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
    }


    .capability-card::after {
      position: absolute;
      right: -46px;
      bottom: -46px;
      width: 130px;
      height: 130px;
      background: var(--blue-050);
      border-radius: 50%;
      content: "";
      transition: transform .35s var(--ease), background .35s ease;
    }


    .capability-card:hover::after { transform: scale(1.25); background: var(--blue-100); }


    .capability-index {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 70px;
      color: var(--blue-500);
      font-size: .72rem;
      font-weight: 820;
      letter-spacing: .1em;
    }


    .capability-icon {
      display: grid;
      width: 40px;
      height: 40px;
      place-items: center;
      color: var(--blue-700);
      background: var(--blue-050);
      border: 1px solid var(--blue-200);
      border-radius: 12px;
    }


    .capability-card h3 { min-height: 58px; margin-bottom: 14px; }

    .capability-card p { color: var(--muted); font-size: .91rem; line-height: 1.55; }


    /* Operating model */
    .process-shell {
      position: relative;
      padding: 50px;
      border: 1px solid rgba(155,176,255,.22);
      background: rgba(255,255,255,.035);
      border-radius: 34px;
      overflow: hidden;
    }


    .process-shell::before {
      position: absolute;
      inset: 0;
      opacity: .25;
      background-image: radial-gradient(rgba(155,176,255,.45) 1px, transparent 1px);
      background-size: 24px 24px;
      content: "";
      mask-image: linear-gradient(90deg, #000, transparent 80%);
    }


    .process-track {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
    }


    .process-track::before {
      position: absolute;
      z-index: -1;
      top: 29px;
      right: 10%;
      left: 10%;
      height: 2px;
      background: linear-gradient(90deg, var(--blue-500), var(--orange));
      content: "";
    }


    .process-step { padding: 0 16px; }


    .process-dot {
      display: grid;
      width: 60px;
      height: 60px;
      margin: 0 auto 28px;
      place-items: center;
      color: #fff;
      background: var(--blue-600);
      border: 8px solid var(--blue-950);
      border-radius: 50%;
      box-shadow: 0 0 0 1px rgba(155,176,255,.48);
      font-size: .75rem;
      font-weight: 800;
    }

    .process-step:last-child .process-dot { background: var(--orange); }

    .process-step h3 { margin-bottom: 10px; text-align: center; }

    .process-step p { margin-bottom: 0; color: #abb8e4; font-size: .89rem; text-align: center; }


    /* Cases */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 18px;
    }


    .case-card {
      position: relative;
      display: flex;
      min-height: 470px;
      padding: 34px;
      flex-direction: column;
      justify-content: space-between;
      color: #fff;
      background: var(--blue-900);
      border-radius: 28px;
      overflow: hidden;
      isolation: isolate;
    }


    .case-card::before {
      position: absolute;
      z-index: -2;
      inset: 0;
      background:
        radial-gradient(circle at 80% 15%, rgba(155,176,255,.45), transparent 25%),
        linear-gradient(155deg, var(--blue-900), var(--blue-950));
      content: "";
    }


    .case-card::after {
      position: absolute;
      z-index: -1;
      right: -70px;
      bottom: -60px;
      width: 290px;
      height: 290px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 44px;
      content: "";
      transform: rotate(30deg);
      box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018);
      transition: transform .6s var(--ease);
    }


    .case-card:hover::after { transform: rotate(45deg) scale(1.08); }

    .case-card:nth-child(1) { grid-column: span 6; }

    .case-card:nth-child(2), .case-card:nth-child(3) { grid-column: span 3; }

    .case-card:nth-child(2)::before { background: linear-gradient(155deg, #153bb5, #0c1d62); }

    .case-card:nth-child(3)::before { background: linear-gradient(155deg, #315cdb, #112c86); }


    .case-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #cbd5fa;
      font-size: .75rem;
      font-weight: 760;
      letter-spacing: .09em;
      text-transform: uppercase;
    }


    .case-meta span:last-child {
      padding: 6px 9px;
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 999px;
    }


    .case-card h3 {
      max-width: 480px;
      margin-bottom: 16px;
      font-size: clamp(1.7rem, 3vw, 3rem);
    }


    .case-card p { max-width: 520px; color: #c9d3f3; }


    .metrics {
      display: flex;
      flex-wrap: wrap;
      gap: 26px;
      margin-top: 28px;
    }


    .metric strong {
      display: block;
      color: #fff;
      font-size: clamp(1.8rem, 2.7vw, 2.8rem);
      letter-spacing: -.05em;
      line-height: 1;
    }

    .metric small { display: block; max-width: 132px; margin-top: 6px; color: #b7c4eb; line-height: 1.35; }


    /* Group */
    .group-intro {
      display: grid;
      align-items: center;
      grid-template-columns: .85fr 1.15fr;
      gap: 70px;
    }


    .group-intro h2 { margin-bottom: 28px; }

    .group-intro p { max-width: 590px; color: #b7c4e8; font-size: 1.08rem; }


    .ecosystem {
      position: relative;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }


    .ecosystem::before {
      position: absolute;
      top: 50%;
      right: 50%;
      width: 2px;
      height: 52%;
      background: rgba(155,176,255,.35);
      content: "";
      transform: translate(50%, -50%);
    }


    .ecosystem::after {
      position: absolute;
      top: 50%;
      left: 12%;
      width: 76%;
      height: 2px;
      background: rgba(155,176,255,.35);
      content: "";
      transform: translateY(-50%);
    }


    .company-card {
      position: relative;
      z-index: 1;
      min-height: 188px;
      padding: 26px;
      border: 1px solid rgba(155,176,255,.24);
      background: rgba(255,255,255,.06);
      border-radius: 22px;
      backdrop-filter: blur(10px);
      transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
    }


    .company-card:hover {
      border-color: rgba(155,176,255,.55);
      background: rgba(255,255,255,.10);
      transform: translateY(-5px);
    }


    .company-card strong { display: block; margin-bottom: 11px; font-size: 1.25rem; letter-spacing: -.03em; }

    .company-card p { margin-bottom: 18px; color: #b8c4e8; font-size: .88rem; }

    .company-card a { color: #fff; font-size: .85rem; font-weight: 740; }

    .company-card--active { border-color: rgba(243,145,49,.58); background: linear-gradient(145deg, rgba(243,145,49,.15), rgba(255,255,255,.07)); }


    /* Insights */
    .insights-grid {
      display: grid;
      grid-template-columns: 1.4fr .8fr .8fr;
      gap: 18px;
    }


    .insight-card {
      display: flex;
      min-height: 390px;
      padding: 28px;
      flex-direction: column;
      justify-content: space-between;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 24px;
      transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
    }


    .insight-card:hover {
      border-color: var(--blue-300);
      transform: translateY(-7px);
      box-shadow: var(--shadow-lg);
    }


    .insight-card--feature {
      color: #fff;
      background:
        radial-gradient(circle at 85% 15%, rgba(155,176,255,.35), transparent 26%),
        linear-gradient(150deg, var(--blue-700), var(--blue-950));
      border-color: transparent;
    }


    .insight-meta { color: var(--blue-600); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

    .insight-card--feature .insight-meta { color: var(--blue-200); }

    .insight-card h3 { margin: 26px 0 18px; font-size: clamp(1.45rem, 2.5vw, 2.55rem); }

    .insight-card p { color: var(--muted); font-size: .93rem; }

    .insight-card--feature p { color: #c8d2f2; }

    .insight-card--feature .text-link { color: #fff; }


    /* Partners */
    .partner-row {
      display: grid;
      grid-template-columns: .9fr 2.1fr;
      gap: 40px;
      align-items: center;
    }


    .partner-row h2 { margin-bottom: 0; font-size: clamp(1.7rem, 2.8vw, 3rem); }

    .logo-cloud { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

    .logo-pill {
      min-width: 116px;
      padding: 16px 20px;
      color: #4b5574;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 14px;
      font-size: .82rem;
      font-weight: 820;
      letter-spacing: .06em;
      text-align: center;
    }


    /* Contact */
    .contact-shell {
      display: grid;
      padding: clamp(34px, 6vw, 72px);
      grid-template-columns: .9fr 1.1fr;
      gap: 70px;
      color: #fff;
      background:
        radial-gradient(circle at 8% 12%, rgba(155,176,255,.31), transparent 27%),
        linear-gradient(145deg, var(--blue-900), var(--blue-950));
      border-radius: 36px;
      overflow: hidden;
    }


    .contact-shell h2 { margin-bottom: 22px; }

    .contact-shell p { max-width: 470px; color: #bec9eb; font-size: 1.05rem; }

    .contact-details { display: grid; gap: 10px; margin-top: 36px; color: #fff; font-size: .93rem; }

    .contact-details a { width: fit-content; border-bottom: 1px solid rgba(255,255,255,.28); }


    .pl-contact-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }


    .field { display: grid; gap: 7px; }

    .field--wide { grid-column: 1 / -1; }

    .field label { color: #ccd5f1; font-size: .78rem; font-weight: 680; }

    .field input, .field textarea {
      width: 100%;
      border: 1px solid rgba(203,214,255,.26);
      color: #fff;
      background: rgba(255,255,255,.08);
      border-radius: 13px;
      outline: none;
      transition: border-color .2s ease, background .2s ease;
    }

    .field input { height: 52px; padding: 0 15px; }

    .field textarea { min-height: 126px; padding: 14px 15px; resize: vertical; }

    .field input:focus, .field textarea:focus { border-color: var(--blue-300); background: rgba(255,255,255,.12); }

    .pl-contact-form .button { justify-self: start; margin-top: 8px; }

    .form-note { grid-column: 1 / -1; margin: 4px 0 0; color: #9eacd6 !important; font-size: .72rem !important; }

    .form-note a { color: inherit; text-decoration: underline; }

    /* Contact Form 7. O plano-elements.css pinta todo input[type=submit] e
       todo aviso de erro; aqui o formulário volta ao visual do protótipo. */
    .field ::placeholder { color: #8f9ac0; opacity: 1; }

    .pl-contact-form .wpcf7-submit,
    .pl-contact-form .wpcf7-submit:hover,
    .pl-contact-form .wpcf7-submit:focus,
    .pl-contact-form .wpcf7-submit:active { height: auto; padding: 13px 22px; border-radius: 999px; color: var(--blue-950); background: #fff; font-size: .94rem; font-weight: 760; }

    .pl-contact-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; padding: 0; background: none; color: #f39131; font-size: .74rem; }

    .pl-contact-form .wpcf7-not-valid { animation: none; background: rgba(255,255,255,.08); border-color: #f39131; }

    .pl-contact-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 12px 15px !important; border-color: #f39131 !important; border-radius: 13px; color: #fff; font-size: .82rem; }

    .pl-contact-form .wpcf7-spinner { background-color: rgba(255,255,255,.5); }

    .pl-contact-form.sent .wpcf7-response-output { border-color: rgba(203,214,255,.4) !important; }


    /* Reveal */
    [data-reveal] {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .65s var(--ease), transform .65s var(--ease);
    }

    [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1080px) {

      .hero-grid { grid-template-columns: 1fr .82fr; }

      .capability-grid { grid-template-columns: repeat(3, 1fr); }

      .capability-card:nth-child(4), .capability-card:nth-child(5) { min-height: 300px; }

      .case-card:nth-child(1) { grid-column: span 12; }

      .case-card:nth-child(2), .case-card:nth-child(3) { grid-column: span 6; }

      .insights-grid { grid-template-columns: 1fr 1fr; }

      .insight-card--feature { grid-column: 1 / -1; }
}
@media (max-width: 860px) {

      .section { padding: 86px 0; }


      .pl-hero { padding-top: 130px; }

      .hero-grid, .challenge-wrap, .group-intro, .contact-shell { grid-template-columns: 1fr; }

      .hero-visual { min-height: 450px; }

      #systemCanvas { height: 450px; }

      .trust-bar { grid-template-columns: 1fr; }

      .trust-item, .trust-item + .trust-item { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(151,166,211,.35); }

      .section-heading { align-items: start; flex-direction: column; gap: 5px; }

      .challenge-list { display: grid; grid-template-columns: 1fr 1fr; }

      .challenge-tab { grid-template-columns: 34px 1fr; }

      .challenge-tab .tab-arrow { display: none; }

      .capability-grid { grid-template-columns: 1fr 1fr; }

      .process-shell { padding: 35px 24px; }

      .process-track { grid-template-columns: 1fr; gap: 26px; }

      .process-track::before { top: 6%; right: auto; bottom: 6%; left: 29px; width: 2px; height: auto; }

      .process-step { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; }

      .process-dot { grid-row: span 2; margin: 0; }

      .process-step h3, .process-step p { text-align: left; }

      .process-step h3 { margin: 7px 0 5px; }

      .group-intro { gap: 42px; }

      .partner-row { grid-template-columns: 1fr; }

      .logo-cloud { justify-content: flex-start; }
}
@media (max-width: 620px) {

      .section { padding: 72px 0; }

      h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }

      h2 { font-size: clamp(2rem, 11vw, 3.2rem); }

      .pl-hero { min-height: auto; padding: 116px 0 60px; }

      .hero-grid { gap: 40px; }

      .hero-visual { min-height: 390px; border-radius: 28px; }

      #systemCanvas { height: 390px; }

      .hero-actions { align-items: stretch; flex-direction: column; }

      .hero-actions .button { width: 100%; }

      .trust-bar { margin-top: 48px; }

      .challenge-list { grid-template-columns: 1fr; }

      .challenge-panel { min-height: 460px; padding: 30px 24px; border-radius: 25px; }

      .capability-grid { grid-template-columns: 1fr; }

      .capability-card { min-height: 260px; }

      .capability-index { margin-bottom: 46px; }

      .case-card:nth-child(1), .case-card:nth-child(2), .case-card:nth-child(3) { grid-column: span 12; }

      .case-card { min-height: 420px; padding: 28px; }

      .ecosystem { grid-template-columns: 1fr; }

      .ecosystem::before, .ecosystem::after { display: none; }

      .company-card { min-height: auto; }

      .insights-grid { grid-template-columns: 1fr; }

      .insight-card--feature { grid-column: auto; }

      .insight-card { min-height: 330px; }

      .logo-cloud { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }

      .logo-pill { min-width: 0; }

      .contact-shell { gap: 42px; border-radius: 26px; }

      .pl-contact-form { grid-template-columns: 1fr; }

      .field--wide, .form-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {

      [data-reveal] { opacity: 1; transform: none; }
}

  

    /* =========================================================
       REFINAMENTO VISUAL V2
       Mais informação por imagem, forma, movimento e proporção.
       ========================================================= */

    .hero-visual {
      min-height: 580px;
      background:
        radial-gradient(circle at 54% 46%, rgba(73,106,240,.20), transparent 26%),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(232,237,255,.70));
    }


    .hero-visual::after { height: 72px; }


    .flow-legend {
      position: absolute;
      z-index: 5;
      top: 24px;
      right: 28px;
      left: 28px;
      display: grid;
      grid-template-columns: 1fr .8fr 1.05fr;
      color: #7882a3;
      font-size: .64rem;
      font-weight: 820;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .flow-legend span:nth-child(2) { text-align: center; }

    .flow-legend span:nth-child(3) { text-align: right; }


    .flow-scene {
      position: absolute;
      inset: 66px 24px 70px;
    }


    .flow-wires {
      position: absolute;
      z-index: 0;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
    }


    .flow-wire {
      fill: none;
      stroke: rgba(40,72,199,.23);
      stroke-width: 1.5;
    }


    .flow-wire--active {
      stroke: var(--blue-500);
      stroke-dasharray: 9 13;
      stroke-linecap: round;
      animation: wireFlow 2.8s linear infinite;
    }


    .flow-wire--orange {
      stroke: var(--orange);
      stroke-dasharray: 1 19;
      stroke-width: 4;
      stroke-linecap: round;
      animation: wireFlow 1.9s linear infinite;
    }


    @keyframes wireFlow { to { stroke-dashoffset: -44; } }


    .input-stack {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 0;
      display: grid;
      width: 34%;
      gap: 10px;
      transform: translateY(-50%);
    }


    .input-chip {
      display: flex;
      align-items: center;
      min-height: 58px;
      padding: 11px 13px;
      gap: 11px;
      border: 1px solid rgba(155,176,255,.65);
      background: rgba(255,255,255,.88);
      border-radius: 14px;
      box-shadow: 0 10px 24px rgba(16,39,125,.08);
      color: #26325f;
      font-size: .78rem;
      font-weight: 720;
      animation: chipSettle 5.4s var(--ease) infinite;
    }


    .input-chip:nth-child(2) { margin-left: 18px; animation-delay: -.6s; }

    .input-chip:nth-child(3) { margin-left: 7px; animation-delay: -1.2s; }

    .input-chip:nth-child(4) { margin-left: 24px; animation-delay: -1.8s; }


    @keyframes chipSettle {
      0%, 100% { transform: translateX(-4px); }
      50% { transform: translateX(5px); }
    }


    .input-icon,
    .solution-icon {
      display: grid;
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      place-items: center;
      color: var(--blue-700);
      background: var(--blue-050);
      border: 1px solid var(--blue-200);
      border-radius: 10px;
    }


    .input-icon svg,
    .solution-icon svg { width: 18px; height: 18px; }


    .flow-core {
      position: absolute;
      z-index: 3;
      top: 50%;
      left: 51%;
      display: grid;
      width: 132px;
      height: 132px;
      place-items: center;
      color: #fff;
      background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
      border: 9px solid rgba(255,255,255,.86);
      border-radius: 50%;
      box-shadow: 0 20px 55px rgba(21,45,162,.28), 0 0 0 1px var(--blue-200);
      transform: translate(-50%, -50%);
    }


    .flow-core::before,
    .flow-core::after {
      position: absolute;
      border: 1px dashed rgba(73,106,240,.35);
      border-radius: 50%;
      content: "";
      animation: coreSpin 18s linear infinite;
    }

    .flow-core::before { inset: -27px; }

    .flow-core::after { inset: -51px; animation-direction: reverse; animation-duration: 25s; }

    @keyframes coreSpin { to { transform: rotate(1turn); } }


    .core-mark { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; transform: rotate(45deg); }

    .core-mark i { width: 13px; height: 13px; background: #fff; border-radius: 3px; }

    .core-mark i:last-child { background: var(--orange); }

    .core-label { position: absolute; top: calc(100% + 17px); color: var(--blue-950); font-size: .69rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }


    .output-board {
      position: absolute;
      z-index: 2;
      top: 50%;
      right: 0;
      width: 34%;
      padding: 15px;
      border: 1px solid rgba(155,176,255,.72);
      background: rgba(255,255,255,.94);
      border-radius: 18px;
      box-shadow: 0 18px 45px rgba(16,39,125,.13);
      transform: translateY(-50%);
    }


    .output-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

    .output-title { color: var(--blue-950); font-size: .7rem; font-weight: 820; }

    .output-dots { display: flex; gap: 4px; }

    .output-dots i { width: 5px; height: 5px; background: var(--blue-200); border-radius: 50%; }

    .output-dots i:last-child { background: var(--orange); }


    .output-row { display: grid; align-items: center; padding: 12px 0 5px; grid-template-columns: 42px 1fr; gap: 9px; }

    .output-row strong { grid-row: span 2; color: var(--blue-700); font-size: 1rem; }

    .output-row span { color: #4f5b7f; font-size: .66rem; font-weight: 700; }

    .output-bar { height: 6px; background: var(--blue-100); border-radius: 99px; overflow: hidden; }

    .output-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); border-radius: inherit; transform-origin: left; animation: barGrow 3.8s var(--ease) infinite; }

    .output-row:nth-child(3) .output-bar i { animation-delay: -.8s; }

    .output-row:nth-child(4) .output-bar i { background: linear-gradient(90deg, var(--orange), #ffc16e); animation-delay: -1.5s; }

    @keyframes barGrow { 0%, 15% { transform: scaleX(.18); } 65%, 100% { transform: scaleX(1); } }


    .visual-label { right: 24px; left: auto; }


    .proof-ribbon {
      display: grid;
      margin-top: 64px;
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid rgba(155,176,255,.40);
      background: rgba(255,255,255,.62);
      border-radius: 20px;
      backdrop-filter: blur(10px);
      overflow: hidden;
    }


    .proof-item { display: flex; align-items: center; min-height: 92px; padding: 20px 24px; gap: 14px; color: #58627f; font-size: .82rem; }

    .proof-item + .proof-item { border-left: 1px solid var(--line); }

    .proof-item strong { display: block; color: var(--blue-950); font-size: 1rem; }

    .proof-number { color: var(--blue-700); font-size: 1.7rem; font-weight: 760; letter-spacing: -.06em; }


    .client-strip { margin-top: 32px; text-align: center; }

    .client-strip > span { color: #858da7; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

    .client-logos { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 30px; }

    .client-logos img { width: auto; max-width: 108px; height: 38px; object-fit: contain; filter: grayscale(1); opacity: .48; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }

    .client-logos img:hover { filter: none; opacity: 1; transform: translateY(-3px); }


    .challenge-tab { grid-template-columns: 42px 42px 1fr 22px; }

    .challenge-tab .solution-icon { width: 36px; height: 36px; }


    .panel-map {
      position: absolute;
      top: 34px;
      right: 36px;
      width: 150px;
      height: 112px;
      opacity: .9;
    }

    .panel-map svg { width: 100%; height: 100%; overflow: visible; }


    .capability-grid { grid-template-columns: repeat(6, 1fr); }

    .capability-card { min-height: 390px; }

    .capability-card:nth-child(1), .capability-card:nth-child(2) { grid-column: span 3; }

    .capability-card:nth-child(3), .capability-card:nth-child(4), .capability-card:nth-child(5) { grid-column: span 2; min-height: 345px; }

    .capability-index { margin-bottom: 18px; }

    .capability-card h3 { min-height: auto; }

    .capability-visual { position: relative; height: 128px; margin-bottom: 25px; border: 1px solid var(--blue-100); background: linear-gradient(145deg, #f8faff, #eef2ff); border-radius: 16px; overflow: hidden; }

    .capability-visual svg { width: 100%; height: 100%; }

    .capability-visual .line { fill: none; stroke: var(--blue-300); stroke-width: 2; }

    .capability-visual .line-strong { fill: none; stroke: var(--blue-600); stroke-width: 3; }

    .capability-visual .fill { fill: rgba(73,106,240,.13); stroke: var(--blue-500); stroke-width: 2; }

    .capability-visual .accent { fill: var(--orange); }

    .capability-visual .blue { fill: var(--blue-600); }

    .capability-visual .pale { fill: var(--blue-200); }


    .case-logo {
      display: grid;
      width: 78px;
      height: 48px;
      padding: 9px;
      place-items: center;
      background: #fff;   /* opaco: logos com fundo branco embutido (BRF, Equatorial) nao deixam retangulo */
      border-radius: 12px;
    }

    .case-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }


    .case-viz { display: grid; margin: 25px 0 16px; grid-template-columns: repeat(5, 1fr); gap: 5px; align-items: end; height: 48px; }

    .case-viz i { display: block; height: var(--h); background: rgba(255,255,255,.17); border-radius: 5px 5px 2px 2px; }

    .case-viz i:nth-child(4), .case-viz i:nth-child(5) { background: var(--orange); }


    .company-card { min-height: 220px; }

    .company-logo { display: flex; align-items: center; height: 54px; margin-bottom: 18px; }

    .company-logo img { max-width: 172px; max-height: 48px; object-fit: contain; }

    .company-logo--plano { gap: 10px; color: #fff; font-size: 1.38rem; font-weight: 820; letter-spacing: -.05em; }

    .company-logo--s2 { color: #fff; font-size: 1.7rem; font-weight: 850; letter-spacing: -.06em; }

    .company-card--metalink { border-color: rgba(243,145,49,.68); background: linear-gradient(145deg, rgba(243,145,49,.17), rgba(255,255,255,.06)); }

    .company-card--metalink .company-logo img { filter: none; }


    .insight-card { padding: 0; overflow: hidden; }

    .insight-media { position: relative; height: 190px; overflow: hidden; background: var(--blue-100); }

    .insight-card--feature .insight-media { height: 250px; }

    .insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }

    .insight-card:hover .insight-media img { transform: scale(1.045); }

    .insight-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,18,58,.18)); content: ""; }

    .insight-body { display: flex; min-height: 250px; padding: 26px; flex-direction: column; justify-content: space-between; }

    .insight-card--feature { color: var(--ink); background: #fff; border-color: var(--line); }

    .insight-card--feature .insight-meta { color: var(--blue-600); }

    .insight-card--feature p { color: var(--muted); }

    .insight-card--feature .text-link { color: var(--blue-700); }


    .logo-cloud { align-items: center; }

    .logo-pill { display: grid; width: 132px; height: 78px; padding: 16px; place-items: center; }

    .logo-pill img { max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }

    .logo-pill:hover img { filter: none; opacity: 1; }
@media (max-width: 1080px) {

      .capability-grid { grid-template-columns: repeat(2, 1fr); }

      .capability-card:nth-child(n) { grid-column: span 1; min-height: 350px; }

      .client-logos { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 860px) {

      .hero-visual { min-height: 520px; }

      .flow-scene { inset: 64px 18px 76px; }

      .flow-core { width: 112px; height: 112px; }

      .input-chip { min-height: 52px; padding: 8px; font-size: .68rem; }

      .input-icon { width: 29px; height: 29px; }

      .output-board { width: 35%; }

      .proof-ribbon { grid-template-columns: 1fr; }

      .proof-item + .proof-item { border-top: 1px solid var(--line); border-left: 0; }

      .challenge-tab { grid-template-columns: 34px 38px 1fr; }

      .panel-map { width: 125px; opacity: .5; }
}
@media (max-width: 620px) {

      .hero-visual { min-height: 610px; }

      .flow-legend { grid-template-columns: 1fr 1fr; }

      .flow-legend span:nth-child(2) { display: none; }

      .flow-scene { inset: 66px 18px 75px; }

      .input-stack { top: 11%; width: 100%; grid-template-columns: 1fr 1fr; transform: none; }

      .input-chip:nth-child(n) { margin-left: 0; }

      .flow-core { top: 53%; left: 50%; }

      .output-board { top: auto; right: 6%; bottom: 0; left: 6%; width: auto; transform: none; }

      .flow-wires { transform: rotate(90deg) scale(.92); }

      .visual-label { right: 14px; bottom: 18px; left: 14px; justify-content: center; }

      .proof-ribbon { margin-top: 38px; }

      .client-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

      .client-logos img { max-width: 82px; height: 31px; margin: auto; }

      .panel-map { display: none; }

      .capability-grid { grid-template-columns: 1fr; }

      .capability-card:nth-child(n) { min-height: 340px; }

      .insight-card--feature .insight-media, .insight-media { height: 190px; }

      .logo-pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {

      .flow-wire--active, .flow-wire--orange, .input-chip, .flow-core::before, .flow-core::after, .output-bar i { animation: none !important; }
}

  

    /* =========================================================
       AJUSTES FINAIS V3
       ========================================================= */

    .pl-hero h1 {
      max-width: 720px;
      font-size: clamp(2.75rem, 5.2vw, 5.35rem);
      letter-spacing: -.052em;
    }


    .output-bar i {
      animation: none !important;
      transform: none !important;
    }


    .proof-number {
      display: flex;
      flex-direction: column;
      min-width: 76px;
      line-height: .9;
    }


    .proof-number small {
      margin-bottom: 7px;
      color: var(--orange);
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: .15em;
    }


    /* Vídeo institucional */
    .institutional-grid {
      display: grid;
      align-items: center;
      grid-template-columns: .72fr 1.28fr;
      gap: 58px;
    }


    .institutional-copy h2 { max-width: 520px; }

    .institutional-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 1.06rem; }


    .video-shell {
      position: relative;
      padding: 9px;
      background: linear-gradient(145deg, var(--blue-200), #fff 47%, var(--orange));
      border-radius: 28px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }


    .video-shell video {
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #020611;
      border-radius: 21px;
      object-fit: cover;
    }


    .video-caption {
      position: absolute;
      right: 27px;
      bottom: 27px;
      padding: 8px 12px;
      color: #fff;
      background: rgba(7,18,58,.78);
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 999px;
      font-size: .7rem;
      font-weight: 750;
      backdrop-filter: blur(8px);
      pointer-events: none;
    }


    /* Linha metodológica: uma única execução ao entrar na tela */
    .process-track { isolation: isolate; }


    .process-progress {
      position: absolute;
      z-index: -1;
      top: 29px;
      left: 10%;
      width: 80%;
      height: 3px;
      background: linear-gradient(90deg, var(--blue-500), var(--orange));
      border-radius: 999px;
      transform: scaleX(0);
      transform-origin: left;
    }


    .process-dot {
      color: #8090c2;
      background: #17265b;
      box-shadow: 0 0 0 1px rgba(155,176,255,.34);
    }


    .process-track.run-once .process-progress { animation: methodLine 2.2s var(--ease) forwards; }

    .process-track.run-once .process-step:nth-child(2) .process-dot { animation: methodDot .32s ease .05s forwards; }

    .process-track.run-once .process-step:nth-child(3) .process-dot { animation: methodDot .32s ease .48s forwards; }

    .process-track.run-once .process-step:nth-child(4) .process-dot { animation: methodDot .32s ease .91s forwards; }

    .process-track.run-once .process-step:nth-child(5) .process-dot { animation: methodDot .32s ease 1.34s forwards; }

    .process-track.run-once .process-step:nth-child(6) .process-dot { animation: methodDotFinal .38s ease 1.78s forwards; }


    @keyframes methodLine { to { transform: scaleX(1); } }

    @keyframes methodDot {
      to { color: #fff; background: var(--blue-600); box-shadow: 0 0 0 1px rgba(155,176,255,.58), 0 0 26px rgba(73,106,240,.45); }
    }

    @keyframes methodDotFinal {
      to { color: #fff; background: var(--orange); box-shadow: 0 0 0 1px rgba(255,193,110,.72), 0 0 28px rgba(243,145,49,.48); }
    }


    .process-track.is-complete .process-progress { transform: scaleX(1); }

    .process-track.is-complete .process-dot { color: #fff; background: var(--blue-600); }

    .process-track.is-complete .process-step:last-child .process-dot { background: var(--orange); }


    /* Cases: iguais no repouso; expansão sob demanda */
    .case-grid { align-items: stretch; }


    .case-card,
    .case-card:nth-child(1),
    .case-card:nth-child(2),
    .case-card:nth-child(3) {
      grid-column: span 4;
      min-height: 440px;
      width: 100%;
      border: 0;
      cursor: pointer;
      font: inherit;
      text-align: left;
      transition: grid-column .45s var(--ease), min-height .45s var(--ease), transform .3s var(--ease), box-shadow .3s ease;
    }


    .case-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

    .case-card:focus-visible { outline-color: var(--orange); }


    .case-grid.has-active .case-card.is-active {
      grid-column: span 12;
      min-height: 470px;
      cursor: default;
      transform: none;
    }


    .case-grid.has-active .case-card:not(.is-active) {
      grid-column: span 6;
      min-height: 330px;
    }


    .case-body { display: grid; gap: 18px; }

    .case-hook { margin: 0; color: #fff; font-size: clamp(1.7rem, 2.7vw, 2.75rem); line-height: 1.04; letter-spacing: -.045em; }

    .case-teaser { margin-bottom: 0; }

    .case-expand-label { display: inline-flex; align-items: center; margin-top: 8px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }

    .case-expand-label::after { margin-left: 9px; content: "+"; color: var(--orange); font-size: 1.25rem; }

    .case-card.is-active .case-expand-label::after { content: "−"; }


    .case-details {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transform: translateY(12px);
      transition: max-height .45s var(--ease), opacity .32s ease, transform .4s var(--ease);
    }


    .case-card.is-active .case-body { grid-template-columns: .9fr 1.1fr; align-items: end; gap: 64px; }

    .case-card.is-active .case-details { max-height: 420px; opacity: 1; transform: translateY(0); }

    .case-card.is-active .case-viz { height: 76px; }


    /* Grupo Plano */
    .group-intro { grid-template-columns: 1fr; gap: 58px; }

    .group-intro > div:first-child { display: grid; align-items: end; grid-template-columns: .72fr 1.28fr; column-gap: 70px; }

    .group-intro > div:first-child .group-brand,
    .group-intro > div:first-child .eyebrow { grid-column: 1; }

    .group-intro > div:first-child h2 { grid-column: 1; }

    .group-intro > div:first-child > p:not(.eyebrow),
    .group-intro > div:first-child > .button { grid-column: 2; }

    .group-intro > div:first-child > p:not(.eyebrow) { grid-row: 2 / span 2; align-self: center; }

    .group-intro > div:first-child > .button { grid-row: 4; justify-self: start; }


    .group-brand {
      display: inline-flex;
      max-width: 290px;
      margin-bottom: 34px;
      padding: 17px 20px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 16px 42px rgba(0,0,0,.18);
    }

    .group-brand img { width: 100%; height: auto; }


    .ecosystem { grid-template-columns: repeat(3, 1fr); }

    .ecosystem::before, .ecosystem::after { display: none; }

    .company-card { min-height: 236px; }


    .company-logo--neobiz img { max-width: 150px; }

    .company-logo--cayowaa img { max-width: 190px; }

    .company-logo--plano-img img.logo-local { max-width: 165px; }


    /* Plano Insights: três cards equivalentes */
    .insights-grid { grid-template-columns: repeat(3, 1fr); }

    .insight-card,
    .insight-card--feature {
      grid-column: auto;
      min-height: 510px;
      color: var(--ink);
      background: #fff;
      border-color: var(--line);
    }

    .insight-card .insight-media,
    .insight-card--feature .insight-media { height: 205px; }

    .insight-card .insight-body,
    .insight-card--feature .insight-body { min-height: 305px; }

    .insight-card .text-link,
    .insight-card--feature .text-link { color: var(--blue-700); }


    /* Parceiros com relação explicada */
    .partner-row { align-items: start; }

    .partner-row > div:first-child { position: sticky; top: 112px; }

    .partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .partner-card {
      min-height: 215px;
      padding: 24px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 20px;
      transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
    }

    .partner-card:hover { border-color: var(--blue-300); transform: translateY(-5px); box-shadow: var(--shadow-sm); }

    .partner-card img { width: auto; max-width: 128px; height: 42px; margin-bottom: 22px; object-fit: contain; filter: grayscale(1); opacity: .78; }

    .partner-card:hover img { filter: none; opacity: 1; }

    .partner-card h3 { margin-bottom: 9px; font-size: 1.02rem; letter-spacing: -.025em; }

    .partner-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }


    /* V4 — marcas sempre visíveis e esteira contínua */
    .client-strip {
      width: 100vw;
      margin-top: 42px;
      margin-left: calc(50% - 50vw);
      overflow: hidden;
    }


    .client-strip > span {
      display: block;
      margin-bottom: 22px;
      color: #65708f;
      font-size: .72rem;
    }


    .client-marquee {
      position: relative;
      width: 100%;
      padding: 8px 0 14px;
      overflow: hidden;
    }


    .client-marquee::before,
    .client-marquee::after {
      position: absolute;
      z-index: 2;
      top: 0;
      bottom: 0;
      width: clamp(28px, 7vw, 120px);
      content: "";
      pointer-events: none;
    }


    .client-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }

    .client-marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }


    .client-track {
      display: flex;
      width: max-content;
      will-change: transform;
      animation: clientBelt 38s linear infinite;
    }


    .client-set {
      display: flex;
      flex: none;
      align-items: center;
      gap: 22px;
      padding-right: 22px;
    }


    .client-logo-card {
      display: grid;
      flex: none;
      place-items: center;
      width: 178px;
      height: 100px;
      padding: 19px 22px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(18,47,123,.1);
      border-radius: 18px;
      box-shadow: 0 10px 28px rgba(30,55,120,.08);
    }


    .client-logo-card img {
      width: 100%;
      height: 60px;
      object-fit: contain;
      filter: none;
      opacity: 1;
    }


    .client-marquee:hover .client-track { animation-play-state: paused; }

    @keyframes clientBelt { to { transform: translateX(-50%); } }


    /* Vídeo: referência visual robusta para a implementação final */
    .video-placeholder { min-height: 0; aspect-ratio: 16 / 9; }

    .video-placeholder > img {
      width: 100%;
      height: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      border-radius: 21px;
    }


    .video-placeholder::after {
      position: absolute;
      inset: 9px;
      background: linear-gradient(0deg, rgba(4,14,48,.74), rgba(4,14,48,.05) 62%);
      border-radius: 21px;
      content: "";
      pointer-events: none;
    }


    .video-play {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      display: grid;
      width: 72px;
      height: 72px;
      place-items: center;
      color: #fff;
      background: var(--orange);
      border: 6px solid rgba(255,255,255,.28);
      border-radius: 50%;
      box-shadow: 0 16px 40px rgba(5,15,45,.28);
      transform: translate(-50%, -50%);
    }


    .video-play svg { width: 25px; height: 25px; fill: currentColor; transform: translateX(2px); }

    .video-placeholder-copy {
      position: absolute;
      z-index: 2;
      right: 30px;
      bottom: 28px;
      left: 30px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      color: #fff;
    }

    .video-placeholder-copy strong { font-size: 1rem; }

    .video-placeholder-copy small { color: rgba(255,255,255,.74); font-size: .72rem; }


    /* Logos do ecossistema e parceiros com presença adequada */
    .company-logo { height: 72px; margin-bottom: 20px; }

    .company-logo img { max-width: 220px; max-height: 66px; }

    .company-logo--neobiz img { max-width: 190px; }

    .company-logo--cayowaa img { max-width: 228px; }

    .company-logo--plano-img img.logo-local { max-width: 200px; }

    .partner-card img { max-width: 168px; height: 56px; margin-bottom: 20px; filter: none; opacity: 1; }
@media (max-width: 1080px) {

      .case-card,
      .case-card:nth-child(n) { grid-column: span 6; }

      .case-card:last-child { grid-column: 4 / span 6; }

      .ecosystem { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {

      .institutional-grid { grid-template-columns: 1fr; }

      .case-card,
      .case-card:nth-child(n),
      .case-grid.has-active .case-card:not(.is-active) { grid-column: span 12; }

      .case-card:last-child { grid-column: span 12; }

      .case-card.is-active .case-body { grid-template-columns: 1fr; gap: 24px; }

      .insights-grid { grid-template-columns: 1fr; }

      .insight-card, .insight-card--feature { min-height: auto; }

      .partner-row { grid-template-columns: 1fr; }

      .partner-row > div:first-child { position: static; }

      .group-intro > div:first-child { display: block; }
}
@media (max-width: 620px) {

      .pl-hero h1 { font-size: clamp(2.55rem, 12.6vw, 3.8rem); }

      .proof-number { min-width: 66px; }

      .process-progress { top: 30px; bottom: 30px; left: 29px; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }

      .process-track.run-once .process-progress { animation-name: methodLineMobile; }

      @keyframes methodLineMobile { to { transform: scaleY(1); } }

      .ecosystem { grid-template-columns: 1fr; }

      .partner-grid { grid-template-columns: 1fr; }

      .client-logo-card { width: 150px; height: 86px; padding: 15px 18px; }

      .client-logo-card img { height: 52px; }

      .video-placeholder-copy { right: 22px; bottom: 21px; left: 22px; }

      .video-placeholder-copy small { display: none; }

      .video-play { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {

      .process-track.run-once .process-progress,
      .process-track.run-once .process-dot { animation: none !important; }

      .client-track { animation: none; }

      .client-marquee { overflow-x: auto; scrollbar-width: thin; }
}
/* Vídeo institucional em <dialog> nativo — sem biblioteca de modal. */
/* O plano-elements.css dá a todo <button> altura de 3rem e fundo azul no
   hover; aqui a capa volta à moldura do protótipo. */
button.video-shell,
button.video-shell:hover,
button.video-shell:focus,
button.video-shell:active {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: linear-gradient(145deg, var(--blue-200), #fff 47%, var(--orange));
  cursor: pointer;
}

.video-modal {
  /* O <dialog> se centraliza com margin:auto, mas o reset universal do tema
     antigo (* { margin: 0 }) zera isso e o modal gruda no canto. */
  margin: auto;
  width: min(960px, 92vw);
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: #000;
  overflow: visible;
}

.video-modal::backdrop { background: rgba(7, 18, 58, .82); }

.video-modal-frame { aspect-ratio: 16 / 9; }

.video-modal-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.video-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* O <dialog> foca o botão de fechar ao abrir, e o tema antigo pinta
   button:focus com var(--red-darker): o "×" escuro sumia no fundo escuro. */
.video-modal-close:hover,
.video-modal-close:focus,
.video-modal-close:active {
  background: var(--surface);
  color: var(--ink);
}
