.brand-image,
.admin-brand-logo {
  background: transparent !important;
  box-shadow: none !important;
}
.site-header .brand-image img,
footer .brand-image img,
.dashboard .admin-brand-logo img,
.login-shell .admin-brand-logo img {
  filter: none;
}
.site-header { height: 94px; }
html { scroll-padding-top: 102px; }
@media(max-width:920px){.main-nav{inset:94px 0 auto}}
.project-card {
  min-height: 0 !important;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e7eb;
}
.project-media { aspect-ratio: 16 / 9; overflow: hidden; background: #111820; }
.project-media img,.project-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-link {
  display: block;
  border-radius: 15px;
  color: inherit;
  outline: none;
}
.project-link .project-card { cursor: pointer; }
.project-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(214,168,62,.35);
}
.project-card .project-info {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 13px;
  background: #fff;
  color: #171b21;
}
.project-card .project-info h3 { margin: 0; min-width: 0; overflow: hidden; color: #171b21; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.project-card .project-info span { margin-left: auto; color: #9b711a; font-size: .57rem; letter-spacing: .1em; white-space: nowrap; }
.project-info small {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: #f3e7c9;
  color: #805f12;
  font-size: .7rem;
  font-weight: 700;
}
.upload-guidance {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin: 4px 0 12px;
}
.upload-guidance span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #f8f9fa;
  color: #6c7480;
  font-size: .7rem;
  font-weight: 400;
}
.upload-guidance strong { color: #805f12; font-size: .76rem; }
.media-preview { width: min(100%,360px); aspect-ratio: 16 / 9; margin: 2px 0 12px; overflow: hidden; border: 1px solid #d5dbe2; border-radius: 10px; background: #0b1017; box-shadow: 0 8px 22px rgba(15,22,32,.12); }
.media-preview img,.media-preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(max-width:600px){.upload-guidance{grid-template-columns:1fr}}

.phone-row {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  gap: 12px;
}
.phone-row label { margin: 0; }
.contact-form select {
  width: 100%;
  height: 100%;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid #d8dce1;
  border-radius: 8px;
  background: #fff;
  color: #1a2028;
  font: inherit;
  cursor: pointer;
}
.contact-form select:focus {
  border-color: #d6a83e;
  outline: 3px solid rgba(214,168,62,.18);
}
.contact-result-modal[hidden] { display: none; }
.contact-result-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}
.contact-result-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,9,14,.82);
  backdrop-filter: blur(5px);
}
.contact-result-card {
  position: relative;
  z-index: 1;
  width: min(100%,480px);
  padding: 42px 34px 34px;
  border: 1px solid rgba(214,168,62,.3);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0,0,0,.34);
  color: #18202a;
  text-align: center;
  animation: contact-result-in .24s ease-out both;
}
.contact-result-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: #39414b;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.contact-result-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e8f7ed;
  color: #237b42;
  font-size: 2.1rem;
  font-weight: 800;
}
.contact-result-modal.is-error .contact-result-icon { background: #fdecec; color: #b72d2d; }
.contact-result-card h3 { margin: 0 0 10px; font-size: clamp(1.45rem,4vw,2rem); }
.contact-result-card p { margin: 0 auto 25px; max-width: 390px; color: #626c78; line-height: 1.65; }
.contact-result-card .btn { min-width: 150px; justify-content: center; }
body.contact-result-open { overflow: hidden; }
@keyframes contact-result-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media(max-width:520px){
  .phone-row { grid-template-columns: 112px minmax(0,1fr); gap: 8px; }
  .contact-form select { padding-inline: 9px; }
  .contact-result-card { padding: 40px 22px 28px; }
}

/* Revisão responsiva global — versão 3.1 */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
main, header, footer, section { max-width: 100%; }
video, iframe, picture, svg { max-width: 100%; }
.hero-grid > *,
.section-head > *,
.service-grid > *,
.portfolio-grid > *,
.technology-grid > *,
.content-grid > *,
.immersive-grid > *,
.contact-grid > *,
.panel-title > *,
.footer-main > * { min-width: 0; }
.hero h1,
.section h2,
.technology h2,
.immersive h2,
.contact h2,
.section-head p,
.panel-title p,
.podcast-caption h3,
.immersive-grid h3,
.immersive-grid p { overflow-wrap: break-word; }
.social-panel,
.podcast-panel,
.content-grid { width: 100%; max-width: 100%; }

@media (max-width: 620px) {
  .site-header { height: 84px; }
  html { scroll-padding-top: 92px; }
  .main-nav { inset: 84px 0 auto; max-height: calc(100dvh - 84px); overflow-y: auto; }
  .nav-wrap { gap: 12px; }
  .site-header .brand-image { max-width: calc(100% - 70px); }
  .site-header .brand-image img { max-width: 100%; object-fit: contain; object-position: left center; }

  .container { width: calc(100% - 28px); }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.05rem, 10.5vw, 2.65rem); }
  .hero-copy > p { font-size: .98rem; }
  .hero-visual, .video-player { width: 100%; }
  .floating-card { left: 14px; right: 14px; bottom: 16px; }

  .section-head h2,
  .technology h2,
  .immersive h2,
  .contact h2 { font-size: clamp(1.9rem, 9.3vw, 2.25rem); line-height: 1.08; letter-spacing: -.04em; }
  .section-head p { font-size: .95rem; }
  .service-card, .project-link, .project-card { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 5px; }
  .filters button { flex: 0 0 auto; }

  .social-panel { min-height: 0; padding: 20px; }
  .panel-title { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: start; gap: 12px; }
  .panel-title .icon-box { width: 44px; }
  .panel-title h3 { font-size: 1.2rem; line-height: 1.25; }
  .panel-title p { margin-top: 4px; font-size: .8rem; line-height: 1.45; }
  .ajacerto-links { display: grid; width: 100%; }
  .ajacerto-links a { width: 100%; padding: 8px 11px; white-space: normal; overflow-wrap: anywhere; }
  .social-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding: 0; overflow: visible; }
  .social-cards div { width: 100%; min-height: 190px; aspect-ratio: 16 / 10; padding: 18px; font-size: .76rem; }

  .podcast-video-panel { min-height: 0; }
  .podcast-video-panel video { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .podcast-caption { position: static; padding: 18px 20px 22px; background: #080b0f; }
  .podcast-caption .eyebrow { margin-bottom: 9px; }
  .podcast-caption h3 { font-size: 1rem; line-height: 1.45; }

  .immersive-grid article { width: 100%; min-height: 0; padding: 18px; gap: 14px; }
  .immersive-grid article > span { min-width: 56px; width: 56px; height: 68px; font-size: 1.8rem; }
  .immersive-grid article > div { min-width: 0; }

  .contact-form, .contact-form label, .contact-form input, .contact-form textarea { min-width: 0; max-width: 100%; }
  .footer-main nav { width: 100%; }
  .footer-main .brand-image { max-width: 100%; }
  .footer-bottom span { overflow-wrap: anywhere; }
  .whatsapp { width: 52px; height: 52px; font-size: 1.2rem; }

  .admin-main { max-width: 100vw; overflow-x: hidden; }
  .admin-main header, .view-head { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .panel { max-width: 100%; padding: 16px; }
  dialog form { padding: 19px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 22px); }
  .social-panel { padding: 16px; }
  .phone-row { grid-template-columns: 104px minmax(0,1fr); gap: 7px; }
  .contact-form select { padding-inline: 7px; font-size: .84rem; }
  .hero-actions .btn { width: 100%; padding-inline: 14px; }
}
