/* ==========================================================================
   JPToledo — LP Assessoria (variante de teste — assessoria.jptoledo.com.br)
   ========================================================================== */

:root {
  --navy-900: #042472;
  --navy-800: #0a2f82;
  --navy-700: #123a94;
  --magenta: #f2295b;
  --purple: #671e75;
  --cta-gradient: linear-gradient(198deg, var(--magenta) 0%, var(--purple) 100%);
  --teal: #20a989;
  --light: #f5f6fb;
  --light-2: #ececf6;
  --white: #ffffff;
  --text: #1f2333;
  --text-light: #5b6072;
  --text-on-navy: rgba(255, 255, 255, 0.91);
  --text-on-navy-muted: rgba(255, 255, 255, 0.62);
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(8, 12, 36, 0.25);
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; }

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

h2 .accent { color: var(--magenta); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(242, 41, 91, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero .eyebrow,
.authority .eyebrow,
.final-cta .eyebrow {
  background: rgba(242, 41, 91, 0.22);
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

.section-head p { color: var(--text-light); font-size: 17px; }

.section-head.left { margin: 0 0 48px; text-align: left; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(242, 41, 91, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(242, 41, 91, 0.65); }

.btn-block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--text-on-navy);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.microcopy {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

.microcopy.on-navy { color: var(--text-on-navy-muted); }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 30px;
  width: auto;
}

.header-cta { font-size: 14px; padding: 12px 22px; }

/* Hero ---------------------------------------------------------------- */

.hero {
  background: radial-gradient(120% 140% at 15% 0%, #0c3aa0 0%, var(--navy-900) 55%, var(--navy-900) 100%);
  color: var(--text-on-navy);
  padding: 72px 0 96px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(27px, 3.2vw, 36px);
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero h1 .highlight {
  color: var(--magenta);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-on-navy-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-stat-row { display: flex; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.hero-stat b { display: block; font-size: 22px; color: #fff; }

.hero-stat span { font-size: 13px; color: var(--text-on-navy-muted); }

/* Clientes ---------------------------------------------------------------- */

.clients { background: var(--light); }

.clients .section-head { margin-bottom: 40px; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-card {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Marquee (usado pelo carrossel de depoimentos) --------------------------- */

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 18s) linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-shift, -50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Pain / agitation --------------------------------------------------------- */

.pain { background: var(--light); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--magenta);
}

.pain-card p { color: var(--text); font-size: 16.5px; }

.pain-closer {
  text-align: center;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
}

.pain-closer span { color: var(--magenta); }

/* Services / mechanism ----------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  border: 1px solid var(--light-2);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.service-card h3 { font-size: 18px; margin-bottom: 8px; }

.service-card p { color: var(--text-light); font-size: 15px; }

/* Testimonials --------------------------------------------------------- */

.testimonial-track {
  --marquee-duration: 34s;
  --marquee-shift: -2160px;
  gap: 20px;
}

.testimonial-marquee:hover .testimonial-track { animation-play-state: paused; }

.testimonial-card {
  flex: 0 0 340px;
  height: 300px;
  background: var(--light);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.testimonial-card.expanded { height: auto; }

.testimonial-stars {
  color: #f5b400;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.testimonial-card p.quote {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.testimonial-card.expanded .quote {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testimonial-more {
  display: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--magenta);
  cursor: pointer;
  align-self: flex-start;
}

.testimonial-card.has-more .testimonial-more { display: inline-block; }

.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--light-2); }

.testimonial-author b { display: block; font-size: 14px; }

.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* Authority ------------------------------------------------------------ */

.authority { background: var(--navy-900); color: var(--text-on-navy); }

.authority .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.authority-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--navy-700);
  object-fit: cover;
}

.authority h2 { color: #fff; }

.authority p { color: var(--text-on-navy-muted); margin-bottom: 14px; font-size: 16px; }

.authority-cta { margin-top: 20px; }

/* Offer ------------------------------------------------------------------- */

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.offer-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  background: var(--light);
}

.offer-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.offer-item p { font-size: 15.5px; }

/* FAQ ----------------------------------------------------------------- */

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--light-2);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--magenta);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p { padding-bottom: 20px; color: var(--text-light); font-size: 15.5px; }

/* Final CTA + form ----------------------------------------------------- */

.final-cta {
  background: radial-gradient(120% 140% at 85% 100%, #0c3aa0 0%, var(--navy-900) 55%, var(--navy-900) 100%);
  color: var(--text-on-navy);
}

.final-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.final-cta .container.final-cta-solo {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-solo .final-cta-list {
  max-width: 420px;
  margin: 24px auto 32px;
  text-align: left;
}

.final-cta h2 { color: #fff; }

.final-cta p { color: var(--text-on-navy-muted); font-size: 17px; margin-bottom: 20px; }

.final-cta-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.final-cta-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-on-navy); }

.final-cta-list li::before { content: "\2713"; color: var(--teal); font-weight: 700; }

.form-card {
  scroll-margin-top: 100px;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.form-card h3 { font-size: 19px; margin-bottom: 4px; }

.form-card .form-sub { color: var(--text-light); font-size: 13.5px; margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field { margin-bottom: 12px; }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--light-2);
  background: var(--light);
  color: var(--text);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--magenta);
  background: #fff;
}

.form-error {
  display: none;
  background: rgba(242, 41, 91, 0.08);
  color: var(--magenta);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.form-error.visible { display: block; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: var(--text-on-navy-muted);
  padding: 40px 0;
  font-size: 13px;
}

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

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a:hover { color: #fff; }

/* Thank you page ----------------------------------------------------------- */

.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 140% at 50% 0%, #0c3aa0 0%, var(--navy-900) 55%, var(--navy-900) 100%);
  color: var(--text-on-navy);
  text-align: center;
  padding: 40px 24px;
}

.thankyou-box { max-width: 560px; }

.thankyou-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}

.thankyou h1 { color: #fff; font-size: clamp(26px, 4vw, 34px); margin-bottom: 16px; }

.thankyou p { color: var(--text-on-navy-muted); font-size: 17px; margin-bottom: 28px; }

/* Legal pages (Política de Privacidade, Termos) --------------------------- */

.legal-hero { background: var(--light); padding: 56px 0 40px; }

.legal-hero .container { max-width: 760px; }

.legal-hero h1 { font-size: clamp(28px, 4vw, 38px); color: var(--navy-900); margin-bottom: 10px; }

.legal-hero .updated { color: var(--text-light); font-size: 14px; }

.legal { padding-top: 56px; }

.legal .container { max-width: 760px; }

.legal h2 { font-size: 21px; color: var(--navy-900); margin: 36px 0 12px; }

.legal h2:first-of-type { margin-top: 0; }

.legal p { color: var(--text); font-size: 15.5px; margin-bottom: 14px; }

.legal ul { margin: 0 0 14px; }

.legal li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15.5px;
  margin-bottom: 8px;
}

.legal li::before { content: "•"; color: var(--teal); font-weight: 700; }

.legal a.link { color: var(--magenta); font-weight: 600; text-decoration: underline; }

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero .container,
  .authority .container,
  .final-cta .container { grid-template-columns: 1fr; }

  .services-grid,
  .clients-grid { grid-template-columns: repeat(3, 1fr); }

  .offer-grid,
  .pain-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }

  .services-grid { grid-template-columns: 1fr; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 48px 0 64px; }

  .hero-stat-row { flex-direction: column; gap: 16px; }

  .field-row { grid-template-columns: 1fr; }

  .testimonial-card { flex-basis: 280px; padding: 20px; }

  .testimonial-track { --marquee-duration: 80s; --marquee-shift: -1800px; }

  .header-cta { padding: 10px 16px; font-size: 13px; }
}
