    /* =========================================================
       REST CSS — below-the-fold, carregado de forma diferida.
       Inclui: pilares, clientes, soluções, métricas, parceiros,
       formulário/contato, animações .reveal, e media queries
       para esses elementos. Os tokens :root vêm de critical.css
       via cascata.
       ========================================================= */

    /* =========================================================
       5. SEÇÃO PILARES (Missão / Propósito / Negócio) — fundo claro
       ========================================================= */
    .pilares {
      background: var(--offwhite);
      padding: 100px 0 0;
      position: relative;
    }
    .section-head {
      text-align: center;
      max-width: 720px;
      margin: 0 auto 64px;
    }
    .section-h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--fs-h2);
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--azul-profundo);
      margin-bottom: 20px;
    }

    /* Palavra destacada no H2 (estilo GreenMarket "Together") */
    .h2-highlight {
      position: relative;
      display: inline-block;
    }
    .h2-highlight::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 100%;
      height: 6px;
      background: var(--coral);
      opacity: 0.4;
      z-index: -1;
    }

    .section-sub {
      font-size: 15px;
      line-height: 1.6;
      color: var(--texto-sec-escuro);
    }

    .pilares-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .pilar-card {
      background: white;
      border: 1px solid var(--cinza-suave);
      border-radius: 16px;
      padding: 40px 32px;
      transition: all 0.4s var(--ease-out-expo);
      position: relative;
      overflow: hidden;
    }
    .pilar-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--coral);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s var(--ease-out-expo);
    }
    .pilar-card:hover {
      transform: translateY(-8px);
      border-color: var(--azul-claro);
      box-shadow: var(--shadow-lg);
    }
    .pilar-card:hover::before { transform: scaleX(1); }

    .pilar-icon {
      width: 56px;
      height: 56px;
      background: rgba(242, 107, 74, 0.1);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--coral);
      margin-bottom: 24px;
    }
    .pilar-h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 19px;
      color: var(--azul-profundo);
      margin-bottom: 12px;
    }
    .pilar-text {
      font-size: 14px;
      line-height: 1.7;
      color: var(--texto-sec-escuro);
    }

    .pilar-decoration {
      width: 80px;
      height: 4px;
      background: var(--coral);
      margin: 64px auto 0;
      border-radius: 2px;
    }

    /* =========================================================
       5b. SEÇÃO CLIENTES
       ========================================================= */
    .clientes {
      background: var(--offwhite);
      padding: 32px 0 72px;
      overflow: hidden;
    }

    .clientes .section-head { margin-bottom: 52px; }

    .marquee-outer {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }

    .marquee-inner {
      display: flex;
      width: max-content;
      animation: marquee-scroll 40s linear infinite;
    }

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

    .marquee-track {
      display: flex;
      align-items: center;
      gap: 72px;
      padding: 0 36px;
      flex-shrink: 0;
    }

    @keyframes marquee-scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .cliente-logo {
      height: 52px;
      width: auto;
      max-width: 180px;
      object-fit: contain;
      filter: grayscale(1) opacity(0.55);
      transition: filter 0.3s ease, transform 0.3s ease;
      display: block;
      flex-shrink: 0;
    }
    .cliente-logo:hover {
      filter: grayscale(0) opacity(1);
      transform: scale(1.06);
    }

    .cliente-logo--invert {
      filter: brightness(0) opacity(0.55);
    }
    .cliente-logo--invert:hover {
      filter: brightness(0) opacity(0.85);
      transform: scale(1.06);
    }

    @media (max-width: 640px) {
      .clientes { padding: 24px 0 56px; }
      .cliente-logo { height: 40px; }
      .marquee-track { gap: 48px; }
    }

    /* =========================================================
       6. SEÇÃO SOLUÇÕES — fundo escuro, cards numerados
       ========================================================= */
    .solucoes {
      background: var(--azul-profundo);
      padding: 100px 0;
      position: relative;
      overflow: hidden;
    }
    .solucoes::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 80px 80px;
      -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
      mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
      pointer-events: none;
    }
    .solucoes .section-h2 { color: white; }
    .solucoes .section-sub { color: var(--texto-sec-claro); }

    .solucoes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      position: relative;
    }

    .sol-card {
      background: rgba(255, 255, 255, 0.04);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 32px;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.4s var(--ease-out-expo);
      position: relative;
      overflow: hidden;
    }
    .sol-card:hover {
      background: rgba(255, 255, 255, 0.07);
      border-color: var(--coral);
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .sol-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .sol-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(242, 107, 74, 0.12);
      color: var(--coral);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .sol-num { display: none; }
    .sol-h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 18px;
      color: white;
      margin-bottom: 10px;
    }
    .sol-text {
      font-size: 14px;
      line-height: 1.6;
      color: var(--texto-sec-claro);
      margin-bottom: 24px;
    }
    .sol-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--texto-sec-claro);
      font-size: 14px;
      font-weight: 600;
      transition: gap 0.3s;
    }
    .sol-card:hover .sol-link { gap: 12px; }

    /* Card destacado (IA) — ocupa coluna dupla, com fundo coral */
    .sol-card.featured {
      grid-column: span 3;
      background: linear-gradient(135deg, #0097b2 0%, #082764 100%);
      border-color: var(--coral);
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 40px 48px;
      min-height: auto;
      gap: 32px;
    }
    .sol-card.featured:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 60px var(--coral-glow);
    }
    .sol-card.featured .sol-top { margin-bottom: 0; flex-direction: column; gap: 12px; align-items: center; }
    .sol-card.featured .sol-icon {
      background: rgba(255, 255, 255, 0.15);
      color: white;
      width: 56px;
      height: 56px;
    }
    .sol-card.featured .sol-num { color: rgba(255, 255, 255, 0.3); }
    .sol-featured-content { flex: 1; max-width: 600px; }
    .sol-card.featured .sol-h3 { font-size: 24px; margin-bottom: 8px; }
    .sol-card.featured .sol-text { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; font-size: 14px; }
    .sol-zyria-link {
      color: #fff;
      font-weight: 700;
      text-decoration: none;
      border-bottom: 1px solid rgba(0, 151, 178, 0.4);
      transition: border-color 0.2s ease;
    }
    .sol-zyria-link:hover { border-bottom-color: var(--coral); }
    .sol-card.featured .sol-link {
      color: white;
      font-size: 15px;
      padding: 14px 28px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      flex-shrink: 0;
    }
    .sol-card.featured .sol-link:hover { background: rgba(255, 255, 255, 0.25); }

    /* Layout em 3 pilares (Infraestrutura, Segurança, Inteligência) */
    .solucoes-pilares {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      position: relative;
    }
    .sol-pilar {
      background: rgba(255, 255, 255, 0.04);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 32px 22px;
      display: flex;
      flex-direction: column;
      transition: border-color 0.35s ease, background 0.35s ease;
    }
    .sol-pilar:hover {
      border-color: rgba(0, 151, 178, 0.3);
      background: rgba(255, 255, 255, 0.06);
    }
    .sol-pilar-head {
      padding: 0 6px 22px;
      margin-bottom: 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .sol-pilar-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(0, 151, 178, 0.12);
      color: var(--coral);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }
    .sol-pilar-name {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 18px;
      color: white;
      margin: 0 0 8px;
      letter-spacing: -0.01em;
      line-height: 1.25;
    }
    .sol-pilar-desc {
      font-size: 13px;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.6);
      margin: 0;
    }
    .sol-pilar-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex: 1;
      margin: 0;
      padding: 0;
    }
    .sol-pilar-list li { margin: 0; }
    .sol-pilar-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 10px;
      border-radius: 12px;
      text-decoration: none;
      transition: background 0.25s ease;
    }
    .sol-pilar-item:hover { background: rgba(255, 255, 255, 0.05); }
    .sol-pilar-item-icon {
      width: 34px;
      height: 34px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.25s ease, color 0.25s ease;
    }
    .sol-pilar-item:hover .sol-pilar-item-icon {
      background: rgba(0, 151, 178, 0.15);
      color: var(--coral);
    }
    .sol-pilar-item-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex: 1;
      min-width: 0;
    }
    .sol-pilar-item-name {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 14px;
      color: white;
      line-height: 1.3;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }
    .sol-pilar-item-tag {
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--texto-sec-claro);
      background: rgba(0, 151, 178, 0.12);
      padding: 2px 7px;
      border-radius: 4px;
      line-height: 1.4;
    }
    .sol-pilar-item-desc {
      font-size: 12px;
      line-height: 1.4;
      color: rgba(255, 255, 255, 0.5);
    }
    .sol-pilar-item-arrow {
      color: rgba(255, 255, 255, 0.35);
      flex-shrink: 0;
      transition: color 0.25s ease, transform 0.25s ease;
    }
    .sol-pilar-item:hover .sol-pilar-item-arrow {
      color: var(--coral);
      transform: translateX(3px);
    }

    /* =========================================================
       7. SEÇÃO MÉTRICAS — fundo claro, contadores animados
       ========================================================= */
    .metricas {
      background: var(--offwhite);
      padding: 80px 0 32px;
    }
    .metricas-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      position: relative;
    }
    .metrica {
      text-align: center;
      padding: 0 20px;
      position: relative;
    }
    .metrica:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 80px;
      background: var(--cinza-suave);
    }
    .metrica-value {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(28px, 3.4vw, 42px);
      line-height: 1;
      color: var(--azul-profundo);
      letter-spacing: -0.03em;
      margin-bottom: 12px;
    }
    .metrica-bar {
      width: 36px;
      height: 3px;
      background: var(--coral);
      margin: 0 auto 16px;
      border-radius: 2px;
    }
    .metrica-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--texto-sec-escuro);
    }

    /* =========================================================
       8. SEÇÃO PARCEIROS — azul médio
       ========================================================= */
    .parceiros {
      background: var(--azul-medio);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }
    .parceiros::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }
    .parceiros .section-head { margin-bottom: 48px; }
    .parceiros .section-h2 {
      color: white;
    }
    .parceiros .section-sub { color: rgba(255, 255, 255, 0.78); }

    .parceiros-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      max-width: 960px;
      margin: 0 auto;
    }
    .parceiro {
      flex: 0 1 calc(25% - 6px);
      min-width: 180px;
      background: var(--azul-medio);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 28px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 15px;
      color: rgba(255, 255, 255, 0.55);
      letter-spacing: -0.01em;
      text-align: center;
      transition: all 0.3s var(--ease-out-expo, ease);
      cursor: pointer;
    }
    .parceiro:hover {
      color: white;
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.16);
      transform: translateY(-2px);
    }

    .badges-cert {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 40px;
      flex-wrap: wrap;
    }
    .cert-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 100px;
      font-size: 13px;
      font-weight: 500;
      color: white;
    }
    .cert-badge svg { color: var(--coral); }

    /* =========================================================
       9. FORMULÁRIO DE LEADS — fundo claro com card escuro destacado
       ========================================================= */
    .contato {
      background: var(--offwhite);
      padding: 100px 0;
      position: relative;
      overflow: hidden;
    }
    .contato::before {
      content: "";
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
      opacity: 0.06;
      top: -200px;
      right: -200px;
      border-radius: 50%;
      pointer-events: none;
    }

    .contato-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 64px;
      align-items: start;
      position: relative;
    }

    .contato-info .eyebrow { color: var(--coral-text); }
    .contato-h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--fs-h2);
      line-height: 1.15;
      color: var(--azul-profundo);
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }
    .contato-text {
      font-size: 15px;
      line-height: 1.7;
      color: var(--texto-sec-escuro);
      margin-bottom: 32px;
    }

    .beneficios-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 40px;
    }
    .beneficio {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 15px;
      color: var(--azul-profundo);
      font-weight: 500;
    }
    .check-icon {
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      background: rgba(242, 107, 74, 0.12);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--coral);
      margin-top: 1px;
    }

    .testemunho {
      background: white;
      border: 1px solid var(--cinza-suave);
      border-radius: 16px;
      padding: 24px;
      box-shadow: var(--shadow-md);
    }
    .testemunho-quote {
      font-size: 14px;
      line-height: 1.6;
      color: var(--texto-sec-escuro);
      font-style: italic;
      margin-bottom: 16px;
    }
    .testemunho-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--azul-claro), var(--azul-profundo));
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 16px;
      flex-shrink: 0;
      overflow: hidden;
    }
    .avatar--photo {
      background: var(--cinza-suave);
    }
    .avatar--photo picture,
    .avatar--photo img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center top;
    }
    .author-info { min-width: 0; }
    .author-name {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 14px;
      color: var(--azul-profundo);
      margin-bottom: 2px;
    }
    .author-role {
      font-size: 12px;
      color: var(--texto-sec-escuro);
    }
    .testemunho-logo {
      margin-left: auto;
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }
    .testemunho-logo img {
      height: 32px;
      width: auto;
      max-width: 100px;
      object-fit: contain;
      opacity: 0.85;
    }

    /* CARD DO FORMULÁRIO — escuro sobre fundo claro (estilo Migital) */
    .form-card {
      background: var(--azul-profundo);
      background-image:
        radial-gradient(circle at 100% 0%, rgba(242, 107, 74, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(45, 91, 168, 0.2) 0%, transparent 50%);
      border-radius: 24px;
      padding: 48px 40px;
      box-shadow: 0 32px 80px rgba(15, 40, 71, 0.25);
      position: relative;
      overflow: hidden;
    }
    .form-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--coral), transparent);
    }

    .form-head { margin-bottom: 28px; }
    .form-title {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 22px;
      color: white;
      margin-bottom: 6px;
    }
    .form-sub {
      font-size: 13px;
      color: var(--texto-sec-claro);
      font-weight: 500;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-row { grid-column: span 2; }
    .field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .field label {
      font-size: 12px;
      font-weight: 500;
      color: var(--texto-sec-claro);
      letter-spacing: 0.02em;
    }
    .field input,
    .field select {
      padding: 13px 14px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      color: white;
      font-family: var(--font-body);
      font-size: 14px;
      transition: all 0.2s;
    }
    .field input::placeholder { color: rgba(255, 255, 255, 0.3); }
    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: var(--coral);
      background: rgba(255, 255, 255, 0.09);
      box-shadow: 0 0 0 3px var(--coral-glow);
    }
    .field select option {
      background: var(--azul-profundo);
      color: white;
    }

    .radio-pills {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .radio-pill {
      flex: 1;
      min-width: 90px;
      padding: 10px 16px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      color: var(--texto-sec-claro);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      text-align: center;
      transition: all 0.2s;
    }
    .radio-pill input { display: none; }
    .radio-pill.active,
    .radio-pill:hover {
      background: var(--coral-hover);
      border-color: var(--coral);
      color: white;
    }

    .checkbox-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 20px 0;
      font-size: 12px;
      color: var(--texto-sec-claro);
      line-height: 1.5;
    }
    .checkbox-row input { margin-top: 3px; accent-color: var(--coral); }
    .checkbox-row a { color: var(--texto-sec-claro); text-decoration: underline; }

    .form-submit {
      width: 100%;
      padding: 16px;
      background: var(--coral-hover);
      color: white;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 15px;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 8px 24px var(--coral-glow);
    }
    .form-submit:hover {
      background: var(--coral-hover);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px var(--coral-glow);
    }

    /* Form multi-step */
    .form-multistep { display: block; }
    .form-step {
      display: none;
      border: 0;
      padding: 0;
      margin: 0;
      min-width: 0;
    }
    .form-step.active {
      display: block;
      animation: stepFadeIn 0.28s ease both;
    }
    @keyframes stepFadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .form-progress { margin-bottom: 22px; }
    .form-progress-track {
      height: 4px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      overflow: hidden;
    }
    .form-progress-fill {
      height: 100%;
      width: 50%;
      background: var(--coral);
      border-radius: 999px;
      transition: width 0.3s ease;
    }
    .form-progress-label {
      margin-top: 8px;
      font-size: 11px;
      color: var(--texto-sec-claro);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .form-progress-label span { color: white; font-weight: 600; }

    .form-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .form-actions .form-submit { flex: 1; width: auto; }
    .form-back {
      padding: 14px 18px;
      background: transparent;
      color: var(--texto-sec-claro);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 10px;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .form-back:hover {
      background: rgba(255, 255, 255, 0.06);
      color: white;
      border-color: rgba(255, 255, 255, 0.3);
    }

    .field.invalid input,
    .field.invalid select {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
    }

    .form-privacy {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-top: 16px;
      font-size: 11px;
      color: var(--texto-sec-claro);
    }

    .form-success {
      display: none;
      padding: 24px;
      background: rgba(74, 222, 128, 0.1);
      border: 1px solid rgba(74, 222, 128, 0.3);
      border-radius: 12px;
      color: #4ADE80;
      text-align: center;
      margin-top: 16px;
      animation: fade-in 0.5s ease;
    }
    .form-success.show { display: block; }
    @keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

    /* Cookie banner (LGPD / Consent Mode v2) */
    .cookie-banner {
      position: fixed;
      bottom: 16px;
      left: 16px;
      right: 16px;
      max-width: 920px;
      margin: 0 auto;
      background: var(--azul-profundo);
      color: white;
      border-radius: 16px;
      padding: 22px 24px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.35);
      border: 1px solid rgba(255,255,255,0.08);
      z-index: 9998;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.28s ease, transform 0.28s ease;
    }
    .cookie-banner.cookie-banner-show { opacity: 1; transform: translateY(0); }
    .cookie-banner.cookie-banner-hide { opacity: 0; transform: translateY(20px); }
    .cookie-banner-content {
      display: grid;
      gap: 18px;
      grid-template-columns: 1fr;
      align-items: center;
    }
    .cookie-banner-title {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 16px;
      color: white;
      margin: 0 0 4px;
    }
    .cookie-banner p {
      font-size: 13px;
      line-height: 1.55;
      color: rgba(255,255,255,0.78);
      margin: 0;
    }
    .cookie-banner a { color: var(--texto-sec-claro); text-decoration: underline; }
    .cookie-banner-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .cookie-btn {
      padding: 11px 16px;
      border-radius: 8px;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .cookie-btn-accept {
      background: var(--coral);
      color: white;
      box-shadow: 0 4px 12px var(--coral-glow);
    }
    .cookie-btn-accept:hover { background: var(--coral-hover); transform: translateY(-1px); }
    .cookie-btn-necessary {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.18);
      color: white;
    }
    .cookie-btn-necessary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
    .cookie-btn-deny {
      background: transparent;
      color: rgba(255,255,255,0.6);
      text-decoration: underline;
    }
    .cookie-btn-deny:hover { color: white; }

    /* Botao "Gerenciar cookies" usado nas paginas de politica e LGPD */
    .cookie-manage-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      background: var(--azul-profundo);
      color: white;
      border: 1px solid transparent;
      border-radius: 10px;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .cookie-manage-btn:hover {
      background: var(--azul-medio);
      transform: translateY(-1px);
    }
    .cookie-manage-btn::before {
      content: "🍪";
      font-size: 16px;
    }

    @media (min-width: 768px) {
      .cookie-banner-content {
        grid-template-columns: 1fr auto;
      }
    }
    @media (max-width: 640px) {
      .cookie-banner { padding: 18px; bottom: 8px; left: 8px; right: 8px; }
      .cookie-banner-actions { flex-direction: column-reverse; }
      .cookie-btn { width: 100%; }
    }

    /* =========================================================
       11. ANIMAÇÕES DE ENTRADA (intersection observer)
       ========================================================= */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    }
    .reveal.in-view {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-stagger > * {
      opacity: 0;
      transform: translateY(30px);
    }
    @keyframes revealStaggerIn {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .reveal-stagger.in-view > * {
      animation: revealStaggerIn 0.7s var(--ease-out-expo) both;
    }
    .reveal-stagger.in-view > *:nth-child(1)  { animation-delay: 0s; }
    .reveal-stagger.in-view > *:nth-child(2)  { animation-delay: 0.1s; }
    .reveal-stagger.in-view > *:nth-child(3)  { animation-delay: 0.2s; }
    .reveal-stagger.in-view > *:nth-child(4)  { animation-delay: 0.3s; }
    .reveal-stagger.in-view > *:nth-child(5)  { animation-delay: 0.4s; }
    .reveal-stagger.in-view > *:nth-child(6)  { animation-delay: 0.5s; }
    .reveal-stagger.in-view > *:nth-child(7)  { animation-delay: 0.6s; }
    .reveal-stagger.in-view > *:nth-child(8)  { animation-delay: 0.7s; }
    .reveal-stagger.in-view > *:nth-child(9)  { animation-delay: 0.8s; }
    .reveal-stagger.in-view > *:nth-child(10) { animation-delay: 0.85s; }
    .reveal-stagger.in-view > *:nth-child(11) { animation-delay: 0.9s; }
    .reveal-stagger.in-view > *:nth-child(12) { animation-delay: 0.95s; }
    .reveal-stagger.in-view > *:nth-child(13) { animation-delay: 1s; }
    .reveal-stagger.in-view > *:nth-child(14) { animation-delay: 1.05s; }
    .reveal-stagger.in-view > *:nth-child(15) { animation-delay: 1.1s; }
    .reveal-stagger.in-view > *:nth-child(16) { animation-delay: 1.15s; }

    /* =========================================================
       11. SEÇÃO BLOG NA HOME — 3 últimos posts
       ========================================================= */
    .home-blog {
      background: #fff;
      padding: 100px 0;
      border-top: 1px solid var(--cinza-suave);
    }
    .home-blog .blog-grid { margin-top: 0; }
    .home-blog-cta {
      text-align: center;
      margin-top: 56px;
    }
    .home-blog-cta .btn-ghost {
      border: 1.5px solid var(--azul-profundo);
      color: var(--azul-profundo);
    }
    .home-blog-cta .btn-ghost:hover {
      background: var(--azul-profundo);
      color: white;
    }

    /* =========================================================
       12. RESPONSIVIDADE (seções abaixo da dobra)
       ========================================================= */
    @media (max-width: 1024px) {
      .pilares-grid { grid-template-columns: 1fr; gap: 16px; }
      .solucoes-grid { grid-template-columns: repeat(2, 1fr); }
      .solucoes-pilares { grid-template-columns: 1fr; gap: 20px; }
      .sol-card.featured { grid-column: span 2; flex-direction: column; align-items: flex-start; }
      .metricas-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
      .metrica:not(:last-child)::after { display: none; }
      .contato-grid { grid-template-columns: 1fr; gap: 48px; }
      .home-blog { padding: 72px 0; }
    }

    @media (max-width: 640px) {
      /* Métricas — reduz números grandes */
      .metrica-value { font-size: clamp(28px, 8vw, 38px); }
      .metrica-label { font-size: 11px; }
      .metricas-grid { gap: 24px; }

      /* Seções */
      .section-h2 { font-size: clamp(22px, 5.8vw, 28px); }
      .section-sub { font-size: 13px; }

      /* Soluções */
      .solucoes-grid { grid-template-columns: 1fr; }
      .sol-card.featured { grid-column: span 1; }
      .sol-card { padding: 24px; min-height: auto; }

      /* Parceiros */
      .parceiro { flex: 0 1 calc(50% - 4px); min-width: 0; font-size: 15px; padding: 22px 14px; }

      /* Formulário */
      .form-grid { grid-template-columns: 1fr; }
      .form-row { grid-column: span 1; }
    }

    /* ===========================
       Home CTA bands (intermediarias entre secoes)
       =========================== */
    .home-cta-band {
      padding: 64px 0;
      position: relative;
      overflow: hidden;
    }
    .home-cta-band--dark {
      background: linear-gradient(135deg, var(--azul-profundo) 0%, #0a3680 100%);
      color: var(--texto-claro);
    }
    .home-cta-band--dark::before {
      content: "";
      position: absolute;
      top: -45%;
      right: -8%;
      width: 460px;
      height: 460px;
      background: radial-gradient(circle, rgba(0, 151, 178, 0.22) 0%, rgba(0, 151, 178, 0) 70%);
      pointer-events: none;
    }
    .home-cta-band--light {
      background: #ffffff;
      color: var(--azul-profundo);
      border-top: 1px solid rgba(8, 39, 100, 0.06);
      border-bottom: 1px solid rgba(8, 39, 100, 0.06);
    }
    .home-cta-band-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }
    .home-cta-band-text {
      flex: 1 1 460px;
      min-width: 0;
    }
    .home-cta-band-eyebrow {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 12px;
      opacity: 0.75;
    }
    .home-cta-band--dark .home-cta-band-eyebrow { color: var(--texto-sec-claro); opacity: 1; }
    .home-cta-band--light .home-cta-band-eyebrow { color: var(--azul-medio); }
    .home-cta-band-h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(20px, 2.5vw, 28px);
      line-height: 1.22;
      letter-spacing: -0.01em;
      margin: 0 0 12px;
    }
    .home-cta-band--dark .home-cta-band-h2 strong { color: var(--coral); font-weight: 700; }
    .home-cta-band--light .home-cta-band-h2 strong { color: var(--azul-medio); font-weight: 700; }
    .home-cta-band-sub {
      font-size: 14px;
      line-height: 1.55;
      margin: 0;
      opacity: 0.9;
      max-width: 560px;
    }
    .home-cta-band-actions {
      flex: 0 0 auto;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    @media (max-width: 768px) {
      .home-cta-band { padding: 48px 0; }
      .home-cta-band-inner { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; }
      .home-cta-band-text { flex: 0 1 auto; }
      .home-cta-band-actions { width: 100%; flex: 0 0 auto; }
      .home-cta-band-actions .btn { flex: 1 1 auto; justify-content: center; }
    }

/* ==========================================================================
   STICKY CTA BAR
   Ativa nas páginas que incluem assets/js/sticky-cta.js (script tag = opt-in).
   Hoje: 8 páginas de solução + Home + Cases. Aponta para #contato local quando
   existe, senão pra /#contato (form da home). Cor herda --cta-accent quando a
   página define (sol-page); senão usa --coral (brand).
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(5, 21, 54, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  flex: 1 1 auto;
  min-width: 0;
}
.sticky-cta-text strong {
  color: #fff;
  font-weight: 600;
}
.sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--cta-accent, var(--coral, #0097b2)), var(--cta-accent-bright, var(--coral-hover, #00b3d4)));
  border-radius: 100px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.sticky-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 151, 178, 0.4);
  filter: brightness(1.06);
}
.sticky-cta-btn svg {
  transition: transform 0.18s ease;
}
.sticky-cta-btn:hover svg {
  transform: translateX(3px);
}
.sticky-cta-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.sticky-cta-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
@media (max-width: 640px) {
  .sticky-cta { padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta-inner { padding: 0 14px; gap: 10px; }
  .sticky-cta-text { font-size: 11.5px; line-height: 1.3; text-wrap: balance; }
  .sticky-cta-text strong { display: inline; font-size: inherit; color: var(--cta-accent-bright, var(--coral-hover, #00b3d4)); }
  .sticky-cta-actions { gap: 8px; }
  .sticky-cta-btn { padding: 9px 14px; font-size: 12px; gap: 6px; }
  .sticky-cta-btn svg { width: 12px; height: 12px; }
  .sticky-cta-close { width: 30px; height: 30px; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .sticky-cta-btn { transition: none; }
  .sticky-cta-btn:hover { transform: none; }
}
@media print {
  .sticky-cta { display: none !important; }
}

/* ==========================================================================
   BACK TO TOP (todas as páginas)
   Botão flutuante no canto inferior direito que aparece depois do hero.
   Coordena com o sticky CTA: quando body.sticky-cta-visible está ativo, sobe
   pra ficar acima da barra, com a mesma curva de animação.
   Injetado via assets/js/back-to-top.js.
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 24px;
  z-index: 79;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(8, 39, 100, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    bottom 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.back-to-top.is-visible {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--coral, #0097b2);
  border-color: var(--coral, #0097b2);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 151, 178, 0.45);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--coral, #0097b2);
  outline-offset: 3px;
}

/* Quando a sticky bar está visível, sobe acima dela com a mesma curva. */
body.sticky-cta-visible .back-to-top {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg { width: 18px; height: 18px; }
  body.sticky-cta-visible .back-to-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s ease; }
}
@media print {
  .back-to-top { display: none !important; }
}
