/* Tokens alinhados ao Elementor kit do site (post-17) + seções #003366 (post-2884) */
    :root {
      --bz-navy: #003366;
      --bz-navy-mid: #0a4a7a;
      --bz-orange: #ff9933;
      --bz-green: #61ce70;
      --bz-sky: #6ec1e4;
      --bz-text: #7a7a7a;
      --bz-text-heading: #54595f;
      --bz-text-soft: #8b9099;
      --bz-bg: #f0f2f5;
      --bz-white: #ffffff;
      --bz-dark: #1a1d21;
      --bz-surface: var(--bz-navy);
      --bz-surface-2: #0d3d66;
      --on-dark: #ffffff;
      --on-dark-muted: rgba(255, 255, 255, 0.88);
      --nav-h: 4.5rem;
      --container: 75rem;
      --pad-x: clamp(1rem, 4vw, 2rem);
      --section-y: clamp(2.75rem, 5.5vw, 5rem);
      --space-widget: 1.25rem;
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--nav-h) + 0.5rem);
    }
    body {
      margin: 0;
      font-family: 'Open Sans', system-ui, sans-serif;
      font-size: 1rem;
      line-height: 1.65;
      color: var(--bz-text);
      background: var(--bz-bg);
      padding-top: var(--nav-h);
    }
    @media (max-width: 767px) {
      body {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
      }
    }

    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--bz-navy-mid); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* ---------- Nav (mesma família cromática do texto, mais escura) ---------- */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      min-height: var(--nav-h);
      background: var(--bz-navy);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 var(--pad-x);
      gap: 1rem;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-shrink: 0;
    }
    .nav-brand img { height: 2.5rem; width: auto; }
    .nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 2.5rem;
      height: 2.5rem;
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 0;
    }
    @media (min-width: 900px) {
      .nav-toggle { display: none; }
    }
    .nav-toggle span {
      display: block;
      height: 2px;
      width: 100%;
      background: var(--on-dark);
      transition: transform 0.25s var(--ease-out), opacity 0.2s;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      background: var(--bz-surface-2);
      flex-direction: column;
      padding: 0.5rem var(--pad-x) calc(1rem + env(safe-area-inset-bottom, 0px));
      gap: 0;
      display: none;
      max-height: calc(100vh - var(--nav-h));
      overflow-y: auto;
    }
    .nav-links.is-open { display: flex; }
    @media (min-width: 900px) {
      .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        padding: 0;
        border: none;
        background: transparent;
        max-height: none;
        overflow: visible;
      }
      .nav-links a:not(.btn) {
        padding: 0.5rem 0.65rem;
      }
    }
    .nav-links a {
      color: var(--on-dark-muted);
      font-weight: 600;
      font-size: 0.9375rem;
      min-height: 2.75rem;
      display: flex;
      align-items: center;
      padding: 0.5rem 0.25rem;
      text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover {
      color: var(--on-dark);
      text-decoration: none;
    }
    .nav .btn-whatsapp {
      font-size: 0.8125rem;
      padding: 0.5rem 1rem;
    }

    .hero .btn-primary {
      background: #fff;
      color: #000;
    }
    .hero .btn-primary:hover {
      background: rgba(255, 255, 255, 0.92);
      color: #000;
      text-decoration: none;
    }
    .hero .btn-outline {
      color: var(--on-dark);
      border-color: rgba(255, 255, 255, 0.65);
      background: transparent;
    }
    .hero .btn-outline:hover {
      background: rgba(255,255,255,0.06);
      color: var(--on-dark);
    }

    .nav-cta {
      display: none;
    }
    @media (min-width: 900px) {
      .nav-cta { display: inline-flex; }
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      font-family: 'Ubuntu', sans-serif;
      font-weight: 500;
      font-size: 0.9375rem;
      min-height: 2.75rem;
      padding: 0.625rem 1.35rem;
      border: none;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, opacity 0.2s;
      text-decoration: none;
    }
    .btn:active { opacity: 0.92; }
    .btn:focus-visible {
      outline: 2px solid var(--bz-orange);
      outline-offset: 2px;
    }
    .nav-links a:focus-visible {
      outline: 2px solid var(--bz-orange);
      outline-offset: 2px;
    }
    .btn-primary {
      background: var(--bz-orange);
      color: #1a1a1a;
    }
    .btn-primary:hover {
      background: #e88920;
      color: #0d0d0d;
      text-decoration: none;
    }
    .btn-outline {
      background: transparent;
      color: var(--on-dark);
      border: 1px solid rgba(232, 234, 239, 0.35);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.06);
      text-decoration: none;
    }
    .btn-whatsapp {
      background: #25D366;
      color: #fff;
    }
    .btn-whatsapp:hover {
      background: #1ebe57;
      color: #fff;
      text-decoration: none;
    }
    .btn-ead {
      background: var(--bz-orange);
      color: #1a1a1a;
      font-size: 0.8125rem;
      padding: 0.5rem 1rem;
    }
    .btn-ead:hover {
      background: #e88920;
      color: #0d0d0d;
      text-decoration: none;
    }
    .nav-ead { display: none; }
    @media (min-width: 900px) {
      .nav-ead { display: inline-flex; }
    }

    /* ---------- Reveal animation ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    }
    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ---------- Sections ---------- */
    .section {
      padding: var(--section-y) var(--pad-x);
    }
    .container {
      max-width: var(--container);
      margin: 0 auto;
    }

    /* Hero: background-image com caminho relativo (funciona em file://) + overlay único */
    .hero {
      position: relative;
      color: var(--on-dark);
      padding: clamp(1.75rem, 5vw, 2.75rem) var(--pad-x) clamp(2.5rem, 6vw, 4rem);
      min-height: min(85vh, 36rem);
      display: flex;
      align-items: center;
      background-color: #001a33;
      background-image:
        linear-gradient(
          105deg,
          rgba(0, 18, 46, 0.85) 0%,
          rgba(0, 26, 58, 0.75) 42%,
          rgba(0, 35, 70, 0.52) 100%
        ),
        url(assets/fundo-banner-principal-bz-praticagem.webp);
      background-position: center top;
      background-size: cover;
      background-repeat: no-repeat;
    }
    @media (min-width: 768px) {
      .hero {
        min-height: min(76vh, 44rem);
        padding-top: clamp(2rem, 4vw, 3rem);
        padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
      }
    }
    .hero-inner {
      position: relative;
      max-width: var(--container);
      margin: 0 auto;
      width: 100%;
    }
    .hero-grid {
      display: grid;
      gap: clamp(1.5rem, 4vw, 2.25rem);
      align-items: center;
    }
    @media (min-width: 900px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: clamp(1.75rem, 3vw, 2.75rem);
      }
    }
    .hero-stack {
      max-width: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0;
    }
    .hero-visual img {
      width: 100%;
      max-width: min(100%, 34rem);
      height: auto;
      display: block;
    }
    @media (max-width: 767px) {
      .hero-stack {
        text-align: center;
        align-items: center;
      }
      .hero-ctas { justify-content: center; }
      .hero-meta { display: none; }
    }
    .hero-kicker {
      font-family: 'Ubuntu', sans-serif;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.7);
      margin: 0;
    }
    .hero h1 {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(1.75rem, 5.5vw, 2.875rem);
      font-weight: 600;
      line-height: 1.13;
      margin: 0;
      color: #fff;
      text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    }
    .hero-lead {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(0.975rem, 2.5vw, 1.175rem);
      font-weight: 400;
      line-height: 1.55;
      color: rgba(255, 255, 255, 0.88);
      margin: 0;
    }
    .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.375rem;
    }
    /* Transição foto full-width */
    .foto-transicao {
      width: 100%;
      height: clamp(180px, 28vw, 320px);
      background-image: url('assets/02-foto-depoimentos-bz-praticagem.webp');
      background-size: cover;
      background-position: center 60%;
      background-repeat: no-repeat;
    }

    /* A Profissão */
    .profissao { background: var(--bz-navy); }
    .profissao .section-title { color: var(--on-dark); }
    .profissao .section-lead { color: var(--on-dark-muted); }
    .profissao-intro {
      display: grid;
      gap: clamp(2rem, 5vw, 4rem);
      grid-template-columns: 1fr;
      align-items: stretch;
      margin-bottom: clamp(2rem, 5vw, 3rem);
    }
    @media (min-width: 768px) {
      .profissao-intro { grid-template-columns: 1fr 1fr; }
    }
    .profissao-intro-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .profissao-intro-text .section-title { margin-bottom: 0.75rem; }
    .profissao-intro-text .section-lead {
      margin-bottom: 1.5rem;
      font-size: 1rem;
    }
    .pslideshow {
      position: relative;
      margin: 0;
      overflow: hidden;
      border-radius: 6px;
      min-height: 400px;
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    }
    .pslide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.9s ease;
    }
    .pslide--active { opacity: 1; }
    .pslide img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }
    .pslide-dots {
      position: absolute;
      bottom: 14px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 2;
    }
    .pdot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.35);
      cursor: pointer;
      padding: 0;
      transition: background 0.3s;
    }
    .pdot--active { background: var(--bz-orange); }
    .profissao-intro-text p {
      color: var(--on-dark-muted);
      font-size: 0.9375rem;
      line-height: 1.7;
      margin: 0 0 1rem;
    }
    .profissao-intro-text p:last-child { margin-bottom: 0; }
    .profissao-grid {
      display: grid;
      gap: clamp(1rem, 3vw, 1.5rem);
      grid-template-columns: 1fr;
    }
    @media (min-width: 700px) {
      .profissao-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .profissao-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      padding: clamp(1.25rem, 3vw, 1.75rem);
    }
    .profissao-icon {
      font-size: 1.75rem;
      margin-bottom: 0.75rem;
      display: block;
    }
    .profissao-card h3 {
      font-family: 'Ubuntu', sans-serif;
      font-size: 1.0625rem;
      margin: 0 0 0.5rem;
      color: var(--on-dark);
    }
    .profissao-card p, .profissao-card li {
      font-size: 0.875rem;
      color: var(--on-dark-muted);
      line-height: 1.6;
    }
    .profissao-list {
      margin: 0.5rem 0 0;
      padding-left: 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    /* Lead Form */
    .lead-section { background: var(--bz-bg); }
    .lead-wrap {
      background: var(--bz-white);
      padding: clamp(1.75rem, 4vw, 2.75rem);
      max-width: 54rem;
      margin: 0 auto;
    }
    .lead-form { margin-top: 1.5rem; }
    .lead-row {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px) {
      .lead-row { grid-template-columns: 1fr 1fr; }
    }
    .lead-field {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .lead-field label {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--bz-text-heading);
    }
    .lead-field input, .lead-field select {
      font-family: 'Open Sans', sans-serif;
      font-size: 0.9375rem;
      padding: 0.625rem 0.875rem;
      border: 1px solid #d1d5db;
      background: #fff;
      color: var(--bz-text);
      outline: none;
      transition: border-color 0.2s;
      min-height: 2.75rem;
    }
    .lead-field input:focus, .lead-field select:focus {
      border-color: var(--bz-navy-mid);
      box-shadow: 0 0 0 3px rgba(10, 74, 122, 0.12);
    }
    .lead-actions {
      margin-top: 1.25rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .lead-msg {
      font-size: 0.875rem;
      font-weight: 600;
    }
    .lead-msg.ok { color: var(--bz-green); }
    .lead-msg.err { color: #dc2626; }

    /* Sobre */
    .sobre {
      background: var(--bz-white);
    }
    .sobre-grid {
      display: grid;
      gap: clamp(1.75rem, 4vw, 3rem);
      align-items: start;
    }
    @media (min-width: 768px) {
      .sobre-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    }
    .sobre img {
      max-width: 100%;
    }
    .sobre-copy p {
      margin: 0 0 1rem;
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--bz-text);
    }
    .sobre-copy p:last-child {
      margin-bottom: 0;
    }
    .section-lead {
      margin: 0 0 clamp(1.75rem, 4vw, 2.25rem);
      max-width: 42rem;
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--bz-text-soft);
    }
    .section-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(1.5rem, 3.5vw, 2.125rem);
      font-weight: 600;
      color: var(--bz-text-heading);
      margin: 0 0 var(--space-widget);
      line-height: 1.2;
    }
    .section-title em {
      font-style: normal;
      color: var(--bz-orange);
    }

    /* PSCPP 2027 — 3 grupos */
    .pscpp2027 { background: var(--bz-bg); }
    .pscpp-groups {
      display: grid;
      gap: clamp(1rem, 3vw, 1.5rem);
      margin-top: clamp(1.5rem, 4vw, 2rem);
    }
    @media (min-width: 700px) {
      .pscpp-groups { grid-template-columns: repeat(3, 1fr); }
    }
    .pscpp-group {
      background: var(--bz-white);
      padding: clamp(1.25rem, 3vw, 1.5rem);
    }
    .pscpp-group-title {
      font-family: 'Ubuntu', sans-serif;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--bz-orange);
      margin-bottom: 0.875rem;
    }
    .pscpp-group ul {
      margin: 0;
      padding-left: 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .pscpp-group li {
      font-size: 0.9rem;
      line-height: 1.55;
      color: var(--bz-text);
    }

    /* Embarcados highlight */
    .embarcados { background: var(--bz-navy); }
    .embarcados-inner {
      display: flex;
      align-items: center;
      gap: clamp(1.5rem, 4vw, 3rem);
    }
    .embarcados-text { flex: 1; }
    .embarcados .section-title { color: var(--on-dark); }
    .embarcados-text p {
      font-size: 0.9375rem;
      color: var(--on-dark-muted);
      line-height: 1.65;
      margin: 0 0 1.25rem;
    }
    .embarcados-icon {
      font-size: clamp(3rem, 8vw, 5rem);
      flex-shrink: 0;
      display: none;
    }
    @media (min-width: 600px) {
      .embarcados-icon { display: block; }
    }

    /* Depoimentos — escaneabilidade */
    .quote-text {
      margin: 0 0 0.875rem;
      font-size: 0.9rem;
      line-height: 1.65;
      color: var(--bz-text);
    }
    .quote-footer {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }
    .quote-name {
      font-family: 'Ubuntu', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--bz-text-heading);
    }
    .quote-role {
      font-size: 0.8rem;
      color: var(--bz-text-soft);
    }

    /* Formulário — consentimento */
    .lead-consent-wrap {
      margin-top: 1rem;
    }
    .lead-consent {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      cursor: pointer;
    }
    .lead-consent input[type="checkbox"] {
      margin-top: 0.2rem;
      flex-shrink: 0;
      width: 1rem;
      height: 1rem;
      accent-color: var(--bz-navy-mid);
    }
    .lead-consent span {
      font-size: 0.8125rem;
      color: var(--bz-text-soft);
      line-height: 1.5;
    }

    /* Metodologia */
    .metodologia { background: var(--bz-white); }
    .pillars {
      display: grid;
      gap: clamp(1.5rem, 4vw, 2.25rem);
    }
    @media (min-width: 700px) {
      .pillars { grid-template-columns: repeat(3, 1fr); }
    }
    .pillar {
      text-align: left;
      padding: 0;
      background: transparent;
    }
    .pillar-icon {
      width: auto;
      height: auto;
      margin: 0 0 0.5rem;
      background: transparent;
      color: var(--bz-orange);
      display: block;
      font-family: 'Ubuntu', sans-serif;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .pillar h3 { font-family: 'Ubuntu', sans-serif; font-size: 1.0625rem; margin: 0 0 0.5rem; color: var(--bz-text-heading); }
    .pillar p { margin: 0; font-size: 0.875rem; color: var(--bz-text-soft); }

    /* Depoimentos */
    .depoimentos { background: var(--bz-bg); }
    .testimonial-grid {
      display: grid;
      gap: clamp(1rem, 3vw, 1.5rem);
      margin-top: clamp(1.5rem, 4vw, 2.25rem);
    }
    @media (min-width: 768px) {
      .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .quote {
      background: var(--bz-white);
      padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 1.5rem);
    }
    .quote p {
      margin: 0 0 1rem;
      font-size: 0.9rem;
      line-height: 1.65;
      color: var(--bz-text);
    }
    .quote .quote-author {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--bz-text-soft);
      margin-top: 0.25rem;
      font-family: 'Ubuntu', sans-serif;
    }

    @media (min-width: 768px) {
      .quote:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.75rem);
        margin-inline: auto;
      }
    }

    .depoimento-foto {
      margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
      padding: 0;
      border-radius: 0;
      overflow: hidden;
      max-width: 56rem;
      margin-left: auto;
      margin-right: auto;
    }
    .depoimento-foto img {
      width: 100%;
      max-height: min(22rem, 50vh);
      object-fit: cover;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      justify-content: center;
      align-items: center;
    }

    /* CTA final: mesmo tom do hero */
    .cta-block {
      background: var(--bz-navy);
      color: var(--on-dark);
      text-align: center;
      padding: var(--section-y) var(--pad-x);
    }
    .cta-block h2 {
      font-family: 'Ubuntu', sans-serif;
      font-size: clamp(1.35rem, 4vw, 2rem);
      margin: 0 0 0.75rem;
      color: var(--on-dark);
      font-weight: 600;
    }
    .cta-block p {
      margin: 0 0 1.5rem;
      color: var(--on-dark-muted);
      max-width: 32rem;
      margin-left: auto;
      margin-right: auto;
    }

    /* Footer */
    .footer {
      background: var(--bz-dark);
      color: #cbd5e1;
      padding: clamp(2.25rem, 5vw, 3rem) var(--pad-x) calc(2rem + env(safe-area-inset-bottom, 0px));
      font-size: 0.875rem;
    }
    .footer-grid {
      display: grid;
      gap: 2rem;
      max-width: var(--container);
      margin: 0 auto;
    }
    @media (min-width: 768px) {
      .footer-grid { grid-template-columns: 1.2fr 1fr; }
    }
    .footer a { color: #93c5fd; }
    .footer a:hover { color: #fff; }
    .social {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.75rem;
    }
    .social a {
      padding: 0.4rem 0.75rem;
      background: rgba(255,255,255,0.08);
      border-radius: 6px;
      text-decoration: none;
      font-size: 0.8rem;
    }
    .social a:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

    /* FAB */
    .fab-wa {
      position: fixed;
      bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
      right: calc(1rem + env(safe-area-inset-right, 0px));
      z-index: 1001;
      width: 3.5rem;
      height: 3.5rem;
      background: #25D366;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .fab-wa:hover { opacity: 0.9; text-decoration: none; color: #fff; }
    .fab-wa svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }
    .skip-link:focus {
      left: 1rem;
      top: 1rem;
      width: auto;
      height: auto;
      padding: 0.5rem 1rem;
      background: var(--bz-navy);
      color: #fff;
      z-index: 2000;
    }