/* ── ABOUT + SERVICES ── */
.about-svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  transition: all .4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.about-col {
  padding: 88px 48px;
  border-right: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.5) 0%, rgba(245,247,252,.8) 100%);
  transition: all .4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.about-col:hover { background: linear-gradient(135deg, #ffffff 0%, rgba(245,247,252,1) 100%); }

.svc-col {
  padding: 88px 48px;
  background: linear-gradient(135deg, rgba(245,247,252,.5) 0%, #ffffff 100%);
  transition: all .4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.svc-col:hover { background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%); }

.about-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 420px;
  transition: all .4s cubic-bezier(0.32, 0.08, 0.24, 1);
  opacity: 0;
}

.about-text.visible { opacity: 1; }
.about-col:hover .about-text { color: var(--primary); }

.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.about-img-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(.85) saturate(.95);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
}

.about-img-row img:hover {
  filter: brightness(1) saturate(1.1);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15,23,42,.2);
}

.svc-list { display: flex; flex-direction: column; gap: 0; }

.svc-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(59,130,246,.15);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  margin-left: -3px;
  border-radius: 4px;
}

.svc-item:first-child { border-top: 1px solid rgba(59,130,246,.15); }
.svc-item:hover { background: rgba(59,130,246,.06); border-left-color: var(--blue); padding-left: 20px; }

.svc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: .08em;
  min-width: 32px;
  padding-top: 2px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
}

.svc-item:hover .svc-num { color: var(--blue); transform: scale(1.1); }

.svc-info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-item:hover .svc-info-title { color: var(--blue); }

.svc-info-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-item:hover .svc-info-desc { color: var(--primary); }

/* ── PORTFOLIO ── */
.portfolio {
  padding: 88px 48px 88px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(245,247,252,.5) 0%, #ffffff 100%);
}

.port-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.32, 0.08, 0.24, 1), box-shadow .3s cubic-bezier(0.32, 0.08, 0.24, 1), opacity .3s;
  box-shadow: 0 4px 18px rgba(221,42,123,.30);
}

.btn-instagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #feda77 0%, #f58529 30%, #dd2a7b 60%, #8134af 100%);
  opacity: 0;
  transition: opacity .35s ease;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(221,42,123,.45);
}

.btn-instagram:hover::before { opacity: 1; }

.btn-instagram .wa-icon,
.btn-instagram svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── DESKTOP: sticky scroll gallery ── */
.psg-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  align-items: start;
  cursor: grab;
}
.psg-desktop:active { cursor: grabbing; }

.psg-col { display: flex; flex-direction: column; gap: 6px; }
.psg-center { position: sticky; top: calc(var(--nav-h) + 12px); }

.psg-sticky {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: calc(100vh - var(--nav-h) - 24px);
}
.psg-sticky .port-item { flex: 1; min-height: 0; }

/* ── MOBILE: Swiper coverflow — oculto no desktop ── */
.port-swiper { display: none; }

/* ── Swiper coverflow: estilos base ── */
.port-swiper .swiper-slide { width: 260px; }
.port-swiper .port-item { aspect-ratio: 3/4; border-radius: 18px; }
.port-swiper .swiper-3d .swiper-slide-shadow-left,
.port-swiper .swiper-3d .swiper-slide-shadow-right { background: none; }
.port-swiper-pagination { bottom: 0 !important; }
.port-swiper-pagination .swiper-pagination-bullet {
  background: rgba(9,9,9,.25);
  opacity: 1;
}
.port-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Todos os port-item compartilham a mesma base */
.port-item {
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

/* Itens nas colunas laterais com aspect-ratio variado para ritmo visual */
.psg-left  .port-item:nth-child(1) { aspect-ratio: 4/3; }
.psg-left  .port-item:nth-child(2) { aspect-ratio: 3/4; }
.psg-left  .port-item:nth-child(3) { aspect-ratio: 16/9; }
.psg-left  .port-item:nth-child(4) { aspect-ratio: 3/4; }
.psg-left  .port-item:nth-child(5) { aspect-ratio: 4/3; }
.psg-right .port-item:nth-child(1) { aspect-ratio: 3/4; }
.psg-right .port-item:nth-child(2) { aspect-ratio: 16/9; }
.psg-right .port-item:nth-child(3) { aspect-ratio: 3/4; }
.psg-right .port-item:nth-child(4) { aspect-ratio: 4/3; }
.psg-right .port-item:nth-child(5) { aspect-ratio: 3/4; }

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.port-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition:
    transform .6s cubic-bezier(0.32, 0.08, 0.24, 1),
    filter .6s cubic-bezier(0.32, 0.08, 0.24, 1);
  filter: brightness(.78) saturate(.85);
}

.port-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.1); }

/* Dots do carrossel — ocultos no desktop */
.psg-dots { display: none; }

/* ── CLIENTS ── */
.clients {
  padding: 80px 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(245,247,252,.5) 0%, #ffffff 100%);
  transition: background .6s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.clients:hover { background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%); }

.clients-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.client-cell {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  transition:
    background .45s cubic-bezier(0.32, 0.08, 0.24, 1),
    box-shadow .45s cubic-bezier(0.32, 0.08, 0.24, 1),
    transform .45s cubic-bezier(0.32, 0.08, 0.24, 1);
  overflow: hidden;
  position: relative;
}

/* shimmer sweep on hover */
.client-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(59,130,246,.12) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform .55s cubic-bezier(0.32, 0.08, 0.24, 1);
  pointer-events: none;
}

/* gold bottom-border reveal */
.client-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.client-cell:hover {
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(59,130,246,.18), 0 2px 8px rgba(0,0,0,.06);
  transform: translateY(-3px);
}

.client-cell:hover::before { transform: translateX(100%); }
.client-cell:hover::after  { transform: scaleX(1); }

.client-cell img {
  max-width: 100%;
  max-height: 4em;
  width: auto; height: auto;
  object-fit: contain;
  opacity: .65;
  filter: grayscale(1);
  transition:
    opacity .45s cubic-bezier(0.32, 0.08, 0.24, 1),
    filter .45s cubic-bezier(0.32, 0.08, 0.24, 1),
    transform .45s cubic-bezier(0.32, 0.08, 0.24, 1);
  position: relative;
  z-index: 1;
}

.client-cell:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.08);
}

/* ── FAQ ── */
.faq-section {
  padding: 88px 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(245,247,252,.5) 0%, #ffffff 100%);
}

.faq-container { max-width: 760px; display: contents;}

.faq-header { margin-bottom: 48px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  transition: color .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-item:hover .faq-question { color: var(--blue); }

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), background .3s;
}

.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after   { width: 2px; height: 12px; }

.faq-item:hover .faq-icon::before,
.faq-item:hover .faq-icon::after { background: var(--blue); }

.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 4px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: #fbbf24;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 48px 40px;
  border-right: 1px solid rgba(0,0,0,.12);
}

.stat-cell:last-child { border-right: none; }

.stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 1;
  color: #090909;
  letter-spacing: .02em;
}

.stat-l {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(9,9,9,.5);
  margin-top: 6px;
}
