  /* ---------- CORES E FONTE (tiradas do logo) ---------- */
  :root {
    --vinho: #8E0000;          /* vermelho da marca */
    --vinho-escuro: #6E0000;   /* vermelho mais escuro (hover) */
    --vinho-fundo: #3E0000;    /* fundos escuros */
    --aco: #858789;            /* cinza da marca */
    --grafite: #2A2B2E;        /* cinza bem escuro */
    --texto: #26262A;
    --texto-suave: #5C5E61;
    --fundo: #F4F4F5;
    --claro: #FFFFFF;
    --linha: #D9D9DC;

    --fonte: "Montserrat", "Segoe UI", Arial, sans-serif;
    --largura: 1180px;
  }

  /* ---------- BASE ---------- */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
  body { margin: 0; font-family: var(--fonte); font-size: 1rem; line-height: 1.7; color: var(--texto); background: var(--fundo); }
  h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.015em; }
  h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
  h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
  h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }
  p { margin: 0 0 1em; max-width: 60ch; }
  a { color: var(--vinho); }
  img { max-width: 100%; display: block; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  :focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; }

  .container { width: min(var(--largura), 100% - 2.5rem); margin-inline: auto; }
  section { padding: 5.5rem 0; }
  .titulo-secao { max-width: 46rem; margin-bottom: 3rem; }
  .chamada { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vinho); margin-bottom: .9rem; }

  /* ---------- BOTÕES ---------- */
  .botao {
    display: inline-block; padding: .95rem 1.7rem; background: var(--vinho); color: var(--claro);
    font: 600 .98rem var(--fonte); text-decoration: none; border: 2px solid var(--vinho); border-radius: 3px;
    cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  }
  .botao:hover { background: var(--vinho-escuro); border-color: var(--vinho-escuro); }
  .botao.contorno { background: transparent; color: var(--texto); border-color: var(--aco); }
  .botao.contorno:hover { background: var(--texto); border-color: var(--texto); color: var(--claro); }
  .botao.claro { background: var(--claro); color: var(--vinho); border-color: var(--claro); }
  .botao.claro:hover { background: transparent; color: var(--claro); }
  .link-seta { font-weight: 700; text-decoration: none; }
  .link-seta:hover { text-decoration: underline; }

  /* ---------- IMAGENS PROVISÓRIAS ----------
     Onde houver <div class="ph">, troque por: <img src="imagens/arquivo.jpg" alt="Descrição">
     (a classe do elemento pode ficar, ex.: <img class="ph" ...>) */
  .ph {
    width: 100%; object-fit: cover; border-radius: 3px;
    background:
      linear-gradient(135deg, rgba(142,0,0,.92) 0 22%, transparent 22%),
      linear-gradient(160deg, #9A9C9E, var(--aco));
  }

  /* ---------- BARRA SUPERIOR ---------- */
  .topo-barra { background: var(--vinho-fundo); color: #F1DEDE; font-size: .85rem; }
  .topo-barra .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.5rem; padding: .5rem 0; }
  .topo-barra a { color: #F1DEDE; text-decoration: none; font-weight: 600; }
  .topo-barra a:hover { text-decoration: underline; }
  .topo-barra .redes { display: flex; gap: 1.1rem; }

  /* ---------- CABEÇALHO ---------- */
  header.principal { background: var(--claro); border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 20; }
  .barra { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; }
  .marca img { height: 44px; width: auto; }
  nav.menu > ul { display: flex; align-items: center; gap: .25rem 1.6rem; }
  nav.menu a { color: var(--texto); text-decoration: none; font-weight: 600; font-size: .93rem; }
  nav.menu a:hover { color: var(--vinho); }
  nav.menu a.botao { color: var(--claro); padding: .65rem 1.2rem; }
  .tem-sub { position: relative; }
  .tem-sub > a::after { content: " ▾"; font-size: .75em; }
  .sub {
    position: absolute; left: -2rem; top: 100%; width: min(640px, 92vw); padding: 1.5rem 2rem;
    background: var(--claro); border: 1px solid var(--linha); border-top: 4px solid var(--vinho);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    display: none; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  }
  .tem-sub:hover .sub, .tem-sub:focus-within .sub { display: grid; }
  .sub h4 { font-size: .8rem; color: var(--vinho); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }
  .sub li { margin-bottom: .45rem; }
  .sub a { font-weight: 500; font-size: .9rem; }
  .menu-btn { display: none; background: none; border: 2px solid var(--aco); border-radius: 3px; padding: .4rem .8rem; font: 600 .9rem var(--fonte); color: var(--texto); cursor: pointer; }

  /* ---------- CARROSSEL DE DESTAQUES (HERO) ---------- */
  .hero { position: relative; padding: 0; background: var(--vinho-fundo); color: var(--claro); overflow: hidden; }
  .slides { display: grid; }
  .slide {
    grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
    padding: 5rem 0 6rem;
  }
  .slide.ativo { opacity: 1; visibility: visible; }
  .slide:nth-child(1) { background: linear-gradient(120deg, var(--vinho-fundo) 40%, #6A0000); }
  .slide:nth-child(2) { background: linear-gradient(120deg, var(--grafite) 40%, #4A4C50); }
  .slide:nth-child(3) { background: linear-gradient(120deg, #2B0000 40%, var(--vinho-escuro)); }
  .slide .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
  .slide .chamada { color: #E9B9B9; }
  .slide p.lead { font-size: 1.1rem; color: #EBDCDC; max-width: 50ch; margin-bottom: 2rem; }
  .slide .ph { aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.18); }
  .controles { position: absolute; left: 0; right: 0; bottom: 1.75rem; z-index: 2; }
  .controles .container { display: flex; align-items: center; gap: 1rem; }
  .controles button {
    width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: transparent;
    color: var(--claro); font-size: 1.1rem; cursor: pointer;
  }
  .controles button:hover { background: var(--claro); color: var(--vinho); }
  .controles .contador { font-weight: 600; font-size: .9rem; min-width: 3.5rem; text-align: center; }

  /* ---------- SOLUÇÕES ---------- */
  .grade-solucoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
  .solucao { display: flex; flex-direction: column; }
  .solucao .ph { aspect-ratio: 4 / 3; margin-bottom: 1rem; border-bottom: 5px solid var(--vinho); }
  .solucao p { font-size: .9rem; color: var(--texto-suave); margin-bottom: .6rem; }
  .solucao h3 { margin-bottom: .6rem; }
  .solucao .link-seta { margin-top: auto; font-size: .92rem; }

  /* ---------- PASSO A PASSO ---------- */
  .passos { background: var(--vinho-fundo); color: #F1E3E3; }
  .passos h2 { color: var(--claro); }
  .passos .chamada { color: #E9B9B9; }
  .lista-passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: passo; }
  .lista-passos li { counter-increment: passo; border-top: 4px solid var(--vinho); padding-top: 1.25rem; }
  .lista-passos li::before { content: "0" counter(passo); display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--aco); margin-bottom: .8rem; }
  .lista-passos h3 { color: var(--claro); }
  .lista-passos p { color: #D9C2C2; font-size: .94rem; margin: 0; }

  /* ---------- BLOCOS COM IMAGEM ---------- */
  .bloco-duplo { background: var(--claro); }
  .bloco { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .bloco + .bloco { margin-top: 5rem; }
  .bloco .ph { aspect-ratio: 4 / 3; }
  .bloco.inverso .ph { order: 2; }
  .bloco p { color: var(--texto-suave); }
  .bloco .botao { margin-top: .75rem; }

  /* ---------- CASES ---------- */
  .grade-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .case .ph { aspect-ratio: 16 / 10; border-bottom: 5px solid var(--vinho); }
  .case .cliente { display: block; margin-top: 1rem; font-size: .8rem; font-weight: 700; color: var(--vinho); letter-spacing: .06em; text-transform: uppercase; }
  .case h3 { margin: .35rem 0 .5rem; }
  .case a { font-size: .92rem; }

  /* ---------- VÍDEO ---------- */
  .video { background: linear-gradient(120deg, var(--grafite), #4A4C50); color: var(--claro); text-align: center; padding: 5rem 0; }
  .video h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 1.25rem 0 0; }
  .play {
    width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 3px solid var(--claro); background: var(--vinho); color: var(--claro);
    font-size: 1.8rem; cursor: pointer; padding-left: .35rem; transition: transform .2s;
  }
  .play:hover { transform: scale(1.06); }
  dialog { width: min(900px, 94vw); padding: 0; border: 0; border-radius: 4px; background: #000; }
  dialog::backdrop { background: rgba(0,0,0,.75); }
  dialog .caixa { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--claro); padding: 1.5rem; text-align: center; }
  dialog iframe { width: 100%; height: 100%; border: 0; }
  dialog .fechar { position: absolute; top: .5rem; right: .5rem; z-index: 1; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: var(--claro); font-size: 1.2rem; cursor: pointer; }

  /* ---------- VANTAGENS ---------- */
  .vantagens { background: var(--claro); }
  .grade-vantagens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .vantagem { border-top: 5px solid var(--vinho); padding-top: 1.25rem; }
  .vantagem p { color: var(--texto-suave); font-size: .94rem; margin: 0; }

  /* ---------- RODAPÉ ---------- */
  footer { background: var(--claro); border-top: 5px solid var(--vinho); padding: 4rem 0 2rem; font-size: .93rem; color: var(--texto-suave); }
  .rodape-grade { display: grid; grid-template-columns: 1.1fr 1.6fr 1.1fr; gap: 3rem; }
  footer img { height: 40px; width: auto; margin-bottom: 1rem; }
  footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texto); margin-bottom: 1rem; }
  .telefones { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
  .telefones li strong { display: block; color: var(--texto); font-size: .8rem; }
  footer a { color: var(--texto); text-decoration: none; font-weight: 600; }
  footer a:hover { color: var(--vinho); }
  .newsletter { display: flex; gap: .5rem; margin-top: .5rem; }
  .newsletter input { flex: 1; min-width: 0; font: 400 .95rem var(--fonte); padding: .7rem .8rem; border: 1px solid #A9A9AE; border-radius: 3px; }
  .newsletter button { padding: .7rem 1rem; }
  .copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

  /* ---------- BOTÃO FLUTUANTE DE WHATSAPP ---------- */
  .zap {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 30; display: inline-flex; align-items: center; gap: .6rem;
    background: var(--vinho); color: var(--claro); text-decoration: none; font-weight: 700; font-size: .92rem;
    padding: .8rem 1.2rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
  .zap:hover { background: var(--vinho-escuro); color: var(--claro); }
  .zap svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

  /* ---------- TABLET E CELULAR ---------- */
  @media (max-width: 1000px) {
    .grade-solucoes, .lista-passos, .grade-vantagens { grid-template-columns: repeat(2, 1fr); }
    .rodape-grade { grid-template-columns: 1fr 1fr; }
    .rodape-grade > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 1080px) {
    .menu-btn { display: block; }
    nav.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--claro); border-bottom: 1px solid var(--linha); padding: 1rem 1.25rem 1.5rem; }
    nav.menu.aberto { display: block; }
    nav.menu > ul { flex-direction: column; align-items: flex-start; gap: .9rem; }
    .tem-sub > a::after { content: ""; }
    .sub { position: static; display: grid; width: 100%; padding: .75rem 0 0 1rem; border: 0; box-shadow: none; grid-template-columns: 1fr; gap: .75rem; }
    .sub h4 { margin-bottom: .3rem; }
  }
  @media (max-width: 800px) {
    section { padding: 3.75rem 0; }
    .slide { padding: 3rem 0 6rem; }
    .slide .container, .bloco, .grade-cases { grid-template-columns: 1fr; gap: 2rem; }
    .bloco.inverso .ph { order: 0; }
    .bloco + .bloco { margin-top: 3.5rem; }
    .controles { bottom: 1.5rem; }
    .zap span { display: none; }
    .zap { padding: .9rem; }
  }
  @media (max-width: 560px) {
    .grade-solucoes, .lista-passos, .grade-vantagens, .rodape-grade { grid-template-columns: 1fr; }
    .telefones { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide, .botao, .play { transition: none; }
  }


/* ============================================================
   ANIMAÇÕES
   Para desligar uma animação, apague a regra correspondente.
   Quem usa "reduzir movimento" no aparelho não vê animações.
   ============================================================ */

/* Menu: sublinhado que cresce ao passar o mouse */
nav.menu a:not(.botao) {
  background: linear-gradient(var(--vinho), var(--vinho)) no-repeat 0 100% / 0 2px;
  padding-bottom: 2px;
  transition: background-size .25s, color .2s;
}
nav.menu a:not(.botao):hover { background-size: 100% 2px; }

/* Cabeçalho: ganha sombra e o logo diminui um pouco ao rolar */
header.principal { transition: box-shadow .3s; }
.marca img { transition: height .3s; }
header.principal.rolou { box-shadow: 0 6px 18px rgba(0,0,0,.09); }
header.principal.rolou .marca img { height: 36px; }

/* Botões: sobem levemente ao passar o mouse */
.botao { transition: background .2s, border-color .2s, color .2s, transform .2s; }
.botao:hover { transform: translateY(-2px); }

/* Links com seta: a seta anda para a direita */
.link-seta::after { content: "→"; display: inline-block; margin-left: .4rem; transition: transform .25s; }
.link-seta:hover::after { transform: translateX(5px); }

/* Cartões: sobem e ganham sombra */
.solucao, .case { transition: transform .3s; }
.solucao:hover, .case:hover { transform: translateY(-6px); }
.solucao .ph, .case .ph { transition: box-shadow .3s; }
.solucao:hover .ph, .case:hover .ph { box-shadow: 0 16px 28px rgba(0,0,0,.2); }

/* Barra de progresso do carrossel */
.progresso { flex: 1; max-width: 12rem; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.progresso span { display: block; width: 100%; height: 100%; background: var(--claro); transform: scaleX(0); transform-origin: left; }
.progresso.rodando span { animation: preencher var(--tempo, 7s) linear forwards; }
.hero.pausado .progresso span { animation-play-state: paused; }
@keyframes preencher { to { transform: scaleX(1); } }

/* Surgem ao rolar a página (o JavaScript liga esta animação) */
.js-anim .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--atraso, 0s);
}
.js-anim .revelar.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes subir { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes entrar-imagem { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
  @keyframes pulso {
    0%   { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(142,0,0,.5); }
    70%  { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 16px rgba(142,0,0,0); }
    100% { box-shadow: 0 8px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(142,0,0,0); }
  }
  @keyframes pulso-claro {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
    70%  { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  }

  /* Carrossel: texto sobe em sequência e a imagem entra com leve zoom */
  .slide.ativo .container > div > * { animation: subir .8s cubic-bezier(.2,.7,.2,1) both; }
  .slide.ativo .container > div > :nth-child(2) { animation-delay: .12s; }
  .slide.ativo .container > div > :nth-child(3) { animation-delay: .24s; }
  .slide.ativo .container > div > :nth-child(4) { animation-delay: .36s; }
  .slide.ativo .ph { animation: entrar-imagem 1s ease .15s both; }

  /* Título das páginas internas */
  .pagina-titulo .container > * { animation: subir .8s cubic-bezier(.2,.7,.2,1) both; }
  .pagina-titulo .container > :nth-child(2) { animation-delay: .12s; }
  .pagina-titulo .container > :nth-child(3) { animation-delay: .24s; }

  /* Botões que chamam a atenção: WhatsApp flutuante e play do vídeo */
  .zap { animation: pulso 2.8s infinite; }
  .play { animation: pulso-claro 2.4s infinite; }
}


/* ============================================================
   PÁGINA DE TEXTO (texto.html)
   ============================================================ */
.pagina-titulo { background: linear-gradient(120deg, var(--vinho-fundo) 40%, #6A0000); color: var(--claro); padding: 4rem 0 3.5rem; }
.pagina-titulo h1 { max-width: 26ch; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.pagina-titulo .meta { color: #EBDCDC; font-size: .92rem; margin: 0; }
.migalhas { font-size: .85rem; color: #E9B9B9; margin-bottom: 1.25rem; max-width: none; }
.migalhas a { color: #F1DEDE; text-decoration: none; }
.migalhas a:hover { text-decoration: underline; }

.texto-secao { background: var(--claro); padding: 4rem 0 5.5rem; }
.texto-corpo { max-width: 760px; margin-inline: auto; font-size: 1.075rem; line-height: 1.85; }
.texto-corpo p { max-width: none; }
.texto-corpo .abertura { font-size: 1.25rem; font-weight: 500; line-height: 1.7; }
.texto-corpo h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.75rem 0 1rem; }
.texto-corpo h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.texto-corpo ul, .texto-corpo ol { margin: 0 0 1.5em; }
.texto-corpo ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.texto-corpo ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: .6rem; height: .6rem; background: var(--vinho); }
.texto-corpo ol { list-style: decimal; padding-left: 1.5rem; }
.texto-corpo ol li { margin-bottom: .5rem; padding-left: .35rem; }
.texto-corpo ol li::marker { color: var(--vinho); font-weight: 700; }
.texto-corpo blockquote { margin: 2.25rem 0; padding: 1.4rem 1.6rem; border-left: 5px solid var(--vinho); background: var(--fundo); }
.texto-corpo blockquote p { margin: 0; font-size: 1.15rem; font-weight: 500; line-height: 1.6; }
.texto-corpo figure { margin: 2.25rem 0; }
.texto-corpo figure .ph { aspect-ratio: 16 / 9; border-bottom: 5px solid var(--vinho); }
.texto-corpo figcaption { margin-top: .6rem; font-size: .88rem; color: var(--texto-suave); }
.texto-corpo a { font-weight: 600; }
.chamada-final { margin-top: 3.5rem; padding: 2.25rem; background: var(--vinho-fundo); color: #EBDCDC; border-radius: 3px; }
.chamada-final h2 { margin: 0 0 .6rem; color: var(--claro); font-size: 1.6rem; }
.chamada-final p { margin-bottom: 1.25rem; }
.voltar { display: inline-block; margin-top: 2.5rem; }


/* ============================================================
   SERVIÇOS E PROJETOS
   ============================================================ */
.servicos { background: var(--claro); }
.grade-servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; }
.grade-servicos .solucao p { font-size: .95rem; }

.grupo-projetos { display: grid; grid-template-columns: 1fr 2.2fr; gap: 1.5rem 3rem; padding: 2.5rem 0; border-top: 1px solid var(--linha); }
.grupo-projetos:last-child { border-bottom: 1px solid var(--linha); }
.grupo-cab h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.grupo-cab p { color: var(--texto-suave); font-size: .94rem; margin: 0; }
.lista-projetos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
.lista-projetos li { border-left: 4px solid var(--vinho); padding-left: 1.1rem; }
.lista-projetos h4 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .3rem; letter-spacing: 0; }
.lista-projetos p { color: var(--texto-suave); font-size: .92rem; line-height: 1.6; margin: 0 0 .6rem; }
.lista-projetos .link-seta { font-size: .88rem; }

.sub.sub-estreito { grid-template-columns: 1fr; width: min(340px, 92vw); }

/* Ao clicar num item do menu, o projeto ou serviço escolhido pisca em destaque */
@media (prefers-reduced-motion: no-preference) {
  @keyframes destacar { from { background: rgba(142,0,0,.14); } to { background: transparent; } }
  .lista-projetos li:target, .grade-servicos .solucao:target { animation: destacar 1.8s ease-out; }
}


/* ============================================================
   COMO FUNCIONA (duas fases: Projeto e Serviço)
   ============================================================ */
.fases { display: flex; gap: 1.5rem; counter-reset: passo; align-items: stretch; }
.fase { display: flex; flex-direction: column; }
.fase-projeto { flex: 3; }
.fase-servico { flex: 2; }
.fase-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem; padding: 1rem 1.25rem; border-radius: 3px 3px 0 0; }
.fase-cab h3 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.fase-cab p { margin: 0; font-size: .92rem; font-weight: 500; max-width: none; }
.fase-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fase-projeto .fase-cab { background: var(--aco); color: #17171A; }
.fase-servico .fase-cab { background: var(--claro); color: var(--vinho); }
.passos .fase-cab h3 { color: inherit; }
.fase ol { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.5rem; padding: 1.5rem 1.25rem; border: 1px solid rgba(255,255,255,.22); border-top: 0; border-radius: 0 0 3px 3px; }
.fase li { counter-increment: passo; }
.fase li::before { content: "0" counter(passo); display: block; font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--aco); margin-bottom: .7rem; }
.fase h4 { color: var(--claro); font-size: 1.02rem; font-weight: 700; margin: 0 0 .4rem; letter-spacing: 0; }
.fase li p { color: #D9C2C2; font-size: .92rem; line-height: 1.6; margin: 0; }


/* ============================================================
   KIT DE PROJETOS
   ============================================================ */
.kit-lista { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; margin: 1.25rem 0 1rem; }
.kit-lista li { position: relative; padding-left: 1.9rem; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.kit-lista li::before {
  content: "\2713"; position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center;
  background: var(--vinho); color: var(--claro); border-radius: 50%; font-size: .72rem; font-weight: 800;
}
.kit-nota { font-size: .88rem; border-left: 4px solid var(--aco); padding-left: .9rem; margin: 0 0 1.25rem; }


/* ============================================================
   CLIENTES (logos passando)
   ============================================================ */
.clientes { background: var(--fundo); padding-bottom: 5rem; }
.clientes .titulo-secao { margin-bottom: 2.5rem; }
.clientes-faixa {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clientes-trilho { display: flex; }
.clientes-trilho ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3.5rem; width: 100%; padding: 0 1.25rem; }
.cliente { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 80px; }
.cliente img { max-height: 64px; max-width: 180px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.cliente:hover img { filter: none; opacity: 1; }
.logo-ph {
  width: 180px; height: 64px; display: grid; place-items: center; text-align: center;
  border: 2px dashed #B3B5B8; border-radius: 3px; color: var(--aco); font-weight: 600; font-size: .85rem;
}
/* Modo carrossel (o JavaScript liga a classe "animado") */
.clientes-faixa.animado .clientes-trilho { width: max-content; animation: rolar-clientes var(--duracao, 40s) linear infinite; }
.clientes-faixa.animado .clientes-trilho ul { flex-wrap: nowrap; justify-content: flex-start; flex-shrink: 0; width: auto; padding: 0 3.5rem 0 0; }
.clientes-faixa.animado:hover .clientes-trilho { animation-play-state: paused; }
@keyframes rolar-clientes { to { transform: translateX(calc(var(--deslocamento, 50%) * -1)); } }


/* ============================================================
   AJUSTES PARA TABLET E CELULAR (das seções acima)
   ============================================================ */
@media (max-width: 1080px) {
  .sub.sub-estreito { width: 100%; }
}
@media (max-width: 900px) {
  .grupo-projetos { grid-template-columns: 1fr; }
  .fases { flex-direction: column; }
}
@media (max-width: 800px) {
  .grade-servicos { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .fase ol { grid-auto-flow: row; }
}
@media (max-width: 600px) {
  .lista-projetos { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .kit-lista { grid-template-columns: 1fr; }
  .logo-ph { width: 140px; height: 52px; }
  .cliente img { max-height: 52px; max-width: 140px; }
}
