/* ENGPINT | ajustes responsivos e utilitários finais */
:root {
  --orange: #e05a1c;
  --orange-dark: #c74f00;
  --title: #1e1e1c;
  --body: #6b6b69;
  --muted: #ababaa;
  --border: #e4e4e2;
  --bg: #f5f5f3;
  --footer: #252523;
  --white: #fff;
}

img { max-width: 100%; }
.footer-credit { color: var(--orange); text-decoration: none; font-weight: 500; transition: color .2s; }
.footer-credit:hover { color: #ff8a52; }
.svc { color: inherit; text-decoration: none; display: block; }
.cob-map svg { width: 100%; max-width: 300px; }
.internal-hero { height: 580px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--border); background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--title); }
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.float-wa svg { display: block; width: 29px; height: 29px; fill: currentColor; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.info-card-post { padding: 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.info-card-post > span { color: var(--orange); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.info-card-post h2 { margin: 14px 0 12px; font-size: 19px; line-height: 1.25; }
.info-card-post h2 a { color: var(--title); text-decoration: none; }
.info-card-post p { font-size: 13px; line-height: 1.75; }
.info-more { display: inline-block; margin-top: 18px; color: var(--orange); font-size: 12px; text-decoration: none; }

@media (max-width: 980px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .topbar-r a:nth-child(2) { display: none; }
  .nav-inner { height: 86px; }
  .logo-wrap img { height: 62px; width: auto; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 86px; padding: 22px 28px; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 14px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 0; }
  .nav-links .nav-cta { margin-top: 8px; padding: 12px 18px; text-align: center; }
  .hero { height: 560px; }
  .hero h1, .hero .hero-title { font-size: 52px; }
  .about-grid, .cob-grid, .intro-grid, .photo-stats-grid, .contact-grid, .seo-layout { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid, .diff-grid, .benef-grid, .aplic-grid { grid-template-columns: repeat(2, 1fr); }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid { grid-template-columns: repeat(4, 1fr); }
  .certs-grid, .hours-grid { grid-template-columns: 1fr; }
  .cert, .hour-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project-detail-layout { grid-template-columns: 1fr; gap: 48px; }
  .project-sidebar { position: static; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .topbar { height: auto; padding: 8px 0; }
  .topbar-l { display: none; }
  .topbar-r { width: 100%; justify-content: space-between; gap: 10px; }
  .topbar-r a { font-size: 10px; }
  .topbar-r a:nth-child(3) { display: none; }
  .hero, .internal-hero { height: 520px; }
  .page-hero { height: 360px; }
  .hero-content { padding-bottom: 48px; }
  .hero h1, .hero .hero-title, .page-hero h1 { font-size: 40px; }
  .hero-controls { bottom: 14px; justify-content: center; }
  .hero-arrow { width: 34px; height: 34px; }
  .hero-desc, .page-hero-desc { font-size: 13px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 18px; border-bottom: 1px solid var(--border); }
  .sec { padding: 62px 0; }
  h2.stitle { font-size: 30px; margin-bottom: 34px; }
  .svc-grid, .diff-grid, .benef-grid, .aplic-grid, .seg-grid, .serv3-grid, .disp-grid, .servicos-grid, .rlist { grid-template-columns: 1fr; }
  .svc, .diff, .cert, .serv3-col { padding: 30px 24px; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .form-row.trio { grid-template-columns: 1fr; }
  .cta-in { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-image { height: 230px; }
  .project-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 110px; }
  .project-gallery-main { grid-row: auto; height: 280px; }
  .project-gallery-thumb { display: none !important; }
  :where(:is(.portfolio-list-page,.portfolio-project-page)) .page-header { padding: 48px 0 42px; }
  :where(:is(.portfolio-list-page,.portfolio-project-page)) .page-header h1 { font-size: 36px; }
  .fbot { align-items: flex-start; flex-direction: column; gap: 14px; }
  .ftags { flex-wrap: wrap; }
}
