/* ============================================
   Influencers Landing Page
   ============================================ */

/* ===== Overrides for influencer pages ===== */
body {
  font-family: 'Rubik', sans-serif;
}

/* ===== Hero ===== */
.infl-hero {
  width: 100%;
  padding: 0;
  margin: 112px 0 0;
}
.infl-hero-card {
  margin: 0 24px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(../public/assets/influencers/pexels-blue-bird-7243156.jpg);
  background-size: cover;
  background-position: center center;
}
.infl-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32,59,50,0.82) 0%, rgba(32,59,50,0.35) 40%, rgba(32,59,50,0.00) 100%);
  z-index: 0;
}
.infl-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 64px 56px;
  text-align: left;
}
.infl-hero-content {
  max-width: 700px; width: 100%;
}
.infl-hero h1 {
  font-size: clamp(34px, 4.5vw, 60px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--c-nuvem); margin-bottom: 16px;
}
.infl-hero-content > p {
  font-size: clamp(17px, 1.6vw, 21px); color: rgba(254,247,229,0.75);
  font-weight: 500; line-height: 1.6; max-width: 480px;
  margin: 0 0 40px;
}
.infl-hero-actions {
  display: flex; align-items: center; justify-content: flex-start; gap: 24px; flex-wrap: wrap;
}
.infl-login-link {
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s ease;
}
.infl-login-link:hover { color: var(--text-main); }
.infl-login-link--light { color: rgba(254,247,229,0.7); }
.infl-login-link--light:hover { color: var(--c-nuvem); }

/* Stats bar — fora do card */
.infl-hero-stats {
  display: flex; align-items: center; justify-content: center;
  margin: 80px 24px;
  padding: 0;
  background: transparent;
  border: none;
  flex-wrap: wrap; gap: 0;
}
.infl-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 48px 0 0;
}
.infl-stat:first-child { padding-left: 0; }
.infl-stat-value {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--c-horizonte); line-height: 1;
}
[data-theme="dark"] .infl-stat-value { color: var(--c-impulso); }
.infl-stat-label {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}
.infl-stat-divider {
  width: 1px; height: 44px; background: var(--card-border);
  margin: 0 48px 0 0; flex-shrink: 0;
}

/* ===== Navbar secondary button ===== */
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--card-border);
  color: var(--text-main);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--c-impulso);
  background: rgba(224,254,116,0.06);
}
.btn-secondary .icon-circle {
  width: 28px; height: 28px; font-size: 14px;
}

/* ===== How it works ===== */
.infl-how {
  padding: 80px 40px;
  background: var(--c-nuvem);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 16px;
}
[data-theme="dark"] .infl-how {
  background: var(--card-bg);
}
.infl-how-container {
  max-width: 1080px; margin: 0 auto;
}
.infl-section-header {
  margin-bottom: 56px;
}
.infl-section-header h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text-main);
  margin-bottom: 12px;
}
.infl-section-header p {
  font-size: 18px; color: var(--text-muted); font-weight: 500;
}
.infl-how-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  direction: rtl;
}
.infl-how-body > * {
  direction: ltr;
}
.infl-steps {
  display: flex; flex-direction: column; gap: 144px;
  padding-top: 40px;
  padding-bottom: 120px;
}
.infl-step {
  position: relative;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.infl-step.infl-step--active {
  opacity: 1;
}
.infl-step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--c-horizonte); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--c-impulso);
  margin-bottom: 20px;
}
.infl-step-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--text-muted); text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.infl-step h3 {
  font-size: 27px; font-weight: 800; color: var(--text-main);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.infl-step p {
  font-size: 21px; color: var(--text-muted); line-height: 1.65;
  max-width: 280px;
}
.infl-phone-sticky {
  position: sticky;
  top: 80px;
  align-self: start;
}
.infl-phone-frame {
  position: relative;
  width: 100%;
  height: calc((100vh - 80px) * 0.85);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.infl-phone-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0; transition: opacity 0.5s ease;
}
.infl-phone-frame img.infl-phone--active {
  opacity: 1;
}

/* ===== Benefits ===== */
.infl-benefits {
  padding: 100px 40px;
}
.infl-benefits-container {
  max-width: 1080px; margin: 0 auto;
}
.infl-benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.infl-benefit-card {
  background: #F0FEB9;
  border: 1px solid rgba(32, 59, 50, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
[data-theme="dark"] .infl-benefit-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}
.infl-benefit-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--c-horizonte); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--c-impulso);
  margin-bottom: 20px;
}
.infl-benefit-card h3 {
  font-size: 17px; font-weight: 800; color: var(--text-main);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.infl-benefit-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.65;
}

/* ===== CTA Final ===== */
.infl-cta {
  padding: 80px 40px 120px;
}
.infl-cta-container {
  max-width: 1080px; margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-image: url(../public/assets/influencers/pexels-rdne-8370484.jpg);
  background-size: 120% auto;
  background-position: -60% 20%;
}
.infl-cta-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(32, 59, 50, 0.96) 0%,
    rgba(32, 59, 50, 0.75) 55%,
    rgba(32, 59, 50, 0.10) 100%
  );
  z-index: 0;
}
.infl-cta-text {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.infl-cta-container h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--c-nuvem);
  margin-bottom: 16px;
}
.infl-cta-container p {
  font-size: 18px; color: rgba(254,247,229,0.70);
  line-height: 1.65; max-width: 460px; margin: 0 0 40px;
}
.infl-cta-actions {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 28px; flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .infl-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .infl-step p { max-width: none; }
  .infl-hero-main { padding: 40px 40px 48px; }
  .infl-cta-container::before {
    background: linear-gradient(to bottom, rgba(32,59,50,0.96) 0%, rgba(32,59,50,0.82) 100%);
  }
  .infl-cta-text { max-width: none; }
}
@media (max-width: 600px) {
  .infl-hero-card {
    margin: 0 12px;
    min-height: 50vh;
    background-image: url(../public/assets/influencers/pexels-blue-bird-7243156.jpg);
    background-size: auto 115%;
    background-position: 80% 0%;
    justify-content: flex-start;
    padding-top: 16px;
  }
  .infl-hero-card::before {
    background: linear-gradient(to bottom, rgba(32,59,50,0.88) 0%, rgba(32,59,50,0.45) 50%, rgba(32,59,50,0.00) 100%);
  }
  .infl-hero { margin-top: 80px; }
  .infl-hero-main { padding: 32px 24px 40px; flex: 1; display: flex; flex-direction: column; }
  .infl-hero-content { flex: 1; display: flex; flex-direction: column; }
  .infl-hero-actions { margin-top: 0; }
  .infl-hero-content { max-width: 50vw; }
  .infl-hero-content > p { max-width: none; margin-bottom: 32px; }
  .infl-hero-actions { flex-direction: column; align-items: flex-start; }
  .infl-hero-actions .btn { padding: 10px 20px; font-size: 13px; }
  .infl-how { padding: 48px 20px; }
  .infl-how-body { grid-template-columns: 1fr; direction: ltr; gap: 0; }
  .infl-phone-sticky { position: sticky; top: 48px; order: -1; align-self: start; margin-bottom: 0; margin-left: -20px; margin-right: -20px; z-index: 2; }
  .infl-phone-sticky::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-nuvem);
    z-index: -1;
  }
  [data-theme="dark"] .infl-phone-sticky::after {
    background: var(--card-bg);
  }
  .infl-phone-frame { width: 85%; height: auto; aspect-ratio: 19 / 24; max-height: none; margin: 0 auto; border-radius: 0; overflow: hidden; }
  .infl-phone-frame img { object-fit: cover; }
  .infl-step { opacity: 0; }
  .infl-step.infl-step--active { opacity: 1; }
  .infl-steps { padding-top: 48px; padding-bottom: 60px; gap: 240px; }
  .infl-benefits { padding: 60px 24px; }
  .infl-benefits-grid { grid-template-columns: 1fr; }
  .infl-cta { padding: 60px 24px 100px; }
  .infl-cta-container { padding: 48px 28px; min-height: 0; background-size: cover; background-position: 60% 0%; background-image: url(../public/assets/influencers/pexels-plann-2999237-4549414.jpg); align-items: flex-start; }
  .infl-cta-container .btn { padding: 8px 14px; font-size: 11px; }
  .infl-cta-container::before { background: linear-gradient(to right, rgba(32,59,50,0.95) 0%, rgba(32,59,50,0.30) 100%); }
  .infl-cta-container h2 { font-size: 24px; margin-bottom: 10px; }
  .infl-cta-container p { font-size: 14px; margin-bottom: 28px; max-width: 180px; }
}

