/* ==========================================================
   ESTILOS DA LANDING PAGE
   Para trocar as cores do site, edite apenas as variáveis abaixo.
   ========================================================== */
   :root {
    --verde-escuro: #134e08;        /* cor principal: hero, chamada, destaques */
    --verde-acinzentado: #5d695a;   /* textos de apoio */
    --verde-vivo: #18ad51;          /* usado só nos botões principais e pequenos detalhes */
    --preto: #0F1A12;               /* seções e rodapé escuros, títulos */
    --branco: #fdfdfd;
    --cinza-claro: #F3F5F7;         /* fundo das seções alternadas */
    --texto: #343A40;
    --borda: #DDE2E7;
    --texto-claro: #D3E3CF;         /* texto de apoio sobre fundo escuro */
    --aviso-fundo: #FFF3CD;         /* marca os placeholders que precisam ser trocados */
    --aviso-texto: #664D03;
   
    --fonte-titulo: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
    --fonte-texto: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;
    --raio: 6px;
    --altura-cabecalho: 68px;
    --altura-barra: 60px;
    --espaco-secao: clamp(56px, 8vw, 104px);
    --hero-fundo-mobile: url("fotos/seg1.png");   /* foto de fundo do hero no celular */
  }
   
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--altura-cabecalho) + 8px); }
  body { margin: 0; font: 400 1.0625rem/1.65 var(--fonte-texto); color: var(--texto); background: var(--branco); overflow-x: clip; -webkit-text-size-adjust: 100%; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--verde-escuro); }
  h1, h2, h3 { font-family: var(--fonte-titulo); color: var(--preto); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
  h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
  h3 { font-size: 1.2rem; font-weight: 700; }
  p { margin: 0 0 1em; }
  .container { width: min(1120px, 100% - 40px); margin-inline: auto; }
   
  /* Foco visível (claro sobre fundos escuros) */
  :focus-visible { outline: 3px solid var(--verde-escuro); outline-offset: 3px; }
  .tema-escuro :focus-visible { outline-color: var(--branco); }
  .skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--branco); color: var(--preto); font-weight: 600; border-radius: var(--raio); }
  .skip-link:focus { left: 8px; }
  .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
   
  /* Placeholders: texto amarelo-claro para você achar o que falta trocar */
  
   
  /* ---------- Botões ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--raio); border: 1.5px solid transparent; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
  .btn-primary { background: var(--verde-vivo); color: var(--preto); }
  .btn-primary:hover { background: #3cc26e; }
  .btn-outline { border-color: rgba(255,255,255,.7); color: var(--branco); }
  .btn-outline:hover { background: var(--branco); color: var(--verde-escuro); }
  .btn-small { min-height: 42px; padding: 8px 18px; font-size: .97rem; }
   
  /* ---------- Cabeçalho ---------- */
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--branco); border-bottom: 1px solid var(--borda); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--altura-cabecalho); gap: 16px; }
  .brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--preto); }
  
  /* Ajuste do logotipo no cabeçalho */
  .brand-mark {
    width: 70px;
    height: 70px;
    min-width: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .brand-mark::after { content: ""; position: absolute; left: 13px; top: 8px; width: 9px; height: 17px; border: solid var(--branco); border-width: 0 3px 3px 0; transform: rotate(45deg); }
  .brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .brand-text strong { font-family: var(--fonte-titulo); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text small { font-size: .8rem; color: var(--verde-acinzentado); }
  .main-nav { display: flex; align-items: center; gap: 28px; }
  .main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
  .main-nav ul a { display: inline-block; padding: 6px 0; color: var(--preto); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
  .main-nav ul a:hover { border-bottom-color: var(--verde-escuro); }
  .menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: none; border: 1.5px solid var(--preto); border-radius: var(--raio); color: var(--preto); font: 600 1rem var(--fonte-texto); cursor: pointer; }
  .menu-toggle-icon { width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px currentColor, 0 -6px currentColor; }
   
  /* ---------- Hero ---------- */
  .hero {
    background:
      linear-gradient(90deg, rgba(19,78,8,.95) 0%, rgba(19,78,8,.85) 55%, rgba(19,78,8,.7) 100%),
      url("fotos/seg1.png") center / cover no-repeat;
    background-color: var(--verde-escuro);
    color: var(--branco);
    padding-block: clamp(40px, 7vw, 88px);
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
  .hero h1 { color: var(--branco); font-size: clamp(2rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .45em; }
  .hero-lead { max-width: 48ch; margin-bottom: 28px; font-size: 1.2rem; color: var(--texto-claro); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-points { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.25); font-size: .98rem; color: var(--texto-claro); }
  .hero-points li::before { content: "✓"; margin-right: 8px; color: var(--verde-vivo); font-weight: 700; }
   
  /* Fotos (mostram um aviso enquanto a imagem não existir) */
  .photo { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: #1d3a14; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .about-photo { aspect-ratio: 4 / 5; max-width: 440px; background: #2c3a30; }
  .photo-missing { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 20px; text-align: center; font-size: .95rem; color: var(--texto-claro); }
  .sem-imagem .photo-missing { display: flex; }
  .sem-imagem img { visibility: hidden; }
  
  /* Carrossel do hero: desliza com o dedo (scroll-snap); setas, bolinhas e rotação vêm do script.js */
  .carousel { min-width: 0; }
  .carousel-track { display: flex; overflow-x: auto; aspect-ratio: 1 / 1; max-height: 600px; border-radius: 8px; background: #1d3a14; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .carousel-track::-webkit-scrollbar { display: none; }
  html:not(.js) .carousel-track { scrollbar-width: thin; }
  .slide { position: relative; flex: 0 0 100%; margin: 0; background: #1d3a14; scroll-snap-align: start; scroll-snap-stop: always; }
  .slide img { width: 100%; height: 100%; object-fit: cover; }
  .slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 16px; font-weight: 600; color: var(--branco); background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 12px;
  }
  
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .carousel-actions { gap: 8px; }
  .carousel-dot { position: relative; width: 34px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
  .carousel-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); transform: translate(-50%, -50%); transition: width .2s; }
  .carousel-dot[aria-current="true"]::before { width: 26px; border-radius: 5px; background: var(--branco); }
  .carousel-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--branco); cursor: pointer; transition: background .2s, color .2s; }
  .carousel-btn:hover { background: var(--branco); color: var(--verde-escuro); }
  .carousel-btn .icon { stroke-width: 2.2; }
   
  /* ---------- Seções ---------- */
  .section { padding-block: var(--espaco-secao); }
  .section-alt { background: var(--cinza-claro); }
  .section-head { max-width: 56ch; margin-bottom: clamp(28px, 4vw, 48px); }
  .section-head p { margin: 0 0 .75em; color: var(--verde-acinzentado); }
   
  /* Serviços: lista editorial numerada */
  .services-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
  .services-grid .section-head { position: sticky; top: calc(var(--altura-cabecalho) + 24px); margin: 0; }
  .services-list { counter-reset: servico; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--borda); }
  .services-list li { counter-increment: servico; display: grid; grid-template-columns: 3rem 1fr; gap: 4px 16px; padding: 24px 0; border-top: 1px solid var(--borda); }
  .services-list li::before { content: counter(servico, decimal-leading-zero); grid-row: 1 / span 2; padding-top: 3px; font: 700 1.15rem var(--fonte-titulo); color: var(--verde-escuro); }
  .services-list h3 { margin: 0; font-size: 1.3rem; }
  .services-list p { grid-column: 2; margin: 0; color: var(--verde-acinzentado); }
   
  #sobre { padding-block: clamp(40px, 6vw, 64px); }
  .about-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
  .about-photo { aspect-ratio: 4 / 5; max-width: 300px; background: #2c3a30; }
  .about-name { display: inline-block; margin-bottom: 2px; font: 700 1.6rem var(--fonte-titulo); }
  .about-role { margin-bottom: 16px; font-weight: 600; color: var(--verde-escuro); }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 28px 0 0; }
  .facts div { padding: 14px 0; border-top: 1px solid var(--borda); }
  .facts dt { font-weight: 600; color: var(--preto); }
  .facts dd { margin: 2px 0 0; }
   
  /* Diferenciais e blocos escuros */
  .bloco-preto { background: var(--preto); color: #B9C6BC; }
  .tema-escuro h2, .tema-escuro h3 { color: var(--branco); }
  .bloco-preto .section-head p { color: #B9C6BC; }
  .features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 56px); }
  .features li { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); }
  .features h3 { font-size: 1.35rem; }
  .features p { margin: 0; }
   
  /* Etapas */
  .steps { counter-reset: etapa; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
  .steps li { counter-increment: etapa; padding-top: 20px; border-top: 1px solid var(--borda); }
  .steps li::before { content: counter(etapa); display: block; margin-bottom: 10px; font: 800 clamp(3rem, 6vw, 4.5rem)/1 var(--fonte-titulo); color: var(--verde-escuro); }
  .steps h3 { margin-bottom: .3em; }
  .steps p { margin: 0; }
   
  /* Chamada para ação */
  .cta { background: var(--verde-escuro); padding-block: clamp(48px, 7vw, 80px); }
  .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
  .cta h2 { margin-bottom: .25em; font-size: clamp(1.9rem, 4.5vw, 3rem); }
  .cta p { margin: 0; color: var(--texto-claro); }
   
  /* Carrossel de clientes atendidos: rolagem nativa (dá para deslizar com o dedo) + movimento automático via script.js */
  .clients { padding-block: 0 var(--espaco-secao); }
  .clients-head { margin-bottom: 28px; text-align: center; }
  .clients-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
  .marquee { --gap: 16px; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee::-webkit-scrollbar { display: none; }
  html:not(.js) .marquee { scrollbar-width: thin; }
  .clients-track { flex: 0 0 auto; display: flex; gap: var(--gap); list-style: none; margin: 0; padding: 4px 0; }
  html:not(.js) .clients-track { min-width: 100%; justify-content: safe center; }
  .client { flex: 0 0 clamp(150px, 22vw, 200px); display: grid; place-items: center; height: 96px; padding: 14px; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); transition: border-color .25s, box-shadow .25s; }
  .client:hover { border-color: var(--verde-vivo); box-shadow: 0 8px 22px rgba(19, 78, 8, .1); }
  .client img { max-width: 100%; max-height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
  .client-missing { display: none; text-align: center; font-size: .85rem; color: var(--verde-acinzentado); }
  .client.sem-imagem { border-style: dashed; background: var(--cinza-claro); }
  .client.sem-imagem img { display: none; }
  .client.sem-imagem .client-missing { display: block; }
  
  /* FAQ */
  .faq { max-width: 820px; }
  details { border-top: 1px solid var(--borda); }
  details:last-of-type { border-bottom: 1px solid var(--borda); }
  summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 0; list-style: none; cursor: pointer; font-weight: 600; color: var(--preto); }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--verde-escuro); }
  details[open] summary::after { content: "\2212"; }
  details p { max-width: 62ch; margin: 0; padding-bottom: 20px; }
   
  /* Contato e rodapé */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
  .contact-list { margin: 0; }
  .contact-list div { padding: 16px 0; border-top: 1px solid var(--borda); }
  .contact-list div:last-child { border-bottom: 1px solid var(--borda); }
  .contact-list dt { font-weight: 600; color: var(--preto); }
  .contact-list dd { margin: 2px 0 0; }
  .site-footer { padding-block: 24px; font-size: .95rem; text-align: center; }
  .site-footer p { margin: 0; }
   
  /* Barra de WhatsApp (só aparece no celular) */
  .wa-bar { display: none; }
   
  /* ---------- Animação de entrada: só existe se o JavaScript a ativar e se o movimento for permitido ---------- */
  @media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
    .reveal.is-visible { opacity: 1; transform: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
   
  /* ==========================================================
     TABLET E CELULAR
     ========================================================== */
  @media (max-width: 900px) {
    :root { --altura-cabecalho: 64px; }
    html { scroll-padding-bottom: calc(var(--altura-barra) + 16px); }
   
    /* Menu recolhível (precisa do script.js). Sem JavaScript, os links aparecem em linha abaixo do nome. */
    .js .menu-toggle { display: inline-flex; }
    .js .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 4px 20px 20px; background: var(--branco); border-bottom: 1px solid var(--borda); box-shadow: 0 12px 20px rgba(0,0,0,.08); }
    .js .main-nav.is-open { display: flex; }
    .js .main-nav ul { flex-direction: column; gap: 0; }
    .js .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--borda); font-size: 1.1rem; }
    .js .main-nav .btn { width: 100%; }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
    html:not(.js) .main-nav { flex-wrap: wrap; gap: 8px 16px; }
    html:not(.js) .main-nav ul { flex-wrap: wrap; gap: 4px 16px; }
   
    .hero-grid, .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid .section-head { position: static; margin-bottom: 0; }
    .services-grid { gap: 32px; }
    .carousel-track { aspect-ratio: 4 / 3; max-height: none; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-inner { grid-template-columns: 1fr; }
   
    /* Barra fixa de WhatsApp: some sozinha quando o botão principal já está visível */
    .wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: calc(var(--altura-barra) + env(safe-area-inset-bottom, 0px)); padding: 0 16px env(safe-area-inset-bottom, 0px); background: var(--verde-vivo); color: var(--preto); font-weight: 700; text-decoration: none; box-shadow: 0 -2px 12px rgba(0,0,0,.18); transition: transform .25s, visibility .25s; }
    .wa-bar.is-hidden { transform: translateY(100%); visibility: hidden; }
    .site-footer { padding-bottom: calc(24px + var(--altura-barra) + env(safe-area-inset-bottom, 0px)); }
  }
   
  @media (max-width: 700px) {
    .container { width: min(1120px, 100% - 32px); }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 12px; }
    .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 2.6rem; }
    .steps h3, .steps p { grid-column: 2; }
    .facts { grid-template-columns: 1fr; }
    .about-photo { aspect-ratio: 1 / 1; max-width: 300px; }
    .services-list li { grid-template-columns: 2.4rem 1fr; gap: 4px 12px; padding: 20px 0; }
    .services-list h3 { font-size: 1.2rem; }
  }
   
  @media (max-width: 600px) {
    .features { grid-template-columns: 1fr; }
    .hero-lead { font-size: 1.08rem; }
    .hero-actions .btn, .cta .btn, .contact-grid .btn { width: 100%; }
    .hero-points { margin-top: 28px; }
    
    /* Centraliza hero, Sobre e Contato no celular */
    .hero h1, .hero-lead { text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .hero-points { text-align: center; }
    .carousel-controls { justify-content: center; flex-wrap: wrap; }
  
    #sobre, #contato { text-align: center; }
    .about-photo { margin-inline: auto; }
  }
  @media (max-width: 900px) {
    .about-grid {
      justify-items: center;
      text-align: center;
    }
  
    .about-photo {
      width: 100%;
      margin-inline: auto;
    }
  
    .about-grid > div {
      width: 100%;
    }
  
    .facts {
      text-align: left;
    }
  }
  @media (max-width: 900px) {
    .section-head,
    .section-head h2,
    .section-head p,
    .about-grid h2,
    .contact-grid h2 {
      text-align: center;
    }
  
    .section-head {
      margin-inline: auto;
    }
  }
  /* ===== Centralização no celular (manter por último no arquivo) ===== */
  @media (max-width: 700px) {
    #sobre,
    #sobre .facts,
    #sobre .facts div,
    #sobre .facts dt,
    #sobre .facts dd,
    #contato,
    #contato .contact-list,
    #contato .contact-list div,
    #contato .contact-list dt,
    #contato .contact-list dd {
      text-align: center;
      justify-items: center;
      justify-content: center;
    }
    .about-photo { margin-inline: auto; }
  }
  /* ==========================================================
     AJUSTES MOBILE (revisão) - manter no FIM do arquivo
     ========================================================== */
  @media (max-width: 900px) {
    /* Cabeçalho: logo pequena, nome, descrição e botão Menu alinhados */
    .header-inner { gap: 10px; }
    .brand { flex: 1 1 auto; gap: 10px; }
    .brand-mark { width: 44px; height: 44px; min-width: 44px; }
    .brand-text { flex: 1 1 auto; min-width: 0; }
    .brand-text strong { font-size: clamp(.92rem, 4.2vw, 1.05rem); line-height: 1.15; }
    .brand-text small { font-size: clamp(.66rem, 2.9vw, .78rem); line-height: 1.2; text-wrap: balance; }
    .menu-toggle { flex: none; gap: 8px; padding: 0 12px; }
  }
  
  @media (max-width: 700px) {
    /* Sobre: espaçamentos verticais menores */
    #sobre { padding-block: 32px; }
    .about-grid { gap: 20px; }
    .about-photo { max-width: 240px; }
    .about-name { margin-bottom: 0; font-size: 1.3rem; }
    .about-role { margin-bottom: 10px; }
    .facts { margin-top: 18px; }
    .facts div { padding: 12px 0; }
  
    /* Contato: botão confortável, dados mais próximos, e-mail que quebra se faltar espaço */
    .contact-grid { gap: 24px; }
    .contact-grid .btn { width: 100%; max-width: 420px; margin-inline: auto; padding-inline: 16px; line-height: 1.25; text-align: center; }
    .contact-list div { padding: 14px 0; }
    .contact-list dd { overflow-wrap: anywhere; }
  }
  
  @media (max-width: 600px) {
    /* Hero: título inteiro visível e botões em largura confortável */
    .hero { padding-block: 28px 40px; }
    .hero-grid { gap: 28px; }
    .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em; hyphens: manual; overflow-wrap: normal; margin-bottom: .5em; }
    .hero-lead { font-size: 1.05rem; margin-bottom: 22px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; max-width: 420px; margin-inline: auto; }
    .hero-actions .btn { width: 100%; min-height: 52px; padding: 12px 16px; line-height: 1.25; text-align: center; }
  
    /* Barra fixa de WhatsApp: o texto cabe em uma linha em 360 px */
    .wa-bar { padding-inline: 12px; font-size: .95rem; line-height: 1.2; text-align: center; }
  }
  
  @media (max-width: 380px) {
    /* Celulares muito estreitos */
    .container { width: min(1120px, 100% - 24px); }
    .brand-mark { width: 40px; height: 40px; min-width: 40px; }
    .menu-toggle { padding: 0 10px; }
  }
  /* ==========================================================
     MOBILE: fontes, caixas e imagens menores (mais leve e legível)
     Manter no FIM do arquivo
     ========================================================== */
  @media (max-width: 700px) {
    :root { --espaco-secao: 40px; --altura-barra: 56px; }
    body { font-size: 1rem; line-height: 1.55; }
    p { margin-bottom: .8em; }
    h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem); letter-spacing: -.01em; }
    h3 { font-size: 1.05rem; }
    .container { width: min(1120px, 100% - 28px); }
  
    /* Hero: sem foto de fundo pesada no celular (o verde já cobre) e carrossel mais baixo */
    /* Foto de fundo do hero no celular: salve o arquivo como fotos/hero-fundo-mobile.jpg (ou mude o nome na variável --hero-fundo-mobile).
       Sem o arquivo, o fundo continua verde liso. A camada verde por cima mantém o texto legível. */
    .hero { background: linear-gradient(rgba(19,78,8,.88), rgba(19,78,8,.93)), var(--hero-fundo-mobile) center / cover no-repeat; background-color: var(--verde-escuro); padding-block: 24px 32px; }
    .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); line-height: 1.1; }
    .hero-lead { font-size: 1rem; margin-bottom: 18px; }
    .hero-grid { gap: 22px; }
    .hero-actions .btn { min-height: 48px; font-size: .97rem; }
    .carousel-track { aspect-ratio: auto; height: 215px; max-height: none; }
    .slide { height: 100%; }
    .slide-caption { padding: 28px 12px 8px; font-size: .82rem; }
    .carousel-controls { margin-top: 4px; }
    .carousel-dot { width: 28px; height: 40px; }
  
    /* Serviços: lista compacta */
    .section-head { margin-bottom: 18px; }
    .section-head p { font-size: .95rem; }
    .services-grid { gap: 18px; }
    .services-list li { grid-template-columns: 2rem 1fr; gap: 2px 10px; padding: 14px 0; }
    .services-list li::before { font-size: .95rem; }
    .services-list h3 { font-size: 1.02rem; margin: 0; }
    .services-list p { font-size: .92rem; line-height: 1.45; }
  
    /* Clientes: cartões menores */
    .clients { padding-bottom: 40px; }
    .clients-head { margin-bottom: 16px; }
    .clients-head h2 { font-size: 1.35rem; }
    .marquee { --gap: 10px; }
    .client { flex-basis: 128px; height: 68px; padding: 10px; }
    .client-missing { font-size: .78rem; }
  
    /* Sobre e Contato */
    #sobre { padding-block: 28px; }
    .about-photo { max-width: 180px; }
    .about-name { font-size: 1.15rem; }
    .facts div { padding: 10px 0; }
    .contact-list div { padding: 10px 0; }
    .contact-grid { gap: 18px; }
  
    /* Cabeçalho e rodapé */
    .brand-mark { width: 38px; height: 38px; min-width: 38px; }
    .menu-toggle { min-height: 42px; font-size: .95rem; }
    .js .main-nav ul a { padding: 12px 0; font-size: 1.02rem; }
    .site-footer { font-size: .85rem; }
  }
  
  @media (max-width: 380px) {
    .carousel-track { height: 190px; }
  }
/* Computador: textos do hero centralizados na coluna da esquerda */
@media (min-width: 901px) {
  .hero-grid > div:first-child { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* Botão "Pedir orçamento" em cada serviço (compacto no celular) */
.service-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-top: 4px; font-weight: 600; font-size: .92rem; color: var(--verde-escuro); text-decoration: none; }
.service-link::after { content: "\2192"; transition: transform .2s; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-link:hover::after { transform: translateX(4px); }
@media (max-width: 700px) {
  .service-link { min-height: 32px; margin-top: 0; font-size: .86rem; }
}

/* Fundo compartilhado entre Sobre e Contato */
.sobre-contato-fundo {
  background:
    linear-gradient(
      rgba(243, 245, 247, 0.90),
      rgba(243, 245, 247, 0.90)
    ),
    url("./fotos/contato-fundo.jpeg") center / cover no-repeat;
}

.sobre-contato-fundo #sobre,
.sobre-contato-fundo #contato {
  background: transparent;
}
