/*
Theme Name: Achei Comprei Compartilhei VIP
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Tema WordPress de landing page para grupo VIP de promoções no WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: acc-vip
*/

:root {
  --bg-1: #fffaf5;
  --bg-2: #fff1f7;
  --card: rgba(255, 251, 252, 0.94);
  --line: rgba(242, 73, 105, 0.12);

  --title: #ef465f;
  --title-dark: #d63d73;
  --text: #855f67;
  --muted: #9b7c82;

  --pink-soft: #ffd8ea;
  --pink-soft-2: #f7bfdc;
  --yellow-soft: #fff2b6;
  --yellow-soft-2: #ffd76e;

  --green-1: #2cca63;
  --green-2: #21b95a;

  --progress-track: #f7e2dc;
  --progress-fill-1: #ffd65c;
  --progress-fill-2: #ff6fa6;

  --shadow: 0 16px 38px rgba(245, 87, 129, 0.08);
  --pill: 999px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --testimonial-card-height: 76px;
  --testimonial-gap: 8px;
  --testimonial-count: 8;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 215, 110, 0.22), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(255, 122, 196, 0.18), transparent 18%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
.section-title,
.partners-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 12px;
  text-align: center;
  background: rgba(255, 252, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 73, 105, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--title-dark);
}

.page {
  min-height: calc(100vh - 36px);
  display: flex;
  justify-content: center;
  padding: 18px 14px 110px;
}

.landing-card {
  width: 100%;
  max-width: 430px;
  padding: 20px 18px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,250,252,0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.landing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 215, 110, 0.16), transparent 18%),
    radial-gradient(circle at 84% 10%, rgba(255, 111, 166, 0.11), transparent 18%);
  pointer-events: none;
}

.hero,
.mini-badges,
.features-section,
.testimonials-section,
.partners-section,
.final-cta {
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
}

.main-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(255, 95, 160, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  margin-bottom: 10px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, rgba(255, 213, 111, 0.28), rgba(255, 185, 221, 0.36));
  color: var(--title-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.8rem, 7vw, 2.45rem);
  line-height: 0.98;
  color: var(--title);
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--title-dark);
}

.subtitle {
  max-width: 320px;
  margin: 0 auto 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 700;
}

.subtitle strong {
  color: var(--title-dark);
}

.hero-highlight {
  margin: 0 auto 14px;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--title-dark);
}

.cta-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, var(--green-1) 0%, var(--green-2) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(39, 200, 99, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: pulseCta 1.8s ease-in-out infinite;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(39, 200, 99, 0.22);
  filter: brightness(1.02);
}

.cta-button-secondary {
  margin-top: 2px;
}

@keyframes pulseCta {
  0% { transform: scale(1); }
  50% { transform: scale(1.022); }
  100% { transform: scale(1); }
}

.cta-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.progress-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(242, 73, 105, 0.09);
  text-align: left;
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--title-dark);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: var(--pill);
  background: var(--progress-track);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--progress-fill-1), var(--progress-fill-2));
  transition: width 0.35s ease;
}

.progress-note {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.mini-badges {
  display: flex;
  align-items: stretch;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.mini-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: var(--pill);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--title-dark);
  border: 1px solid rgba(242, 73, 105, 0.08);
  text-align: center;
}

.mini-badge.pink {
  background: linear-gradient(180deg, rgba(255, 215, 236, 0.72), rgba(255, 247, 251, 0.88));
  white-space: nowrap;
}

.mini-badge.yellow {
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 242, 185, 0.82), rgba(255, 251, 235, 0.92));
}

.features-section,
.testimonials-section,
.partners-section,
.final-cta {
  margin-top: 18px;
}

.section-title,
.partners-title {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1;
  text-align: center;
  color: var(--title-dark);
}

.partners-title {
  text-transform: none;
}

.features-list {
  display: grid;
  gap: 8px;
}

.feature-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 249, 246, 0.82);
  border: 1px solid rgba(242, 73, 105, 0.08);
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.9rem;
}

.feature-icon.pink {
  background: linear-gradient(180deg, var(--pink-soft) 0%, rgba(255, 246, 250, 0.95) 100%);
}

.feature-icon.yellow {
  background: linear-gradient(180deg, var(--yellow-soft) 0%, rgba(255, 252, 236, 0.95) 100%);
}

.feature-card h3 {
  font-size: 0.9rem;
  color: var(--title-dark);
  margin-bottom: 3px;
}

.feature-card p {
  font-size: 0.82rem;
  line-height: 1.42;
  color: var(--muted);
  font-weight: 700;
}

.testimonials-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonials-head .section-title {
  margin-bottom: 0;
  text-align: left;
  text-transform: lowercase;
}

.stars {
  font-size: 0.82rem;
  color: #d8a948;
  letter-spacing: 1px;
}

.testimonials-viewport {
  height: calc((var(--testimonial-card-height) * 4) + (var(--testimonial-gap) * 3));
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonials-viewport::before,
.testimonials-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-viewport::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 248, 245, 0.96), rgba(255, 248, 245, 0));
}

.testimonials-viewport::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 248, 245, 0.96), rgba(255, 248, 245, 0));
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: var(--testimonial-gap);
  animation: scrollTestimonials 24s linear infinite;
}

.testimonial-card {
  height: var(--testimonial-card-height);
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 249, 246, 0.88);
  border: 1px solid rgba(242, 73, 105, 0.08);
}

.testimonial-name {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--title-dark);
}

.testimonial-card p {
  font-size: 0.8rem;
  line-height: 1.42;
  color: var(--muted);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes scrollTestimonials {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * ((var(--testimonial-card-height) * var(--testimonial-count)) + (var(--testimonial-gap) * var(--testimonial-count)))));
  }
}

.partners-section {
  padding-top: 2px;
}

.partners-subtitle {
  margin: -2px auto 12px;
  max-width: 290px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 700;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.partner-pill {
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 900;
  color: #563a26;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.partner-pill.magalu {
  background: linear-gradient(180deg, #ffd21f 0%, #ffc700 100%);
}

.partner-pill.amazon {
  background: linear-gradient(180deg, #ffb120 0%, #ff9a00 100%);
}

.partner-pill.shopee {
  background: linear-gradient(180deg, #ff6038 0%, #ff4b21 100%);
  color: #fff;
}

.partner-pill.ml {
  background: linear-gradient(180deg, #ffe71f 0%, #ffdc00 100%);
}

.final-cta {
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 249, 246, 0.78);
  border: 1px solid rgba(242, 73, 105, 0.08);
  text-align: center;
}

.final-cta p {
  margin-bottom: 10px;
  font-size: 0.83rem;
  line-height: 1.42;
  color: var(--muted);
  font-weight: 700;
}

.social-proof-toast {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 14px);
  width: min(92vw, 360px);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 16px;
  background: rgba(255, 249, 246, 0.97);
  border: 1px solid rgba(242, 73, 105, 0.11);
  box-shadow: 0 14px 30px rgba(245, 87, 129, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.social-proof-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast-avatar {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe2ef 0%, #fff0f7 100%);
  flex-shrink: 0;
}

.social-proof-toast p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.social-proof-toast strong {
  color: var(--title-dark);
}

@media (max-width: 480px) {
  .landing-card {
    padding: 18px 14px 16px;
    max-width: 100%;
  }

  .main-logo {
    width: 88px;
    height: 88px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .subtitle,
  .hero-highlight,
  .progress-top,
  .progress-note,
  .feature-card p,
  .testimonial-card p,
  .social-proof-toast p,
  .partners-subtitle,
  .final-cta p {
    font-size: 0.8rem;
  }

  .mini-badges {
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .mini-badge {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.67rem;
    line-height: 1.2;
  }

  .mini-badge.pink {
    flex: 0 0 auto;
  }

  .mini-badge.yellow {
    flex: 1 1 auto;
  }

  .testimonials-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .partners-list {
    gap: 8px;
  }

  .partner-pill {
    font-size: 0.8rem;
    min-height: 34px;
    padding: 8px 14px;
  }

  .social-proof-toast {
    width: min(94vw, 350px);
    bottom: 10px;
  }
}
