/* ===================================
   ABR Marketing Estratégico & Consultoria Hoteleira
   CSS Principal — v2
   =================================== */

:root {
  --bg: #000000;
  --card: #0c0f14;
  --accent: #00c6ff;
  --text: #e6e6e6;
  --muted: #9aa4ad;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* --- Canvas Matrix --- */
canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
}

/* --- Header --- */
header {
  position: relative;
  z-index: 2;
  padding: 48px 24px 32px;
  text-align: center;
}

header img {
  max-width: 230px;
}

/* --- Main --- */
main {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* --- Grid de Cards --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* --- Card --- */
.card {
  display: flex;
  flex-direction: column;
  background: rgba(12, 15, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 26px 22px 30px;
  backdrop-filter: blur(6px);
  transition: transform .25s ease, border .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 198, 255, 0.45);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.card p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-size: .85rem;
  color: var(--accent);
  text-decoration: none;
}

/* --- Footer --- */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 16px 24px;
  font-size: .8rem;
  color: #6f7a83;
}

/* ===================================
   CLIENT LOGOS — FIXED
   =================================== */

.clients {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 198, 255, 0.18);
}

.clients-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  margin: 0 0 14px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
}

.client-tile {
  aspect-ratio: 16 / 9;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border .25s ease, box-shadow .25s ease;
}

.client-tile:hover {
  border-color: rgba(0, 198, 255, 0.55);
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.client-tile img {
  display: block;
  max-width: 85%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}



@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .client-tile {
    padding: 10px 12px;
  }
}

/* ===================================
   MODAL
   =================================== */

body.abr-modal-open #abr-page-content {
  visibility: hidden;
}

.modal-footer-signature {
  margin-top: 18px;
  padding-top: 10px;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .3px;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* --- Modal Overlay --- */
.abr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}

.abr-modal-overlay.active {
  display: flex;
}

.abr-modal-box {
  width: min(980px, 100%);
  max-height: 85vh;
  overflow: auto;
  position: relative;
  border-radius: 18px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: none;
  padding: 18px;
}

.abr-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 36px;
}

/* --- Modal content box --- */
.modal-content-box {
  margin-top: 44px;
  background: rgba(12, 15, 20, 0.88);
  border: 1px solid rgba(0, 198, 255, 0.22);
  border-radius: 18px;
  padding: 24px 26px 28px;
  backdrop-filter: blur(6px);
}

.modal-content-box h3 {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.modal-content-box p {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 4px;
}
