/* ========================================================================
   Expert em Atendimento Social, página de vendas
   Paleta PRÓPRIA (terracota + vinho), distinta da home (verde + dourado):
   creme-dominante, terracota em destaque, cortes diagonais e CTA fixo.
   ======================================================================== */

body.expert-theme {
  --green-deep: #2d1119;
  --green: #5c2333;
  --green-soft: #7a3347;
  --gold: #c1703f;
  --gold-light: #d98f5f;
  --cream: #f0e2d3;
  --cream-soft: #f8f0e7;
  --text: #3b2420;
  --shadow: 0 18px 50px rgba(45, 17, 25, .18);
  --grad: linear-gradient(155deg, #7a3347 0%, #5c2333 45%, #2d1119 100%);
}

/* ---------- Scroll reveal (aplicado via data-reveal / data-reveal-stagger no HTML) ---------- */
body.expert-theme [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
body.expert-theme [data-reveal].in-view { opacity: 1; transform: none; }
body.expert-theme [data-reveal="left"] { transform: translateX(-36px); }
body.expert-theme [data-reveal="right"] { transform: translateX(36px); }
body.expert-theme [data-reveal="scale"] { transform: scale(.93); }
body.expert-theme [data-reveal="left"].in-view,
body.expert-theme [data-reveal="right"].in-view,
body.expert-theme [data-reveal="scale"].in-view { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.expert-theme [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Micro-interações (hover) ---------- */
body.expert-theme .btn-gold { position: relative; overflow: hidden; box-shadow: 0 10px 26px rgba(193,112,63,.35); }
body.expert-theme .btn-gold:hover { box-shadow: 0 14px 32px rgba(193,112,63,.5); }
body.expert-theme .btn-gold::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
body.expert-theme .btn-gold:hover::before { animation: btnShine .9s ease forwards; }
@keyframes btnShine { from { left: -75%; } to { left: 125%; } }

body.expert-theme .fase-item {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.expert-theme .fase-item:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 38px rgba(45,17,25,.16);
  border-left-color: var(--gold-light);
}
body.expert-theme .fase-item summary::after { transition: transform .25s ease, color .25s ease; }
body.expert-theme .fase-item:hover summary::after { color: var(--gold-light); }

body.expert-theme .tag {
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
body.expert-theme .tag:hover {
  background: var(--gold); color: var(--white); border-color: var(--gold);
  transform: translateY(-3px);
}

body.expert-theme .benefits-strip span { transition: transform .2s ease; }
body.expert-theme .benefits-strip span:hover { transform: translateY(-3px); }

body.expert-theme .compare-col { transition: transform .3s ease, box-shadow .3s ease; }
body.expert-theme .compare-before:hover { transform: translateY(-5px); }
body.expert-theme .compare-after:hover { transform: translateY(-7px); box-shadow: 0 26px 60px rgba(45,17,25,.4); }

body.expert-theme .offer-card { transition: transform .35s ease, box-shadow .35s ease; }
body.expert-theme .offer-card:hover { transform: translateY(-8px); box-shadow: 0 30px 66px rgba(45,17,25,.28); }

body.expert-theme .faq-item { transition: transform .25s ease, box-shadow .25s ease; }
body.expert-theme .faq-item:hover { transform: translateX(4px); }

body.expert-theme .sobre-photo { transition: transform .4s ease; }
body.expert-theme .sobre-media:hover .sobre-photo { transform: scale(1.02); }

/* ---------- Contador animado (hero-stats) ---------- */
body.expert-theme .stat strong { font-variant-numeric: tabular-nums; }

/* ---------- Header simples (landing) ---------- */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(45, 17, 25, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193,112,63,.25);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.lp-header .brand-logo { height: 32px; width: auto; }
.lp-header-cta { padding: 11px 22px; font-size: .92rem; }

/* ---------- Hero (corte diagonal na base) ---------- */
.lp-hero {
  position: relative; overflow: hidden; background: var(--grad); color: var(--white);
  padding: 148px 0 132px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 52px));
}
/* Moldura centralizada: respeita a MESMA margem lateral do header (var(--max) + 24px) */
.lp-hero-frame {
  position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 148px 24px 132px;
  display: flex; align-items: center;
}
.lp-hero-text { position: relative; z-index: 1; max-width: 580px; animation: lpHeroTextIn .9s cubic-bezier(.22,1,.36,1) both; }
@keyframes lpHeroTextIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Arte de fundo do hero: imagem pronta (blend já embutido pelo cliente) ---------- */
.lp-hero-art {
  position: absolute; inset: 0; z-index: 0;
  animation: lpHeroArtIn 1.3s cubic-bezier(.22,1,.36,1) both;
}
.lp-hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 64% center; display: block;
}
.lp-hero-art::after {
  content: ''; position: absolute; inset: 0; background: rgba(45,17,25,.4); pointer-events: none;
}
.lp-hero-badge {
  position: absolute; right: 6%; bottom: 10%; z-index: 2;
  background: var(--gold); color: var(--green-deep); font-family: var(--font-head);
  font-weight: 800; font-size: .82rem; line-height: 1.25; text-align: center;
  padding: 12px 16px; border-radius: 14px; box-shadow: 0 14px 30px rgba(45,17,25,.45);
  animation: lpHeroBadgeFloat 6s ease-in-out infinite;
}

@keyframes lpHeroArtIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes lpHeroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero-art, .lp-hero-badge, .lp-hero-text { animation: none; }
}

@media (max-width: 820px) {
  .lp-hero-frame { display: flex; flex-direction: column; padding: 120px 24px 70px; }
  .lp-hero-art img { object-position: 64% center; }
  .lp-hero-badge { right: 20px; bottom: 16px; }
  .lp-hero-text { max-width: 100%; }
}
.lp-ribbon {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--green-deep);
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.lp-hero h1 { font-size: clamp(1.75rem, 3.7vw, 2.7rem); font-weight: 800; margin-bottom: 20px; }
.lp-hero .hero-sub { font-size: clamp(.96rem, 1.5vw, 1.05rem); color: var(--text-light); max-width: 560px; }

/* stats em pílulas douradas (diferente da home) */
.lp-hero .hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px; border: none; padding: 0; margin-top: 38px;
}
.lp-hero .stat {
  display: flex; align-items: baseline; gap: 8px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(193,112,63,.45); border-radius: 999px; padding: 11px 20px;
}
.lp-hero .stat strong { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--gold-light); }
.lp-hero .stat span { font-size: .82rem; color: var(--text-light); }

/* ---------- Faixa de benefícios DOURADA, carrossel infinito (a home usa verde) ---------- */
.benefits-strip { background: var(--gold); overflow: hidden; }
.benefits-track {
  display: flex; width: max-content;
  animation: benefitsMarquee 22s linear infinite;
}
.benefits-strip:hover .benefits-track { animation-play-state: paused; }
.benefits-group {
  display: flex; align-items: center; flex-shrink: 0;
  gap: 38px; padding: 18px 38px 18px 0;
}
.benefits-strip span {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--green-deep);
  position: relative; padding-left: 24px; white-space: nowrap;
}
.benefits-strip span::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; }

@keyframes benefitsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .benefits-track { animation: none; }
}

/* ---------- Seções base: CREME-dominante (invertido em relação à home) ---------- */
.lp-section { padding: 86px 0; background: var(--cream-soft); }
.lp-section.alt { background: var(--white); }
.lp-section .section-head { margin-bottom: 48px; }

/* ---------- Lista de features (fundo claro) ---------- */
.feature-list { list-style: none; display: grid; gap: 12px; }
.feature-list.two-cols { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.feature-list li { position: relative; padding-left: 32px; color: #44544f; }
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Fases (accordion com borda lateral dourada) ---------- */
.fases { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.fase-item {
  background: var(--white); border: 1px solid rgba(45,17,25,.08); border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0; overflow: hidden; box-shadow: 0 8px 26px rgba(45,17,25,.06);
}
.fase-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head);
  font-weight: 700; font-size: 1.12rem; color: var(--green); display: flex; align-items: center; gap: 14px;
}
.fase-item summary::-webkit-details-marker { display: none; }
.fase-item summary::after {
  content: '+'; margin-left: auto; font-size: 1.6rem; font-weight: 400; color: var(--gold);
  transition: transform .25s ease; line-height: 1;
}
.fase-item[open] summary::after { transform: rotate(45deg); }
.fase-tag {
  flex-shrink: 0; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-deep); background: var(--cream); padding: 5px 12px; border-radius: 6px;
}
.fase-body { padding: 4px 26px 26px; }
.fase-sub { font-family: var(--font-head); font-weight: 600; color: var(--gold); margin: 14px 0 12px; }
.fase-body .feature-list { margin-bottom: 4px; }

/* ---------- Tags / chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: .86rem; color: var(--green); background: var(--cream-soft);
  border: 1px solid rgba(193,112,63,.35); padding: 7px 14px; border-radius: 8px;
}

/* ---------- Comparação antes x depois ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 920px; margin: 0 auto; }
.compare-col { border-radius: 20px; padding: 38px 34px; }
.compare-col h3 { font-size: 1.35rem; margin-bottom: 22px; }
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { position: relative; padding-left: 32px; }
.compare-before { background: var(--cream); border: 1px solid rgba(45,17,25,.08); }
.compare-before h3 { color: #7a6a52; }
.compare-before li { color: #6b7c78; }
.compare-before li::before { content: '✕'; position: absolute; left: 0; top: 0; color: #b9a88f; font-weight: 700; }
.compare-after { background: var(--grad); color: var(--white); box-shadow: var(--shadow); }
.compare-after h3 { color: var(--gold-light); }
.compare-after li { color: var(--text-light); }
.compare-after li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Professora ---------- */
.professora-tag {
  margin-top: 22px; font-family: var(--font-head); font-weight: 600; font-style: italic;
  color: var(--gold); font-size: 1.1rem;
}

/* ---------- Oferta / preço (corte diagonal no topo) ---------- */
.lp-offer {
  padding: 110px 0 90px; background: var(--green-deep); color: var(--white);
  clip-path: polygon(0 52px, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.lp-offer .section-head h2 { color: var(--white); }
.lp-offer .section-head .eyebrow { color: var(--gold-light); }
.offer-card {
  max-width: 560px; margin: 0 auto; background: var(--white); color: var(--text);
  border-radius: 24px; padding: 44px 40px; box-shadow: var(--shadow); text-align: center;
  border-top: 6px solid var(--gold);
}
.offer-title { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green); margin-bottom: 24px; }
.offer-includes { list-style: none; display: grid; gap: 12px; text-align: left; margin-bottom: 30px; }
.offer-includes li { position: relative; padding-left: 32px; color: #44544f; }
.offer-includes li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--white); font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.offer-price { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid rgba(45,17,25,.1); border-bottom: 1px solid rgba(45,17,25,.1); margin-bottom: 26px; }
.price-from { font-size: .95rem; color: #6b7c78; }
.price-from s { color: #a8968a; }
.price-main { font-family: var(--font-head); font-size: 1.4rem; color: var(--green); }
.price-main strong { font-size: 2.4rem; font-weight: 800; color: var(--gold); }
.price-cash { font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 1.05rem; }
.price-pay { font-size: .88rem; color: #6b7c78; }
.offer-cta { width: 100%; }
.offer-guarantee { margin-top: 16px; font-size: .85rem; color: #6b7c78; }

/* ---------- Barra de CTA fixa (exclusiva da página de vendas) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(45, 17, 25, .97); backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold); box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.sticky-cta-info { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-cta-info strong { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1rem; }
.sticky-cta-info span { font-size: .85rem; color: var(--gold-light); }
.sticky-cta .btn { flex-shrink: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .compare { grid-template-columns: 1fr; }
  .lp-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lp-hero-photo-wrap { order: -1; margin: 0 auto 12px; }
  .lp-hero-text { max-width: 100%; }
  .lp-hero .hero-actions, .lp-hero .hero-stats { justify-content: center; }
}
@media (max-width: 680px) {
  .feature-list.two-cols { grid-template-columns: 1fr; }
  .offer-card { padding: 34px 24px; }
  .lp-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px)); padding-bottom: 96px; }
  .lp-offer { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); }
  .sticky-cta-info strong { font-size: .9rem; }
  .sticky-cta-info span { font-size: .78rem; }
  .sticky-cta .btn { padding: 11px 18px; font-size: .9rem; }
  .lp-hero-photo { width: min(280px, 78vw); margin: 0 auto; }
  .lp-hero-badge { left: 50%; transform: translateX(-50%); bottom: -14px; }
}
