.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(to right, #d4af37, #f5d76e);
  color: #111111;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.btn-secondary:hover {
  border-color: rgba(245, 215, 110, 0.4);
  color: #f5d76e;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  color: #f5d76e;
}

.card p {
  margin: 0 0 18px;
  line-height: 1.7;
  color: #d9dde5;
  font-size: 0.98rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: #ffffff;
  line-height: 1.8;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #e5d28a;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.highlight-box {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid #d4af37;
  border-radius: 12px;
  padding: 22px 20px;
  color: #dfe3ea;
  line-height: 1.75;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.contact-item {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: 0.25s ease;
  line-height: 1.5;
}

.contact-item:hover {
  border-color: rgba(245, 215, 110, 0.4);
  color: #f5d76e;
}

.contact-label {
  display: block;
  font-size: 0.82rem;
  color: #bfc6d1;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.button-wrap {
  margin-top: 20px;
}

.btn-whatsapp {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(to right, #d4af37, #f5d76e);
  color: #111111;
  transition: 0.25s ease;
}

.btn-whatsapp:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.case-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(245, 215, 110, 0.12);
  color: #f5d76e;
  border: 1px solid rgba(245, 215, 110, 0.22);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.08);
}

.whatsapp-float svg {
  width: 52px;
  height: 52px;
  fill: #25d366;
  filter:
    drop-shadow(0 0 6px rgba(37, 211, 102, 0.35))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.xgr-site-footer__brand {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
}

.xgr-site-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.xgr-site-footer__links a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 14px;
  transition: opacity .2s ease, color .2s ease;
}

.xgr-site-footer__links a:hover {
  opacity: .9;
  color: #f5d76e;
}

.xgr-site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4af37;
}

.xgr-site-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.xgr-site-footer__social span {
  color: rgba(255,255,255,.88);
}

.xgr-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(12,12,15,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: none;
}

.xgr-cookie-banner.show {
  display: block;
}

.xgr-cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.xgr-cookie-banner__text {
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.7;
  max-width: 700px;
}

.xgr-cookie-banner__text a {
  color: #8ab4ff;
  text-decoration: none;
}

.xgr-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.xgr-cookie-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.xgr-cookie-btn:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.xgr-cookie-btn.primary {
  background: #ffffff;
  color: #0b0b0d;
  border-color: #ffffff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .xgr-cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
    border-radius: 16px;
  }

  .xgr-cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float svg {
    width: 46px;
    height: 46px;
  }
}

body.page-projetos .card {
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

body.page-projetos .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(245, 215, 110, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body.page-projetos .case-thumb {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
}

body.page-projetos .case-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

body.page-projetos .case-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

body.page-projetos .case-thumb-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  background: linear-gradient(to right, #d4af37, #f5d76e);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

body.page-projetos .case-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-projetos .case-status {
  padding: 6px 11px;
}

body.page-projetos .case-brand {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfc6d1;
}

body.page-projetos .card h3 {
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.25;
}

body.page-projetos .card p {
  margin: 0;
  line-height: 1.72;
}

body.page-projetos .case-summary {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.75;
}

body.page-projetos .card ul {
  line-height: 1.85;
}

body.page-projetos .case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

body.page-projetos .case-link,
body.page-projetos .case-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.25s ease;
}

body.page-projetos .case-link:hover,
body.page-projetos .case-mini-link:hover {
  border-color: rgba(245, 215, 110, 0.35);
  color: #f5d76e;
  transform: translateY(-1px);
}

body.page-projetos .case-link svg,
body.page-projetos .case-mini-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

body.page-projetos .case-link.is-primary {
  background: linear-gradient(to right, rgba(212, 175, 55, 0.18), rgba(245, 215, 110, 0.08));
  border-color: rgba(245, 215, 110, 0.2);
}

body.page-projetos .modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 3000;
}

body.page-projetos .modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.page-projetos .modal__dialog {
  width: min(1120px, 100%);
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  background: rgba(10, 10, 14, 0.96);
}

body.page-projetos .modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.86);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: 0.25s ease;
}

body.page-projetos .modal__close:hover {
  color: #f5d76e;
  border-color: rgba(245, 215, 110, 0.35);
}

body.page-projetos .modal__close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.page-projetos .modal__image {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  background: #050814;
}

body.page-contato .qr-wrap {
  margin-top: 22px;
  text-align: center;
  padding-top: 6px;
}

body.page-contato .qr-wrap p {
  margin: 0 0 10px;
  color: #bfc6d1;
  font-size: 0.92rem;
  line-height: 1.6;
}

body.page-contato .qr-wrap img {
  width: 150px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  opacity: 0.94;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.page-contato .qr-wrap img:hover {
  transform: translateY(-2px);
  opacity: 1;
}

body.page-contato .institutional-contact {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  text-align: center;
}

body.page-contato .institutional-contact__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 215, 110, 0.22);
  background: rgba(245, 215, 110, 0.08);
  color: #f5d76e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-contato .institutional-contact p {
  margin: 0 0 14px;
  color: #dfe3ea;
  line-height: 1.75;
  font-size: 0.98rem;
}

body.page-contato .institutional-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  transition: 0.25s ease;
  word-break: break-word;
}

body.page-contato .institutional-contact a:hover {
  border-color: rgba(245, 215, 110, 0.4);
  color: #f5d76e;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  body.page-projetos .case-link,
  body.page-projetos .case-mini-link {
    width: 100%;
    justify-content: center;
  }

  body.page-projetos .modal {
    padding: 12px;
  }

  body.page-contato .institutional-contact p {
    font-size: 0.96rem;
  }
}
