/* ========================================
   PIXELBEADS BRASIL — COOKIES BANNER
   LGPD + Google AdSense Policy Compliant
   ======================================== */

/* ========== SKIP LINK — WCAG 2.2 ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========== COOKIE BANNER ========== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  border-top: 3px solid var(--primary-pink, #FFB6D9);
  animation: slideUpCookie 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-content a {
  color: var(--primary-pink, #FFB6D9);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFB6D9, #C4B5E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.trust-label {
  font-size: 13px;
  color: rgba(44, 44, 44, 0.7);
  font-weight: 500;
}

/* ========== HERO CTAs ========== */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ========== COMO FUNCIONA ========== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.how-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB6D9, #C4B5E0);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(255, 182, 217, 0.4);
}

.how-step h3 {
  color: var(--dark-gray, #2C2C2C);
  margin-bottom: 12px;
}

.how-step p {
  color: rgba(44, 44, 44, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ========== FAQ SECTION ========== */
.faq-item {
  border: 1px solid rgba(196, 181, 224, 0.3);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-gray, #2C2C2C);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #FFB6D9;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: rgba(44, 44, 44, 0.8);
  line-height: 1.8;
  margin: 0;
}

/* ========== ABOUT MINI ========== */
.about-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-mini-text h2 {
  margin-top: 0;
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ========== BLOG GRID ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ========== RESPONSIVIDADE DOS NOVOS COMPONENTES ========== */
@media (max-width: 1024px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-number {
    font-size: 1.5rem;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-mini-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-mini-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }
}

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

  .about-mini-stats {
    grid-template-columns: 1fr 1fr;
  }
}
