/* ===========================
       RESET & VARIÁVEIS
    =========================== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg-primary:    #0a0a0a;
      --bg-card:       #1a1a1a;
      --bg-footer:     #050505;
      --text-primary:  #f0f0f0;
      --text-secondary:#999999;
      --accent:        #FFCD29;
      --accent-hover:  #e6b800;
      --white:         #ffffff;
      --border:        #2a2a2a;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', Arial, sans-serif;
      background-color: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===========================
       TICKER
    =========================== */
    .ticker-bar {
      background-color: var(--accent);
      color: #000;
      font-weight: 700;
      font-size: 0.72rem;
      padding: 9px 0;
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      z-index: 1001;
      letter-spacing: 0.06em;
    }

    .ticker-track {
      display: inline-flex;
      animation: ticker 35s linear infinite;
    }

    .ticker-track span {
      padding: 0 1.5rem;
    }

    @keyframes ticker {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ===========================
       NAVBAR
    =========================== */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--bg-primary);
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: box-shadow 0.3s;
    }

    .navbar.scrolled {
      box-shadow: 0 4px 24px rgba(0,0,0,0.85);
    }

    .nav-logo {
      font-size: 1.45rem;
      font-weight: 900;
      color: var(--white);
      text-decoration: none;
      letter-spacing: -0.02em;
    }

    .nav-logo span { color: var(--accent); }

    .nav-logo img {
      height: 36px;
      width: auto;
      display: block;
    }

    .nav-cta {
      background: var(--accent);
      color: #000;
      font-weight: 700;
      font-size: 0.875rem;
      padding: 0.6rem 1.35rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.2s;
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      font-size: 1.5rem;
      cursor: pointer;
      padding: 0.25rem;
    }

    /* ===========================
       HERO
    =========================== */
    .hero {
      position: relative;
      display: flex;
      align-items: flex-start;
      overflow: hidden;
      padding: 0;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('../img/hero-industrial.webp');
      background-size: cover;
      background-position: center;
      z-index: 0;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to right,
        rgba(10,10,10,0.97) 30%,
        rgba(10,10,10,0) 65%
      );
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 720px;
      padding: 2rem 2rem 2.5rem 4rem;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(245,166,35,0.12);
      border: 1px solid var(--accent);
      color: var(--accent);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 0.4rem 1rem;
      border-radius: 2px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }

    .hero h1 {
      font-size: clamp(2.6rem, 5.5vw, 4.5rem);
      font-weight: 900;
      line-height: 1.04;
      letter-spacing: -0.03em;
      margin-bottom: 1.5rem;
      color: var(--white);
    }

    .hero h1 em {
      font-style: normal;
      color: var(--accent);
    }

    .hero-sub {
      font-size: clamp(1rem, 1.8vw, 1.125rem);
      color: var(--text-secondary);
      max-width: 580px;
      margin-bottom: 2.5rem;
      line-height: 1.75;
    }

    .hero-ctas {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 3.5rem;
    }

    .btn-primary {
      background: var(--accent);
      color: #000;
      font-weight: 700;
      font-size: 1rem;
      padding: 0.9rem 2rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: background 0.2s, transform 0.2s;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      color: var(--white);
      font-weight: 600;
      font-size: 1rem;
      padding: 0.9rem 2rem;
      border: 1.5px solid rgba(255,255,255,0.35);
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: border-color 0.2s, transform 0.2s;
    }

    .btn-outline:hover {
      border-color: var(--white);
      transform: translateY(-2px);
    }

    .proof-bar {
      display: flex;
      gap: 2.25rem;
      flex-wrap: wrap;
    }

    .proof-item .num {
      display: block;
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--accent);
      line-height: 1.1;
    }

    .proof-item .label {
      display: block;
      font-size: 0.72rem;
      color: var(--text-secondary);
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    /* ===========================
       SEÇÕES — BASE
    =========================== */
    section { padding: 6rem 2rem; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-tag {
      display: inline-block;
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-size: clamp(1.9rem, 3.5vw, 2.8rem);
      font-weight: 900;
      line-height: 1.1;
      letter-spacing: -0.025em;
      margin-bottom: 1rem;
    }

    .section-title em {
      font-style: normal;
      color: var(--accent);
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--text-secondary);
      line-height: 1.75;
      max-width: 600px;
      margin-bottom: 3.5rem;
    }

    /* ===========================
       DOR / PROBLEMA
    =========================== */
    #problema { background: var(--bg-primary); }

    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .pain-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2.25rem 2rem;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .pain-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    }

    .pain-card-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .pain-icon {
      font-size: 1.75rem;
      color: var(--accent);
      flex-shrink: 0;
    }

    .pain-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0;
      line-height: 1.2;
    }

    .pain-card p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ===========================
       SOLUÇÃO
    =========================== */
    #solucao { background: #0d0d0d; }

    .solution-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 4rem;
    }

    .sol-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: transform 0.3s, border-color 0.3s;
    }

    .sol-item:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }

    .sol-item i {
      font-size: 1.4rem;
      color: var(--accent);
      min-width: 26px;
      text-align: center;
    }

    .sol-item span {
      font-weight: 600;
      font-size: 0.9rem;
    }

    .solution-img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: 8px;
      display: block;
    }

    /* ===========================
       PRODUCT PILLS — HERO
    =========================== */
    .hero-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(245,166,35,0.08);
      border: 1px solid rgba(245,166,35,0.3);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.35rem 0.85rem;
      border-radius: 100px;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    /* ===========================
       PRODUTOS GRID — SOLUÇÃO
    =========================== */
    .solution-block-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .products-grid .product-card:nth-child(4),
    .products-grid .product-card:nth-child(5) {
      grid-column: span 1;
    }

    /* last 2 cards centered via wrapper */
    .products-grid-bottom {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      max-width: 66.666%;
      margin: 0 auto 2.5rem;
    }

    .product-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1.75rem 1.5rem;
      transition: transform 0.3s, border-color 0.3s;
    }

    .product-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }

    .product-card-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 0.85rem;
    }

    .product-card i {
      font-size: 1.5rem;
      color: var(--accent);
      flex-shrink: 0;
    }

    .product-card h3 {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
    }

    .product-card p {
      font-size: 0.83rem;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    .solution-locations-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-secondary);
      margin-bottom: 1rem;
    }

    @media (max-width: 768px) {
      .products-grid        { grid-template-columns: 1fr 1fr; }
      .products-grid-bottom { grid-template-columns: 1fr 1fr; max-width: 100%; }
      .hero-pills           { gap: 0.4rem; }
    }

    /* ===========================
       DIFERENCIAIS
    =========================== */
    #diferenciais { background: var(--bg-primary); }

    .diferenciais-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .dif-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .dif-item {
      display: flex;
      align-items: flex-start;
      gap: 1.25rem;
    }

    .dif-num {
      font-size: 2.25rem;
      font-weight: 900;
      color: var(--accent);
      line-height: 1;
      min-width: 88px;
    }

    .dif-text h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.3rem;
    }

    .dif-text p {
      font-size: 0.875rem;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    .dif-img {
      width: 100%;
      height: auto;
      max-height: 620px;
      object-fit: contain;
      border-radius: 8px;
      background: var(--bg-card);
    }

    /* ===========================
       PROCESSO
    =========================== */
    #processo { background: #0d0d0d; text-align: center; }

    .steps-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 3.5rem;
      position: relative;
    }

    .steps-row::before {
      content: '';
      position: absolute;
      top: 2.5rem;
      left: 20%;
      right: 20%;
      height: 2px;
      background: var(--border);
      pointer-events: none;
    }

    .step {
      position: relative;
      z-index: 1;
    }

    .step-num {
      width: 5rem;
      height: 5rem;
      background: var(--accent);
      color: #000;
      font-size: 1.75rem;
      font-weight: 900;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
    }

    .step h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.75rem;
    }

    .step p {
      font-size: 0.875rem;
      color: var(--text-secondary);
      line-height: 1.7;
      max-width: 260px;
      margin: 0 auto;
    }

    .processo-note {
      margin-top: 2.75rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    .processo-note i { color: var(--accent); margin-right: 0.4rem; }

    /* ===========================
       DEPOIMENTOS
    =========================== */
    #depoimentos { background: var(--bg-primary); }

    .dep-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .dep-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 2rem;
      transition: transform 0.3s;
    }

    .dep-card:hover { transform: translateY(-5px); }

    .stars {
      color: var(--accent);
      font-size: 0.875rem;
      letter-spacing: 0.1em;
      margin-bottom: 1rem;
    }

    .dep-text {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.75;
      font-style: italic;
      margin-bottom: 1.75rem;
    }

    .dep-author {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .dep-initials {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--accent);
      color: var(--bg-primary);
      font-size: 0.9rem;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      letter-spacing: 0.02em;
    }

    .dep-author img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }

    .dep-author strong {
      display: block;
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--white);
    }

    .dep-author span {
      font-size: 0.75rem;
      color: var(--text-secondary);
    }

    /* ===========================
       FORMULÁRIO
    =========================== */
    #formulario {
      background: #141414;
      border-top: 3px solid var(--accent);
    }

    .form-wrap {
      max-width: 580px;
      margin: 0 auto;
      text-align: center;
    }

    .form-wrap .section-sub {
      margin: 0 auto 2.5rem;
    }

    .lead-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      text-align: left;
    }

    .form-input {
      background: var(--bg-card);
      border: 1px solid var(--border);
      color: var(--text-primary);
      font-family: 'Inter', Arial, sans-serif;
      font-size: 1rem;
      padding: 1rem 1.25rem;
      border-radius: 4px;
      outline: none;
      width: 100%;
      transition: border-color 0.2s;
    }

    .form-input::placeholder { color: #666; }

    .form-select {
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
      background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
      background-size: 7px 7px, 7px 7px;
      background-repeat: no-repeat;
      padding-right: 3rem;
    }

    .form-select:invalid {
      color: #666;
    }

    .form-select option {
      color: #111;
      background: #fff;
    }

    .form-input:focus { border-color: var(--accent); }

    .form-input.error { border-color: #e55; }

    .btn-submit {
      background: var(--accent);
      color: #000;
      font-family: 'Inter', Arial, sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      padding: 1.15rem 2rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      width: 100%;
      letter-spacing: 0.04em;
      transition: background 0.2s, transform 0.2s;
      margin-top: 0.25rem;
    }

    .btn-submit:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    .form-privacy {
      font-size: 0.8rem;
      color: var(--text-secondary);
      text-align: center;
      margin-top: 0.5rem;
    }

    .form-privacy i { color: var(--accent); margin-right: 0.25rem; }

    .form-success {
      display: none;
      background: rgba(245,166,35,0.08);
      border: 1px solid var(--accent);
      border-radius: 8px;
      padding: 2.5rem 2rem;
      text-align: center;
    }

    .form-success .success-icon {
      font-size: 3.5rem;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    .form-success h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .form-success p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    /* ===========================
       FOOTER
    =========================== */
    footer {
      background: var(--bg-footer);
      padding: 3.5rem 2rem;
      border-top: 1px solid var(--border);
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.25rem;
      text-align: center;
    }

    .footer-logo {
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--white);
    }

    .footer-logo span { color: var(--accent); }

    .footer-tagline {
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-style: italic;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.2s;
    }

    .footer-links a:hover { color: var(--accent); }

    .footer-copy {
      color: #444;
      font-size: 0.8rem;
    }

    .section-cta {
      margin-top: 2.5rem;
      margin-bottom: -2rem;
      text-align: center;
    }

    /* ===========================
       FADE-IN (Intersection Observer)
    =========================== */
    .fade-in {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===========================
       RESPONSIVO — 768px
    =========================== */
    @media (max-width: 768px) {
      section { padding: 4rem 1.25rem; }

      .hamburger { display: block; }
      .nav-cta   { display: none; }
      .nav-cta.show { display: block; }

      .navbar { padding: 1rem 1.25rem; }

      /* Hero — centralizado no mobile */
      .hero-content { padding: 2.5rem 1.25rem; max-width: 100%; text-align: center; display: flex; flex-direction: column; }
      .hero-badge   { display: block; text-align: center; }
      .hero-sub     { margin-left: auto; margin-right: auto; }
      .proof-bar    { justify-content: center; gap: 1.25rem; }

      /* Pills acima do título no mobile */
      .hero-pills { order: -1; justify-content: center; }

      /* Hero bg — centraliza na parte com mais placas + película escura */
      .hero-bg { background-position: center center; }
      .hero-overlay { background: linear-gradient(to bottom, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.85) 100%) !important; }

      .hero-ctas { flex-direction: column; }
      .btn-primary, .btn-outline { text-align: center; width: 100%; }

      .pain-grid,
      .dep-grid,
      .steps-row { grid-template-columns: 1fr; }

      /* Solução — imagem vem antes dos ícones */
      .solution-body           { display: flex; flex-direction: column; }
      .solution-body .solution-img  { order: -1; margin-bottom: 1.5rem; }

      .solution-grid { grid-template-columns: 1fr 1fr; margin-bottom: 1.5rem; }

      .diferenciais-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .diferenciais-wrap > div:last-child { order: -1; }

      .dif-img { height: auto; }

      .steps-row::before { display: none; }

      .dif-num { font-size: 1.75rem; min-width: 70px; }
    }

    @media (max-width: 480px) {
      .solution-grid        { grid-template-columns: 1fr; }
      .products-grid        { grid-template-columns: 1fr; }
      .products-grid-bottom { grid-template-columns: 1fr; max-width: 100%; }
    }
