/* ══════════════════════════════════════
   SECTIONS.CSS — Tráfego Pago, Social Media, Portfolio
   ══════════════════════════════════════ */

/* ── Portfólio uniforme 3 colunas ── */
.portfolio-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pf-item-std { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }
.pf-cta-card {
  background: linear-gradient(135deg, rgba(216,255,87,.07), rgba(216,255,87,.03)) !important;
  border-color: rgba(216,255,87,.3) !important;
}
.pf-cta-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 10px;
}
.pf-cta-icon {
  width: 52px; height: 52px;
  background: rgba(216,255,87,.1);
  border: 1px solid rgba(216,255,87,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.pf-cta-icon svg { color: #D8FF57; }
.pf-cta-inner h4 { font-size: 1rem; font-weight: 700; color: #fff; }
.pf-cta-inner p  { font-size: .8rem; color: #7C7C9C; flex: 1; }
@media (max-width: 900px) { .portfolio-grid-new { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .portfolio-grid-new { grid-template-columns: 1fr; } }

/* ── Gráfico tráfego pago ── */
.traffic-charts { display: flex; flex-direction: column; gap: 14px; }
.chart-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 20px 22px;
  backdrop-filter: blur(8px);
}
.chart-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.chart-card-label { font-size: .8rem; color: #B8B8D1; }
.chart-card-badge {
  font-size: .74rem; font-weight: 800; color: #D8FF57;
  background: rgba(216,255,87,.12); border: 1px solid rgba(216,255,87,.25);
  border-radius: 100px; padding: 2px 10px;
}
.line-chart { width: 100%; height: 80px; display: block; }
.chart-line-path { transition: stroke-dashoffset 1.5s cubic-bezier(.16,1,.3,1); }
.chart-line-path.animate { stroke-dashoffset: 0; }
.chart-fill-path { transition: opacity .5s ease 1.2s; }
.chart-fill-path.animate { opacity: 1; }
.chart-dot { transition: opacity .3s ease; }
.chart-dot.animate { opacity: 1; }
.chart-weeks {
  display: flex; justify-content: space-between;
  font-size: .6rem; color: rgba(255,255,255,.25); margin-top: 6px;
}
.chart-stats-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
}
.chart-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 14px;
  text-align: center;
}
.chart-stat-num {
  font-size: 1.35rem; font-weight: 900; color: #D8FF57;
  text-shadow: 0 0 16px rgba(216,255,87,.4);
  line-height: 1; margin-bottom: 5px;
}
.chart-stat-label { font-size: .68rem; color: #7C7C9C; }
.channel-bars { display: flex; flex-direction: column; gap: 10px; }
.channel-bar-item {
  display: flex; align-items: center; gap: 10px; font-size: .74rem; color: #B8B8D1;
}
.channel-bar-item > span:first-child { width: 70px; flex-shrink: 0; }
.channel-bar-item > span:last-child  { width: 30px; flex-shrink: 0; text-align: right; color: #fff; font-weight: 600; }
.channel-bar-track { flex: 1; height: 7px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.channel-bar-fill  { height: 100%; border-radius: 4px; transition: width 1.2s cubic-bezier(.16,1,.3,1); }

/* ── Phone Mockup ── */
.phone-wrap { position: relative; display: inline-flex; justify-content: center; }
.phone-frame {
  width: 260px; height: 520px;
  background: #0a0a18;
  border-radius: 40px;
  border: 2.5px solid rgba(255,255,255,.1);
  box-shadow:
    0 40px 80px rgba(0,0,0,.7),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 60px rgba(123,92,249,.08);
  overflow: hidden; position: relative; flex-shrink: 0;
}
.phone-notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.phone-screen { width: 100%; height: 100%; background: #000; overflow: hidden; }
.phone-ig { height: 100%; display: flex; flex-direction: column; padding-top: 28px; }
.phone-ig-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px 8px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.phone-ig-stats {
  display: flex; justify-content: space-around;
  padding: 10px 14px;
  font-size: .58rem; color: rgba(255,255,255,.5); text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.phone-counter { font-size: .82rem; font-weight: 800; color: #fff; display: block; }
.phone-ig-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; flex: 1; }
.phone-ig-post {
  background: #12121e;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  transition: filter .2s ease;
}
.phone-ig-post:hover { filter: brightness(1.3); }
.phone-notif-area { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; }

/* Floating notifications */
.phone-float-notif {
  position: absolute;
  background: rgba(18,18,30,.95);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateX(30px);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  backdrop-filter: blur(8px);
}
.phone-float-notif.show { opacity: 1; transform: translateX(0); }
.phone-float-notif:nth-child(2) { transform: translateX(-30px); }
.phone-float-notif.show:nth-child(2) { transform: translateX(0); }

/* Responsive new sections */
@media (max-width: 1024px) {
  #trafego-pago > .container > div,
  #social-media-esq > .container > div {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}
@media (max-width: 768px) {
  .phone-frame { width: 220px; height: 440px; }
  .chart-stats-row { grid-template-columns: 1fr 1fr; }
}
