/* ============================================
   VIVANCE — Sales Page System v1
   Compartilhado por todas as páginas de produto
   Reusa a paleta oficial em ../styles.css
   ============================================ */

@import url("../styles.css");

/* ============================================
   SHARED — overrides leves só para sales pages
   ============================================ */
.sales-shell {
  background: var(--cream);
}

/* ============================================
   HERO de venda
   ============================================ */
.sales-hero {
  position: relative;
  padding: clamp(7rem, 14vw, 11rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  background: var(--noir);
  color: var(--cream);
  overflow: hidden;
}
.sales-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(140, 42, 124, 0.42) 0%, transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(255, 188, 125, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.sales-hero > * { position: relative; z-index: 1; }

.sales-hero__back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(248, 245, 240, 0.6);
  margin-bottom: 2.5rem;
  transition: color 0.25s var(--ease);
}
.sales-hero__back:hover { color: var(--peach); }

.sales-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.sales-hero__eyebrow {
  color: var(--peach);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.sales-hero__eyebrow::before { background: var(--peach); opacity: 1; }

.sales-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.sales-hero h1 em {
  font-style: italic;
  color: var(--peach);
}
.sales-hero h1 .l { display: block; }

.sales-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(248, 245, 240, 0.82);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.sales-hero__ctas {
  display: flex; gap: 0.85rem; flex-wrap: wrap;
}

.btn-sales {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.7rem;
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.2s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-sales--peach {
  background: var(--peach);
  color: var(--ink);
  font-weight: 600;
}
.btn-sales--peach:hover {
  background: var(--peach-deep);
  transform: translateY(-2px);
}
.btn-sales--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248, 245, 240, 0.25);
}
.btn-sales--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-sales--purple {
  background: var(--purple);
  color: var(--cream);
}
.btn-sales--purple:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
}
.btn-sales::after {
  content: "→";
  font-family: var(--display);
  font-size: 1.1rem; letter-spacing: 0;
}
.btn-sales--play::after { content: "▶"; font-size: 0.7rem; }

.sales-hero__meta {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 2.25rem;
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248, 245, 240, 0.55);
}
.sales-hero__meta span {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.sales-hero__meta span::before {
  content: ""; width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--peach);
}

/* Hero image side */
.sales-hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.sales-hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.sales-hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 8, 16, 0.55) 100%);
  pointer-events: none;
}
.sales-hero__tag {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  font-family: var(--mono);
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream);
  padding: 0.45rem 0.8rem;
  background: rgba(15, 8, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  z-index: 2;
}

/* ============================================
   VSL — Video Sales Letter
   ============================================ */
.vsl {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--cream);
}
.vsl__inner {
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.vsl__eyebrow {
  margin-bottom: 1.25rem;
  justify-content: center;
}
.vsl h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.vsl h2 em { font-style: italic; color: var(--purple); }
.vsl__sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  margin-left: auto; margin-right: auto;
}

.vsl__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--noir);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.vsl__player video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Estado "video ausente" — exibe poster + selo */
.vsl__player[data-empty] {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(140, 42, 124, 0.35) 0%, transparent 60%),
    var(--noir);
  color: rgba(248, 245, 240, 0.65);
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.vsl__player[data-empty]::before {
  content: "▶";
  display: block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--peach);
  letter-spacing: 0;
}
.vsl__player[data-empty]::after {
  content: attr(data-empty);
  display: block;
}

/* ============================================
   QUEM É / QUEM NÃO É
   ============================================ */
.fit {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--cream-2);
}
.fit__inner {
  max-width: 1100px; margin: 0 auto;
}
.fit__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 3rem;
}
.fit__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.035em;
}
.fit__head h2 em { font-style: italic; color: var(--purple); }
.fit__head p {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

.fit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.fit__col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}
.fit__col h3 {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.65rem;
}
.fit__col h3::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--peach);
}
.fit__col--no h3::before { background: var(--ink-mute); opacity: 0.6; }
.fit__col ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.fit__col li {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  display: flex; gap: 0.7rem;
}
.fit__col li::before {
  content: "→";
  color: var(--purple);
  font-family: var(--display);
  flex-shrink: 0;
}
.fit__col--no li::before {
  content: "×";
  color: var(--ink-mute);
}

/* ============================================
   BENEFÍCIOS
   ============================================ */
.benefits {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--cream);
}
.benefits__inner {
  max-width: 1100px; margin: 0 auto;
}
.benefits__head {
  text-align: center;
  margin-bottom: 3rem;
}
.benefits__head .eyebrow { justify-content: center; }
.benefits__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400; line-height: 1;
  margin-top: 1rem;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.benefits__head h2 em { font-style: italic; color: var(--purple); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.benefit {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.benefit:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
}
.benefit__num {
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
  display: block;
}
.benefit h3 {
  font-family: var(--display);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.benefit p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================================
   COMO FUNCIONA UMA AULA
   ============================================ */
.method {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--noir);
  color: var(--cream);
}
.method__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.method__head .eyebrow--peach { color: var(--peach); }
.method__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400; line-height: 1;
  letter-spacing: -0.035em;
  margin: 1rem 0 1.25rem;
}
.method__head h2 em { font-style: italic; color: var(--peach); }
.method__head p {
  color: rgba(248, 245, 240, 0.75);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38ch;
}

.method__steps {
  display: flex; flex-direction: column;
  gap: 0.25rem;
}
.method__step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-on-noir);
}
.method__step:last-child { border-bottom: 1px solid var(--line-on-noir); }
.method__step-num {
  font-family: var(--mono);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--peach);
}
.method__step h3 {
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.method__step p {
  color: rgba(248, 245, 240, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================
   DEPOIMENTO
   ============================================ */
.proof {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--cream);
}
.proof__inner {
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.proof__quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  margin: 1.25rem 0 2rem;
}
.proof__quote em { font-style: italic; color: var(--purple); }
.proof__author {
  display: inline-flex; flex-direction: column;
  font-family: var(--mono);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
  gap: 0.35rem;
}
.proof__author strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================
   FAQ
   ============================================ */
.sales-faq {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--cream-2);
}
.sales-faq__inner {
  max-width: 760px; margin: 0 auto;
}
.sales-faq__head {
  text-align: center;
  margin-bottom: 3rem;
}
.sales-faq__head .eyebrow { justify-content: center; }
.sales-faq__head h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 400; line-height: 1.05;
  margin-top: 1rem;
  letter-spacing: -0.03em;
}
.sales-faq__head h2 em { font-style: italic; color: var(--purple); }

.sales-faq__item {
  border-top: 1px solid var(--line);
}
.sales-faq__item:last-child { border-bottom: 1px solid var(--line); }
.sales-faq__q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.4rem 0;
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
}
.sales-faq__q-plus {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--purple);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}
.sales-faq__item.open .sales-faq__q-plus { transform: rotate(45deg); }

.sales-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.sales-faq__item.open .sales-faq__a { max-height: 400px; }
.sales-faq__a-inner {
  padding: 0 0 1.5rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ============================================
   CTA FINAL — formulário cortesia
   ============================================ */
.sales-cta {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--noir);
  color: var(--cream);
  position: relative; overflow: hidden;
}
.sales-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 188, 125, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(140, 42, 124, 0.4) 0%, transparent 55%);
  pointer-events: none;
}
.sales-cta__inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.sales-cta__text .eyebrow {
  color: var(--peach); font-weight: 500;
}
.sales-cta__text .eyebrow::before { background: var(--peach); opacity: 1; }
.sales-cta__text h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 350; line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 1.25rem 0 1.5rem;
}
.sales-cta__text h2 em { font-style: italic; color: var(--peach); }
.sales-cta__text p {
  color: rgba(248, 245, 240, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 44ch;
}

.sales-cta__form {
  background: var(--cream);
  color: var(--ink);
  border-radius: 6px;
  padding: 2.25rem 1.85rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.sales-cta__form h3 {
  font-family: var(--display);
  font-size: 1.45rem; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}
.sales-cta__form h3 em { font-style: italic; color: var(--purple); }
.sales-cta__form > p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.sales-cta__field {
  display: flex; flex-direction: column;
  gap: 0.4rem; margin-bottom: 1.1rem;
}
.sales-cta__field label {
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.sales-cta__field input,
.sales-cta__field select {
  padding: 0.75rem 0;
  font-size: 0.96rem;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
  font-family: var(--sans);
  transition: border-color 0.25s var(--ease);
  border-radius: 0;
}
.sales-cta__field input:focus,
.sales-cta__field select:focus { border-bottom-color: var(--purple); }
.sales-cta__field input::placeholder { color: var(--ink-mute); opacity: 0.6; }

.sales-cta__form .btn-sales { width: 100%; margin-top: 0.5rem; }

.sales-cta__legal {
  font-family: var(--mono);
  font-size: 0.58rem; letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* ============================================
   FAB já vem do styles.css principal
   ============================================ */

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  .sales-hero__inner,
  .method__inner,
  .sales-cta__inner,
  .fit__head { grid-template-columns: 1fr; gap: 2rem; }
  .sales-hero__visual { aspect-ratio: 4 / 3; max-height: 420px; }
  .fit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .sales-cta__form { padding: 1.75rem 1.25rem; }
  .benefit { padding: 1.5rem 1.25rem; }
}
