/* ============================================================
   EQUIFY — Landing Page Styles
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

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

strong {
  font-weight: 700;
}

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --red: #FF0000;
  --red-dark: #cc0000;
  --white: #ffffff;
  --black: #111111;
  --gray: #444444;
  --gray-light: #f5f5f5;

  --nav-h: 64px;
  --section-py: clamp(72px, 10vw, 120px);
  --container-max: 1160px;
  --container-narrow-max: 760px;
  --gap: clamp(16px, 3vw, 32px);

  --radius: 4px;
  --radius-lg: 12px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.container--narrow {
  max-width: var(--container-narrow-max);
}

/* ── Utility ──────────────────────────────────────────────── */
.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: block; } }

.weight-normal { font-weight: 400; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--red);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
}

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn--white:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* ── Section base ─────────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--white {
  background: var(--white);
  color: var(--black);
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.section__label--red {
  color: var(--red);
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--white);
}

.section__title--dark {
  color: var(--black);
}

.section__intro {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

/* ── Text blocks ──────────────────────────────────────────── */
.text-block p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 680px;
}

.text-block p:last-child { margin-bottom: 0; }

.text-block--dark p {
  color: var(--gray);
}

.text-block--large p {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
}

.text-block strong {
  color: var(--white);
}

.text-block--dark strong {
  color: var(--black);
}

.highlight-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  font-weight: 600;
  color: var(--white) !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + var(--section-py));
  padding-bottom: var(--section-py);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__inner {
  display: flex;
  flex-direction: column;
}

.hero__title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 56px;
}

.hero__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.hero__left {
  display: flex;
  flex-direction: column;
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 24px;
}

.hero__bullets {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__bullets li {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.75);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.hero__bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.45);
}

.hero__tagline {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

.hero__cta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 767px) {
  .hero__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__title {
    text-align: left;
  }
}

.cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ── Media Strip ──────────────────────────────────────────── */
.media-strip {
  padding: clamp(40px, 6vw, 72px) 0;
}

.media-strip__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.media-strip__text {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  min-width: 240px;
}

.media-strip__text strong {
  color: var(--black);
}

/* ── Tag ──────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--red {
  background: var(--red);
  color: var(--white);
}

/* ── Solução Tagline ──────────────────────────────────────── */
.solucao__tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
}

.solucao__tagline span {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.solucao__tagline strong {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── Steps (Como Funciona) ────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.step:first-child {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.step__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  letter-spacing: -0.03em;
}

.step__title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 48px 40px 48px 0;
  }

  .step:nth-child(even) {
    border-right: none;
    padding-left: 40px;
    padding-right: 0;
  }

  .step:nth-child(3),
  .step:nth-child(4) {
    border-bottom: none;
  }

  .step:first-child,
  .step:nth-child(2) {
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

/* ── Audience (Para Quem É) ───────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-top: 16px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.audience-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience-card__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.audience-card__desc {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
}

.audience-card__benefits-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 8px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.benefits-list li {
  font-size: 0.9375rem;
  color: var(--black);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ── Equity Grid ──────────────────────────────────────────── */
.equity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-bottom: 48px;
}

@media (min-width: 480px) {
  .equity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .equity-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.equity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.08);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.equity-item:hover {
  background: rgba(255,255,255,0.14);
}

.equity-item__icon {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  line-height: 1;
}

.equity-closing {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.6;
  max-width: 600px;
}

/* ── CTA Final ────────────────────────────────────────────── */
.cta-final {
  text-align: center;
}

.cta-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.cta-final__sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
  margin-bottom: 56px;
  max-width: 480px;
}

.cta-final__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 640px;
}

@media (min-width: 640px) {
  .cta-final__grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
}

.cta-final__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.cta-final__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.cta-final__divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 32px;
  display: none;
}

@media (min-width: 640px) {
  .cta-final__divider {
    display: block;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid #e8e8e8;
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer img {
  filter: brightness(0);
  opacity: 0.75;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--gray);
}

/* ── Scroll Animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.35s; }
.fade-in--delay-4 { transition-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal-child:nth-child(2) { transition-delay: 0.15s; }
.reveal-child:nth-child(3) { transition-delay: 0.25s; }
.reveal-child:nth-child(4) { transition-delay: 0.35s; }
.reveal-child:nth-child(5) { transition-delay: 0.45s; }
.reveal-child:nth-child(6) { transition-delay: 0.55s; }

/* ── Responsive overrides ─────────────────────────────────── */
@media (max-width: 479px) {
  .nav__ctas {
    display: none;
  }

  .media-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .step {
    gap: 20px;
  }
  .step__number {
    width: 48px;
    font-size: 1.75rem;
  }
}
