    /* =========================================
       MONFORTE �?" Ferramentaria e Usinagem
       Design tokens
    ========================================= */
    :root {
      /* Cores */
      --color-blue-900: #002856;
      --color-blue-800: #0C4175;
      --color-blue-700: #0155AE;
      --color-blue-600: #006DB0;
      --color-blue-500: #0094CD;
      --color-blue-400: #00B1EB;

      --color-gray-700: #575756;
      --color-gray-600: #706F6F;
      --color-gray-500: #878787;
      --color-gray-400: #9D9D9C;
      --color-gray-300: #C6C6C6;
      --color-gray-100: #EDEDED;

      --color-black: #000000;
      --color-black-2: #0F0F0F;
      --color-black-3: #1D1D1B;
      --color-white: #FFFFFF;

      /* Fontes */
      --font-archivo: 'Archivo', sans-serif;       /* menus, botões */
      --font-public: 'Public Sans', sans-serif;    /* títulos de ícones */
      --font-montserrat: 'Montserrat', sans-serif; /* formulário */
      --font-sora: 'Sora', sans-serif;             /* títulos e textos gerais */

      /* Layout */
      --header-height: 180px;
      --header-height-mobile: 84px;
      --container-width: 1200px;
    }

    /* =========================================
       RESET
    ========================================= */
    *, *::before, *::after { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: var(--font-sora);
      color: var(--color-black-3);
      background: var(--color-white);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img { max-width: 100%; display: block; }

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

    ul { list-style: none; margin: 0; padding: 0; }

    h1, h2, h3, h4, p { margin: 0; }

    button { font-family: inherit; cursor: pointer; }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .container {
      width: 100%;
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 40px;
    }

    /* Compensa o header fixo ao navegar via âncora (menu) para uma seção */
    #quem-somos,
    #servicos,
    #estrutura,
    #galeria,
    #maquinas,
    #clientes,
    #contato {
      scroll-margin-top: var(--header-height);
    }

    /* =========================================
       BOT�.ES
    ========================================= */
    .btn {
      display: inline-block;
      font-family: var(--font-archivo);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 16px 28px;
      border-radius: 4px;
      border: none;
      transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    .btn-primary {
      background-color: var(--color-blue-400);
      color: var(--color-white);
    }

    .btn-primary:hover {
      background-color: var(--color-blue-500);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0, 148, 205, 0.35);
    }

    /* =========================================
       ANIMA�?�.ES DE ENTRADA (reveal)
    ========================================= */
    @keyframes revealUp {
      from { opacity: 0; transform: translateY(26px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes revealDown {
      from { opacity: 0; transform: translateY(-14px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Cabeçalho: logo e menus descem suavemente e ganham opacidade */
    .header-reveal {
      opacity: 0;
      animation: revealDown .7s cubic-bezier(.22,.61,.36,1) forwards;
      animation-delay: var(--reveal-delay, 0s);
    }

    /* Linhas do título: cada uma revela a partir de baixo, em cascata */
    .hero-title .line {
      display: block;
      overflow: hidden;
    }

    .hero-title .line span {
      display: inline-block;
      opacity: 0;
      transform: translateY(100%);
      animation: revealUp .85s cubic-bezier(.22,.61,.36,1) forwards;
    }

    .hero-title .line:nth-child(1) span { animation-delay: .55s; }
    .hero-title .line:nth-child(2) span { animation-delay: .68s; }
    .hero-title .line:nth-child(3) span { animation-delay: .81s; }
    .hero-title .line:nth-child(4) span { animation-delay: .94s; }

    /* Parágrafo e botão do hero */
    .reveal {
      opacity: 0;
      animation: revealUp .8s cubic-bezier(.22,.61,.36,1) forwards;
    }

    .hero-desc.reveal { animation-delay: 1.1s; }
    .btn.reveal { animation-delay: 1.25s; }

    /* Respeita usuários que preferem menos movimento */
    @media (prefers-reduced-motion: reduce) {
      .header-reveal,
      .hero-title .line span,
      .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
      }
    }

    /* =========================================
       HEADER
    ========================================= */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      z-index: 1000;
      background-color: var(--color-blue-900);
      background-image:
        linear-gradient(90deg, rgba(0,17,41,0.55) 0%, rgba(0,40,86,0.35) 50%, rgba(0,17,41,0.55) 100%),
        url('../img/fundo-menu.webp');
      background-size: cover;
      background-position: center;
      transition: height .3s ease;
      /* Camada própria nas transições da galeria (filtros e "Ver mais"),
         para as fotos animadas não passarem por cima do menu. */
      view-transition-name: site-header;
    }

    ::view-transition-group(site-header) { z-index: 1; }

    .header-inner {
      height: 100%;
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    /* Nav centralizado como um único bloco: itens colados ao logo,
       saindo do centro para fora (não distribuídos nas bordas). */
    .main-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    /* As duas listas têm a mesma largura, então o espaço do logo
       fica sempre no centro, mesmo com quantidades diferentes de itens. */
    .nav-list {
      flex: 1 1 0;
      display: flex;
      align-items: center;
      gap: 44px;
    }

    .nav-list--left { justify-content: flex-end; margin-right: 212px; }
    .nav-list--right { justify-content: flex-start; margin-left: 212px; }

    .nav-list a {
      font-family: var(--font-archivo);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--color-white);
      position: relative;
      padding-bottom: 4px;
      white-space: nowrap;
    }

    .nav-list a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background-color: var(--color-blue-400);
      transition: width .25s ease;
    }

    .nav-list a:hover { color: var(--color-blue-400); }
    .nav-list a:hover::after { width: 100%; }

    .logo {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 1050;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translate(-50%, -50%);
    }

    .logo img {
      height: 142px;
      width: auto;
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 32px;
      height: 32px;
      background: transparent;
      border: none;
      padding: 0;
      z-index: 1100;
      position: absolute;
      left: 24px;
      top: 50%;
      transform: translateY(-50%);
    }

    .nav-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--color-white);
      transition: transform .3s ease, opacity .3s ease;
    }

    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* =========================================
       HERO
    ========================================= */
    .hero {
      position: relative;
      width: 100%;
      min-height: 92vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background-color: var(--color-black);
    }

    .hero-media {
      position: absolute;
      inset: -8% 0;
      width: 100%;
      height: 116%;
      will-change: transform;
    }

    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      animation: heroZoom 9s cubic-bezier(.19,.68,.34,1) forwards;
    }

    /* Zoom lento e sutil na imagem ao carregar a página (efeito cinematográfico) */
    @keyframes heroZoom {
      from { transform: scale(1.13); }
      to   { transform: scale(1.06); }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-img { animation: none; transform: scale(1); }
    }

    /* foto_destaque.webp já vem com o gradiente escuro aplicado à esquerda;
       este overlay só reforça levemente a legibilidade do texto. */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        90deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.15) 30%,
        rgba(0,0,0,0) 55%
      );
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
      padding-top: var(--header-height);
    }

    .hero-text {
      max-width: 620px;
      padding: 60px 0;
    }

    .hero-title {
      font-family: var(--font-sora);
      font-weight: 400;
      font-size: 48px;
      line-height: 1.18;
      color: var(--color-white);
      letter-spacing: -0.01em;
    }

    .hero-desc {
      font-family: var(--font-sora);
      font-weight: 300;
      font-size: 15px;
      line-height: 1.75;
      color: var(--color-gray-300);
      max-width: 400px;
      margin-top: 28px;
    }

    .hero-text .btn {
      margin-top: 32px;
    }

    /* =========================================
       RESPONSIVE
    ========================================= */
    @media (max-width: 1279px) {
      .nav-list { gap: 28px; }
      .nav-list--left { margin-right: 150px; }
      .nav-list--right { margin-left: 150px; }
    }

    @media (max-width: 1100px) {
      .nav-list { gap: 26px; }
      .nav-list--left { margin-right: 130px; }
      .nav-list--right { margin-left: 130px; }
      .header-inner { padding: 0 24px; }
      .logo img { height: 116px; }
      .hero-title { font-size: 40px; }
    }

    /* =========================================
       RODAP�? �?" Informações e redes sociais
    ========================================= */
    .site-footer {
      background-color: var(--color-blue-900);
      background-image:
        linear-gradient(90deg, rgba(0,17,41,0.28), rgba(0,40,86,0.12)),
        url('../img/fundo-rodape.webp');
      background-size: cover;
      background-position: center;
      color: var(--color-white);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 64px;
      min-height: 250px;
      padding-top: 34px;
      padding-bottom: 34px;
    }

    .footer-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .footer-logo {
      width: 155px;
      height: auto;
      margin-bottom: 18px;
    }

    .footer-address {
      color: var(--color-gray-100);
      font-family: var(--font-sora);
      font-size: 13px;
      font-weight: 300;
      font-style: normal;
      line-height: 1.45;
    }

    .footer-social {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      min-width: 210px;
    }

    .footer-social-title {
      color: var(--color-gray-100);
      font-family: var(--font-sora);
      font-size: 13px;
      font-weight: 300;
    }

    .footer-social-links {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      color: var(--color-blue-400);
      transition: color .25s ease, transform .25s ease;
    }

    .footer-social-link:hover {
      color: var(--color-white);
      transform: translateY(-2px);
    }

    .footer-social-link svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
    }

    /* Assinatura: direitos reservados e crédito da agência */
    .footer-base {
      padding: 14px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background-color: #001a38;
    }

    .footer-base-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .footer-base p {
      color: var(--color-gray-300);
      font-family: var(--font-sora);
      font-size: 11px;
      font-weight: 300;
      line-height: 1.5;
    }

    .footer-base a {
      flex-shrink: 0;
      color: var(--color-white);
      font-family: var(--font-archivo);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .04em;
      transition: color .25s ease;
    }

    .footer-base a:hover { color: var(--color-blue-400); }

    @media (max-width: 700px) {
      .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 36px;
        padding-top: 48px;
        padding-bottom: 48px;
        text-align: center;
      }

      .footer-info { align-items: center; }
      .footer-address { font-size: 12px; }

      .footer-base { padding: 18px 0; }

      .footer-base-inner {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        text-align: center;
      }
    }

    /* =========================================
       CLIENTES �?" Empresas atendidas
    ========================================= */
    .clients {
      background-color: var(--color-white);
      padding: 86px 0 96px;
    }

    .clients-inner {
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
    }

    .clients-title {
      margin-bottom: 18px;
      font-size: 26px;
    }

    .clients-intro {
      max-width: 510px;
      margin: 0 auto;
      color: var(--color-gray-600);
      font-family: var(--font-sora);
      font-size: 12px;
      font-weight: 300;
      line-height: 1.65;
    }

    .clients-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      align-items: center;
      gap: 34px 42px;
      max-width: 820px;
      margin: 50px auto 0;
    }

    .client-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 58px;
    }

    .client-logo img {
      width: auto;
      max-width: 100%;
      max-height: 52px;
      object-fit: contain;
      filter: grayscale(1);
      opacity: .58;
    }

    @media (max-width: 991px) {
      .clients { padding: 72px 0 78px; }
      .clients-grid { gap: 28px 24px; margin-top: 40px; }
    }

    @media (max-width: 560px) {
      .clients { padding: 62px 0 68px; }
      .clients-title { font-size: 22px; }
      .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; margin-top: 34px; }
      .client-logo { min-height: 48px; }
      .client-logo img { max-height: 42px; }
    }

    /* =========================================
       MÁQUINAS — Portfólio de equipamentos
    ========================================= */
    .machines {
      background-color: var(--color-gray-100);
      padding: 92px 0 96px;
    }

    .machines-inner {
      max-width: 780px;
      margin: 0 auto;
      text-align: center;
    }

    .machines-title {
      margin-bottom: 22px;
      font-size: 28px;
    }

    .machines-intro {
      max-width: 510px;
      margin: 0 auto;
      color: var(--color-gray-600);
      font-family: var(--font-sora);
      font-size: 13px;
      font-weight: 300;
      line-height: 1.6;
    }

    .machines-list-wrap {
      position: relative;
      margin-top: 42px;
    }

    .machines-list-toggle {
      position: relative;
      width: 100%;
      min-height: 46px;
      padding: 0 48px 0 28px;
      border: 0;
      border-radius: 24px;
      outline: none;
      background-color: var(--color-white);
      color: var(--color-gray-500);
      font-family: var(--font-sora);
      font-size: 14px;
      font-weight: 300;
      text-align: left;
      cursor: pointer;
      transition: background-color .25s ease, box-shadow .25s ease, border-radius .25s ease;
    }

    .machines-list-toggle:hover {
      background-color: #f5f8fb;
    }

    .machines-list-toggle:focus-visible {
      box-shadow: 0 0 0 3px rgba(0, 148, 205, 0.3);
    }

    .machines-list-toggle[aria-expanded="true"] {
      border-radius: 8px 8px 0 0;
      box-shadow: none;
    }

    .machines-list-arrow {
      position: absolute;
      top: 50%;
      right: 20px;
      color: var(--color-gray-500);
      font-size: 14px;
      transition: transform .25s ease;
      transform: translateY(-50%) rotate(180deg);
    }

    .machines-list-toggle[aria-expanded="true"] .machines-list-arrow {
      transform: translateY(-50%) rotate(0deg);
    }

    .machines-list-panel {
      overflow: hidden;
      padding: 0 0 22px;
      border: 1px solid #d9e3eb;
      border-top: 0;
      border-radius: 0 0 8px 8px;
      background-color: var(--color-white);
      text-align: left;
      box-shadow: 0 14px 30px rgba(0, 40, 86, 0.1);
    }

    .machines-table-scroll {
      overflow-x: auto;
    }

    .machines-table {
      width: 100%;
      min-width: 650px;
      border-collapse: collapse;
      color: var(--color-gray-700);
      font-family: var(--font-public);
      font-size: 11px;
    }

    .machines-table th {
      padding: 12px 14px;
      background-color: var(--color-blue-900);
      color: var(--color-white);
      font-family: var(--font-archivo);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .06em;
      text-align: left;
      text-transform: uppercase;
    }

    .machines-table th:last-child,
    .machines-table td:last-child {
      width: 42px;
      text-align: center;
    }

    .machines-table td {
      padding: 10px 14px;
      border-bottom: 1px solid #e5ebf0;
      line-height: 1.45;
      vertical-align: top;
    }

    .machines-table tbody tr:nth-child(odd) {
      background-color: #f7fafc;
    }

    .machines-table tbody tr:hover {
      background-color: #eaf7fb;
    }

    .machines-table td:first-child {
      color: var(--color-blue-800);
      font-weight: 600;
    }

    .machines-table td:last-child {
      color: var(--color-blue-500);
      font-family: var(--font-archivo);
      font-weight: 700;
    }

    .machines-note {
      margin: 18px 20px 0;
      padding-top: 16px;
      border-top: 1px solid #e5ebf0;
      color: var(--color-gray-600);
      font-family: var(--font-sora);
      font-size: 10px;
      line-height: 1.5;
    }

    .machines-whatsapp {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin: 8px 20px 0;
      color: var(--color-blue-400);
      font-family: var(--font-archivo);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .04em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .machines-whatsapp:hover {
      color: var(--color-blue-500);
      text-decoration: underline;
    }

    @media (max-width: 991px) {
      .machines { padding: 72px 0 76px; }
      .machines-title { font-size: 25px; }
    }

    @media (max-width: 560px) {
      .machines { padding: 62px 0 66px; }
      .machines-title { font-size: 22px; }
      .machines-intro { font-size: 12px; }
      .machines-list-wrap { margin-top: 32px; }
      .machines-list-toggle { padding-left: 20px; font-size: 12px; }
      .machines-list-arrow { right: 16px; }
    }

    @media (max-width: 991px) {
      :root {
        --header-height: var(--header-height-mobile);
      }

      .nav-toggle { display: flex; }

      .header-inner { justify-content: center; }

      .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 82%);
        height: 100vh;
        background-color: var(--color-blue-900);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px;
        transition: right .35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
      }

      .main-nav.open { right: 0; }

      .nav-list,
      .nav-list--left,
      .nav-list--right {
        flex: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        width: 100%;
        margin: 0 !important;
      }

      .nav-list--left { margin-bottom: 24px !important; }

      .logo {
        padding: 0;
      }

      .logo img { height: 64px; }

      .hero { min-height: 100vh; }
      .hero-img { object-position: 80% center; }
      .hero-overlay {
        background: linear-gradient(
          180deg,
          rgba(0,0,0,0.5) 0%,
          rgba(0,0,0,0.75) 55%,
          rgba(0,0,0,0.95) 100%
        );
      }

      .hero-content { padding-top: var(--header-height-mobile); }
      .hero-text { padding: 40px 0 60px; max-width: 100%; }
      .hero-title { font-size: 32px; }
      .container { padding-right: 24px; padding-left: 24px; }
    }

    @media (max-width: 480px) {
      .hero-title { font-size: 28px; }
      .hero-desc { font-size: 14px; }
      .btn { padding: 14px 22px; font-size: 12px; }
    }

    /* =========================================

    /* =========================================
       CONTATO �?" Formulário de orçamento
    ========================================= */
    .contact {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 520px;
      background-color: var(--color-black-2);
    }

    .contact-image {
      min-height: 520px;
      background-image: url('../img/foto-contato.webp');
      background-size: cover;
      background-position: center;
    }

    .contact-form-panel {
      display: flex;
      align-items: center;
      padding: 72px clamp(40px, 8vw, 120px);
      background-color: var(--color-black-2);
    }

    .contact-form-inner {
      width: 100%;
      max-width: 520px;
    }

    .contact-title {
      margin-bottom: 42px;
      color: var(--color-white);
      font-family: var(--font-sora);
      font-size: 28px;
      font-weight: 400;
      line-height: 1.2;
    }

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

    .contact-field {
      position: relative;
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .contact-field--full { grid-column: 1 / -1; }

    .contact-field label {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100%;
      pointer-events: none;
      padding: 7px 7px 4px;
      background-color: var(--color-gray-600);
      color: var(--color-white);
      font-family: var(--font-montserrat);
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .contact-field input,
    .contact-field textarea {
      width: 100%;
      border: 0;
      border-radius: 0;
      outline: none;
      background-color: var(--color-gray-600);
      color: var(--color-white);
      font-family: var(--font-montserrat);
      font-size: 13px;
      resize: vertical;
    }

    .contact-field input { height: 40px; padding: 21px 7px 4px; line-height: 1.2; }
    .contact-field textarea { min-height: 104px; padding: 22px 7px 8px; line-height: 1.4; }

    .contact-field input:focus,
    .contact-field textarea:focus {
      box-shadow: inset 0 0 0 2px var(--color-blue-400);
    }

    .contact-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 16px;
      grid-column: 1 / -1;
      margin-top: 2px;
    }

    .contact-submit {
      padding: 13px 28px;
      background-color: var(--color-blue-400);
      color: var(--color-white);
      font-family: var(--font-archivo);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .contact-submit:hover {
      background-color: var(--color-blue-500);
      transform: translateY(-1px);
    }

    .contact-status {
      color: var(--color-blue-400);
      font-family: var(--font-montserrat);
      font-size: 11px;
    }

    @media (max-width: 991px) {
      .contact { grid-template-columns: 1fr; }
      .contact-image { min-height: min(560px, 70vw); }
      .contact-form-panel { padding: 64px 40px 72px; }
      .contact-form-inner { max-width: 620px; margin: 0 auto; }
    }

    @media (max-width: 560px) {
      .contact-image { min-height: 78vw; }
      .contact-form-panel { padding: 52px 24px 60px; }
      .contact-title { margin-bottom: 30px; font-size: 24px; }
      .contact-form { grid-template-columns: 1fr; }
      .contact-field--full { grid-column: auto; }
      .contact-actions { grid-column: auto; }
     }

     /* =========================================
       SOBRE / VÍDEO INSTITUCIONAL
     ========================================= */
    .about-video {
      position: relative;
      background-color: var(--color-blue-900);
      background-image:
        linear-gradient(120deg, rgba(0,17,41,0.25) 0%, rgba(0,40,86,0.1) 60%),
        url('../img/fundo_video.webp');
      background-size: cover;
      background-position: center;
      padding: 110px 0;
      overflow: hidden;
    }

    .about-video-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 90px;
    }

    /* --- Vídeo / thumbnail --- */
    .video-box {
      flex-shrink: 0;
      width: 340px;
    }

    .video-thumb {
      position: relative;
      width: 100%;
      aspect-ratio: 9 / 16;
      background:
        radial-gradient(120% 100% at 30% 20%, rgba(0,148,205,0.12) 0%, rgba(0,148,205,0) 55%),
        linear-gradient(160deg, #0C4175 0%, #051B3A 100%);
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    }

    .video-embed {
      width: 120%;
      height: 120%;
      display: block;
      border: 0;
      background: #000;
      margin-left: -10%;
      margin-top: -10%;
    }

    .play-btn {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      padding: 0;
    }

    .play-ring {
      position: absolute;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: rgba(255,255,255,0.14);
      animation: playPulse 2.6s ease-out infinite;
    }

    .play-ring--delay { animation-delay: 1.3s; }

    @keyframes playPulse {
      0%   { transform: scale(0.55); opacity: .7; }
      70%  { opacity: 0; }
      100% { transform: scale(1.15); opacity: 0; }
    }

    .play-icon {
      position: relative;
      width: 34px;
      height: auto;
      filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
      transition: transform .3s ease;
    }

    .play-btn:hover .play-icon { transform: scale(1.15); }
    .play-btn:focus-visible { outline: 2px solid var(--color-blue-400); outline-offset: 6px; }

    /* --- Texto --- */
    .about-text { max-width: 560px; }

    .about-text h2 {
      font-family: var(--font-sora);
      font-weight: 400;
      font-size: 34px;
      line-height: 1.25;
      color: var(--color-white);
      letter-spacing: -0.01em;
    }

    .about-text p {
      font-family: var(--font-sora);
      font-weight: 300;
      font-size: 14.5px;
      line-height: 1.8;
      color: var(--color-gray-300);
      margin-top: 26px;
      max-width: 480px;
    }

    .btn-whatsapp {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 32px;
      background-color: var(--color-blue-400);
      color: var(--color-white);
    }

    .btn-whatsapp:hover {
      background-color: var(--color-blue-500);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0, 148, 205, 0.35);
    }

    .btn-whatsapp svg { width: 17px; height: 17px; flex-shrink: 0; }

    /* =========================================
       ANIMA�?�fO DE ENTRADA AO ROLAR (reveal on scroll)
       �?" reutilizável nas próximas seções do site
    ========================================= */
    .reveal-onscroll {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
      transition-delay: var(--delay, 0s);
    }

    .reveal-onscroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal-onscroll { transition: none; opacity: 1; transform: none; }
    }

    @media (max-width: 991px) {
      .about-video {
        padding: 70px 0;
        background-color: var(--color-blue-900);
        background-image:
          linear-gradient(180deg, rgba(0,17,41,0.2), rgba(0,40,86,0.35)),
          url('../img/fundo_video.webp');
        background-size: cover;
        background-position: center;
      }

      .about-video-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
      }

      .video-box { width: min(280px, 70vw); }

      .about-text { max-width: 100%; }
      .about-text p { margin-left: auto; margin-right: auto; }
      .about-text h2 { font-size: 28px; }
    }

    @media (max-width: 480px) {
      .about-text h2 { font-size: 24px; }
    }

    /* =========================================
       SERVIÇOS — O que nós fazemos
    ========================================= */
    .services {
      background-color: var(--color-white);
      padding: 110px 0;
    }

    .section-title {
      font-family: var(--font-sora);
      font-weight: 400;
      font-size: 32px;
      color: var(--color-black-3);
      text-align: center;
      letter-spacing: -0.01em;
      margin-bottom: 64px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .service-card {
      border: 1px solid transparent;
      border-radius: 10px;
      padding: 16px;
      margin: -16px;
      transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
    }

    .service-card:hover,
    .service-card:focus-within {
      border-color: var(--color-gray-300);
      box-shadow: 0 24px 48px rgba(0, 40, 86, 0.1);
      transform: translateY(-4px);
    }

    .service-img {
      border-radius: 6px;
      overflow: hidden;
      aspect-ratio: 235 / 172;
      background-color: var(--color-gray-100);
    }

    .service-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: grayscale(1) contrast(1.02);
      transform: scale(1.001); /* evita artefato de sub-pixel no filter */
      transition: filter .6s ease;
    }

    .service-card:hover .service-img img,
    .service-card:focus-within .service-img img {
      filter: grayscale(0);
    }

    .service-card h3 {
      font-family: var(--font-public);
      font-weight: 600;
      font-size: 19px;
      letter-spacing: 0.01em;
      color: var(--color-black-3);
      margin: 24px 0 16px;
    }

    .service-highlight {
      font-family: var(--font-sora);
      font-weight: 600;
      font-size: 14px;
      line-height: 1.65;
      color: var(--color-black-3);
      margin-bottom: 14px;
    }

    .service-desc {
      font-family: var(--font-sora);
      font-weight: 300;
      font-size: 13.5px;
      line-height: 1.8;
      color: var(--color-gray-600);
    }

    @media (max-width: 1100px) {
      .services-grid { gap: 16px; }
      .service-card h3 { font-size: 17px; }
    }

    @media (max-width: 900px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
      }
    }

    @media (max-width: 991px) {
      .services { padding: 70px 0; }
      .section-title { font-size: 26px; margin-bottom: 44px; }
    }

    @media (max-width: 560px) {
      .services-grid { grid-template-columns: 1fr; row-gap: 40px; }
    }

    /* =========================================
       ESTRUTURA �?" Capacidade industrial
    ========================================= */
    .structure {
      position: relative;
      min-height: 420px;
      padding: 64px 0;
      background-color: var(--color-blue-900);
      background-image:
        linear-gradient(120deg, rgba(0,17,41,0.42) 0%, rgba(0,40,86,0.12) 68%),
        url('../img/fundo-capacidade.webp');
      background-size: cover;
      background-position: center;
      overflow: visible;
    }

    .structure-inner {
      position: relative;
      min-height: 292px;
      display: flex;
      align-items: center;
    }

    .structure-copy {
      position: relative;
      z-index: 2;
      width: min(390px, 42%);
      color: var(--color-white);
    }

    .structure-copy h2 {
      font-family: var(--font-sora);
      font-size: 30px;
      font-weight: 400;
      line-height: 1.28;
      letter-spacing: -0.01em;
    }

    .structure-copy > p {
      max-width: 350px;
      margin-top: 16px;
      color: var(--color-gray-300);
      font-family: var(--font-sora);
      font-size: 13px;
      font-weight: 300;
      line-height: 1.7;
    }

    .structure-stats {
      display: grid;
      gap: 0;
      margin-top: 28px;
    }

    .structure-stat {
      padding: 16px 24px 17px;
      border: 1px solid rgba(0,148,205,0.48);
      border-radius: 12px;
      background: rgba(0,40,86,0.24);
    }

    .structure-stat + .structure-stat { margin-top: 10px; }

    .structure-stat strong {
      display: block;
      color: var(--color-blue-400);
      font-family: var(--font-sora);
      font-size: 23px;
      font-weight: 400;
      line-height: 1.2;
    }

    .structure-stat span {
      display: block;
      margin-top: 10px;
      color: var(--color-gray-300);
      font-family: var(--font-sora);
      font-size: 12px;
      font-weight: 300;
      line-height: 1.45;
    }

    .structure-media {
      position: absolute;
      z-index: 3;
      top: -75px;
      right: 7%;
      width: min(390px, 34vw);
      height: calc(100% + 150px);
      overflow: hidden;
      box-shadow: 0 26px 55px rgba(0,0,0,0.3);
    }

    .structure-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    @media (max-width: 1100px) {
      .structure-media { right: 3%; width: min(460px, 47vw); }
      .structure-copy { width: min(360px, 44%); }
    }

    @media (max-width: 991px) {
      .structure {
        min-height: auto;
        padding: 70px 0 72px;
        overflow: visible;
      }

      .structure-inner {
        min-height: 0;
        display: block;
      }

      .structure-copy {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        text-align: center;
      }

      .structure-copy > p { margin-left: auto; margin-right: auto; }

      .structure-media {
        position: relative;
        top: auto;
        right: auto;
        width: min(560px, 100%);
        height: auto;
        aspect-ratio: 590 / 716;
        margin: 56px auto 0;
      }

      .structure-media img {
        object-fit: contain;
        object-position: center;
      }
    }

    @media (max-width: 480px) {
      .structure-copy h2 { font-size: 25px; }
      .structure-stat { padding: 14px 18px 15px; text-align: left; }
      .structure-stat strong { font-size: 20px; }
      .structure { padding-bottom: 60px; }
      .structure-media { height: auto; margin-top: 44px; }
    }

    /* =========================================
       DIFERENCIAIS �?" Qualidade e capacidade
    ========================================= */
    .differentials {
      background-color: var(--color-gray-100);
      padding: 92px 0;
    }

    .differentials-title {
      margin-bottom: 40px;
      font-size: 27px;
    }

    .differentials-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      max-width: 960px;
      margin: 0 auto;
    }

    .differential {
      min-height: 196px;
      padding: 0 28px;
      text-align: center;
    }

    .differential + .differential {
      border-left: 1px solid rgba(255,255,255,0.9);
    }

    .differential-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 18px;
      object-fit: contain;
    }

    .differential h3 {
      color: var(--color-gray-600);
      font-family: var(--font-public);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.04em;
      line-height: 1.35;
      text-transform: uppercase;
    }

    .differential p {
      max-width: 205px;
      margin: 12px auto 0;
      color: var(--color-black-3);
      font-family: var(--font-sora);
      font-size: 12px;
      font-weight: 400;
      line-height: 1.6;
    }

    @media (max-width: 991px) {
      .differentials { padding: 76px 0; }
      .differentials-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
      .differential:nth-child(3) { border-left: 0; }
    }

    @media (max-width: 560px) {
      .differentials-title { font-size: 23px; margin-bottom: 34px; }
      .differentials { padding: 68px 0; }
      .differentials-grid { grid-template-columns: 1fr; row-gap: 30px; }
      .differential { min-height: 0; padding: 0 20px 30px; }
      .differential + .differential { border-left: 0; border-top: 1px solid rgba(255,255,255,0.9); padding-top: 30px; }
    }

    /* =========================================
       GALERIA — Fotos de peças e máquinas
    ========================================= */
    .gallery {
      background-color: var(--color-white);
      padding: 72px 0 88px;
      overflow: hidden;
    }

    .gallery-header {
      max-width: 560px;
      margin: 0 auto 34px;
      text-align: center;
    }

    .gallery-title {
      margin-bottom: 18px;
      font-size: 28px;
    }

    .gallery-intro {
      color: var(--color-gray-600);
      font-family: var(--font-sora);
      font-size: 12px;
      font-weight: 300;
      line-height: 1.65;
    }

    .gallery-filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }

    .gallery-filters[hidden] { display: none; }

    .gallery-filter {
      padding: 11px 22px;
      border: 1px solid var(--color-gray-300);
      border-radius: 999px;
      background-color: var(--color-white);
      color: var(--color-gray-700);
      font-family: var(--font-archivo);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      transition: background-color .25s ease, border-color .25s ease, color .25s ease;
    }

    .gallery-filter:hover {
      border-color: var(--color-blue-400);
      color: var(--color-blue-500);
    }

    .gallery-filter[aria-pressed="true"] {
      border-color: var(--color-blue-900);
      background-color: var(--color-blue-900);
      color: var(--color-white);
    }

    .gallery-filter:focus-visible {
      outline: 3px solid rgba(0, 177, 235, 0.45);
      outline-offset: 2px;
    }

    /* Grade bento: a posição e o tamanho de cada foto são calculados em
       main.js; aqui ficam só o número de colunas e a altura das linhas. */
    .gallery-grid-wrap { container-type: inline-size; }

    .gallery-grid {
      --cols: 5;
      --gap: 10px;
      display: grid;
      grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
      grid-auto-rows: 240px;
      grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * .9);
      gap: var(--gap);
    }

    .gallery-item {
      position: relative;
      display: block;
      overflow: hidden;
      isolation: isolate;
      border-radius: 12px;
      background-color: var(--color-gray-100);
    }

    .gallery-item[hidden] { display: none; }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .8s cubic-bezier(.2,.7,.2,1);
    }

    .gallery-item::before,
    .gallery-item::after {
      content: '';
      position: absolute;
      z-index: 1;
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s ease, transform .4s ease;
    }

    .gallery-item::before {
      inset: 0;
      background: linear-gradient(to top, rgba(0, 28, 61, 0.45) 0%, rgba(0, 28, 61, 0) 55%);
    }

    /* Ícone de ampliar no canto da foto */
    .gallery-item::after {
      right: 14px;
      bottom: 14px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002856' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 18px no-repeat;
      transform: translateY(6px);
    }

    @media (hover: hover) {
      .gallery-item:hover img { transform: scale(1.06); }
      .gallery-item:hover::before { opacity: 1; }
      .gallery-item:hover::after { opacity: 1; transform: none; }
    }

    .gallery-item:focus-visible {
      outline: 3px solid var(--color-blue-400);
      outline-offset: 3px;
    }

    .gallery-item:focus-visible::after { opacity: 1; transform: none; }

    .gallery-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 14px;
      margin-top: 40px;
    }

    .gallery-actions .btn-whatsapp { margin-top: 0; }

    .gallery-more {
      padding: 15px 27px;
      border: 1px solid var(--color-blue-900);
      background-color: transparent;
      color: var(--color-blue-900);
    }

    .gallery-more:hover {
      background-color: var(--color-blue-900);
      color: var(--color-white);
    }

    .gallery-more[hidden] { display: none; }

    ::view-transition-group(*) {
      animation-duration: .45s;
      animation-timing-function: cubic-bezier(.2,.7,.2,1);
    }

    @media (max-width: 991px) {
      .gallery { padding: 64px 0 76px; }
      .gallery-grid { --cols: 4; --gap: 10px; }
    }

    @media (max-width: 599px) {
      .gallery-grid { --cols: 3; --gap: 6px; }
      .gallery-item { border-radius: 8px; }
      .gallery-item::after { display: none; }
    }

    @media (max-width: 560px) {
      .gallery { padding: 58px 0 68px; }
      .gallery-title { font-size: 24px; }
      .gallery-header { margin-bottom: 26px; }
      .gallery-actions { flex-direction: column; margin-top: 32px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .gallery-item img,
      .gallery-item::before,
      .gallery-item::after { transition: none; }
      .gallery-item:hover img { transform: none; }
    }

    /* =========================================
       LIGHTBOX — Foto ampliada da galeria
    ========================================= */
    .lightbox {
      width: 100%;
      height: 100%;
      max-width: none;
      max-height: none;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--color-white);
      overflow: hidden;
    }

    .lightbox[open] {
      display: flex;
      align-items: center;
      justify-content: center;
      animation: lightboxIn .3s ease;
    }

    .lightbox::backdrop {
      background: rgba(0, 10, 26, 0.92);
    }

    @keyframes lightboxIn {
      from { opacity: 0; transform: scale(.97); }
      to { opacity: 1; transform: none; }
    }

    .lightbox-figure {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      max-width: calc(100vw - 180px);
      margin: 0;
    }

    .lightbox-img {
      width: auto;
      max-width: 100%;
      height: auto;
      max-height: calc(100vh - 120px);
      max-height: calc(100dvh - 120px);
      border-radius: 10px;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
      transition: opacity .25s ease;
    }

    .lightbox-img.is-loading { opacity: 0; }

    .lightbox-caption {
      display: flex;
      gap: 14px;
      color: rgba(255, 255, 255, 0.75);
      font-family: var(--font-archivo);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lightbox-counter { color: var(--color-blue-400); }

    .lightbox-btn {
      position: absolute;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
      color: var(--color-white);
      transition: background-color .2s ease;
    }

    .lightbox-btn:hover { background-color: rgba(255, 255, 255, 0.22); }

    .lightbox-btn:focus-visible {
      outline: 3px solid var(--color-blue-400);
      outline-offset: 2px;
    }

    .lightbox-btn[hidden] { display: none; }

    .lightbox-btn svg {
      width: 24px;
      height: 24px;
      fill: currentColor;
    }

    .lightbox-close { top: 20px; right: 20px; }

    .lightbox-prev,
    .lightbox-next {
      top: 50%;
      transform: translateY(-50%);
    }

    .lightbox-prev { left: 24px; }
    .lightbox-next { right: 24px; }

    @media (max-width: 599px) {
      .lightbox-figure { max-width: calc(100vw - 24px); }
      .lightbox-img {
        max-height: calc(100vh - 200px);
        max-height: calc(100dvh - 200px);
      }
      .lightbox-close { top: 12px; right: 12px; }
      .lightbox-prev,
      .lightbox-next {
        top: auto;
        bottom: 24px;
        transform: none;
      }
      .lightbox-prev { left: calc(50% - 60px); }
      .lightbox-next { right: calc(50% - 60px); }
    }

    @media (prefers-reduced-motion: reduce) {
      .lightbox[open] { animation: none; }
      .lightbox-img { transition: none; }
    }
