/* Lead hotsite — formulário personalizado dentro do chrome do site */
.lead-hotsite-page {
  background: #f5f6f8;
}

.lead-hotsite {
  --hs-panel: #0d7377;
  --hs-cta: #22c55e;
  --hs-ink: #0b3a6e;
  box-sizing: border-box;
  padding: 36px 24px 56px;
}

/* Rede de segurança: imagens do editor rico não quebram o layout */
.lead-hotsite img {
  max-width: 100%;
  height: auto;
}

.lead-hotsite__intro img,
.lead-hotsite__form-intro img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 10px 0;
  border-radius: 8px;
}

.lead-hotsite__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  align-items: stretch;
}

/* ── Pitch (left column) ── */

.lead-hotsite__pitch {
  flex: 1 1 360px;
  max-width: 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.lead-hotsite__badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background-color: var(--hs-cta);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(0, 0, 0, 0.18) 100%
  );
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.28);
}

.lead-hotsite-page .lead-hotsite__title,
.lead-hotsite__title,
#page #content .lead-hotsite__title,
#page #content h1.lead-hotsite__title {
  margin: 0 0 8px !important;
  margin-top: 0 !important;
  padding: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--hs-ink);
  text-transform: none;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__title strong,
.lead-hotsite__title b {
  font-weight: 800;
}

.lead-hotsite__subtitle {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
  max-width: 100%;
}

.lead-hotsite__intro {
  margin: 0 0 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lead-hotsite__intro-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 14px 14px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.04);
}

.lead-hotsite__intro-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 6px;
  background: var(--hs-cta);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.lead-hotsite__intro-icon .fa {
  display: block;
  line-height: 1;
}

.lead-hotsite__intro-body {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #1f2937;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__intro-body p {
  margin: 0;
  font-weight: 600;
}

.lead-hotsite__intro-body p + p {
  margin-top: 8px;
}

.lead-hotsite__intro-body ul,
.lead-hotsite__intro-body ol {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.lead-hotsite__intro-body img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 10px 0;
  border-radius: 8px;
}

/* ── YouTube ── */

.lead-hotsite__video {
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
}

.lead-hotsite__video--topo {
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.lead-hotsite__video-headline {
  margin: 0 0 14px;
  padding: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hs-ink);
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__video-kicker {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hs-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__video--galeria {
  margin: 0 0 16px;
}

.lead-hotsite__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
}

.lead-hotsite__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Media row: vídeo + fotos lado a lado ── */

.lead-hotsite__media-row {
  flex: 1 1 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 8px;
}

.lead-hotsite__media-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lead-hotsite__media-head {
  margin: 0 0 10px;
  min-height: 1.35em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hs-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__media-head--empty {
  visibility: hidden;
  pointer-events: none;
}

.lead-hotsite__media-col--video .lead-hotsite__video {
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.lead-hotsite__media-col--video .lead-hotsite__video-frame,
.lead-hotsite__media-col--gallery .lead-hotsite__carousel-viewport {
  flex: 1 1 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 16px;
}

.lead-hotsite__media-col--gallery .lead-hotsite__carousel {
  margin-top: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.lead-hotsite__media-col--gallery .lead-hotsite__carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: 0;
  z-index: 4;
}

.lead-hotsite__media-col--gallery .lead-hotsite__carousel-dot {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.lead-hotsite__media-col--gallery .lead-hotsite__carousel-dot.is-active {
  background: var(--hs-cta);
}

/* ── Carousel ── */

.lead-hotsite__carousel {
  margin-top: auto;
  width: 100%;
}

.lead-hotsite__carousel-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
  aspect-ratio: 16 / 10;
}

.lead-hotsite__carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.lead-hotsite__carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.lead-hotsite__carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.lead-hotsite__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-hotsite__carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  backdrop-filter: blur(4px);
}

.lead-hotsite__carousel-nav:hover,
.lead-hotsite__carousel-nav:focus {
  background: rgba(15, 23, 42, 0.7);
  outline: none;
}

.lead-hotsite__carousel-nav--prev { left: 12px; }
.lead-hotsite__carousel-nav--next { right: 12px; }

.lead-hotsite__carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.lead-hotsite__carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.lead-hotsite__carousel-dot.is-active {
  width: 22px;
  background: var(--hs-cta);
}

.lead-hotsite__carousel-dot:hover {
  transform: scale(1.15);
}

/* ── Form wrap (right column) ── */

.lead-hotsite__form-wrap {
  flex: 1 1 360px;
  max-width: 460px;
  min-width: 0;
  margin-left: auto;
}

.lead-hotsite__form-card {
  background: var(--hs-panel);
  color: #fff;
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow: 0 10px 36px rgba(15, 39, 68, 0.14);
}

/* Painel claro (ex.: rosa/bege no admin): tinta escura + erros legíveis */
.lead-hotsite__form-card--light {
  color: #1f2937;
  border: 1px solid rgba(15, 39, 68, 0.08);
}

.lead-hotsite__form-card--light .lead-hotsite__form-intro,
.lead-hotsite__form-card--light .lead-hotsite__form-intro p,
.lead-hotsite__form-card--light .lead-hotsite__form-intro a,
.lead-hotsite__form-card--light .contact-label,
.lead-hotsite__form-card--light .contact-check__label,
.lead-hotsite__form-card--light .contact-check__text a,
.lead-hotsite__form-card--light .lead-hotsite__thanks-title {
  color: #1f2937;
}

.lead-hotsite__form-card--light .contact-required {
  color: #b91c1c;
}

.lead-hotsite__form-card--light .field-notice {
  color: #b91c1c;
  font-weight: 600;
}

.lead-hotsite__form-card--light .lead-hotsite__disclaimer {
  color: #4b5563;
}

.lead-hotsite__form-card--light .lead-hotsite__disclaimer a {
  color: #1f2937;
}

.lead-hotsite__form-card--light .lead-hotsite__thanks-text {
  color: #374151;
}

.lead-hotsite__form-card--light .contact-input.form-control:focus,
.lead-hotsite__form-card--light select.contact-input.form-control:focus,
.lead-hotsite__form-card--light textarea.contact-input.form-control:focus {
  box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.18);
}

.lead-hotsite__form-card--light .alert-danger {
  color: #7f1d1d;
  background: #fef2f2;
  border-color: #fecaca;
}

.lead-hotsite__form-intro {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lead-hotsite__form-intro p {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
}

.lead-hotsite__form-intro strong,
.lead-hotsite__form-intro b {
  font-weight: 700;
}

.lead-hotsite__form-intro a {
  color: #fff;
  text-decoration: underline;
}

/* ── Form fields ── */

.lead-hotsite .form-group.contact-field {
  margin-bottom: 12px;
}

.lead-hotsite .contact-label {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.lead-hotsite .contact-required {
  color: #fde68a;
}

.lead-hotsite .contact-input.form-control,
.lead-hotsite select.contact-input.form-control,
.lead-hotsite textarea.contact-input.form-control {
  border: none;
  border-radius: 10px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  background: #fff;
  padding: 11px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow .15s ease;
}

.lead-hotsite .contact-input.form-control:focus,
.lead-hotsite select.contact-input.form-control:focus,
.lead-hotsite textarea.contact-input.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.lead-hotsite select.contact-input.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.lead-hotsite .field-notice {
  color: #fecaca;
  font-size: 12px;
  margin-top: 4px;
}

.lead-hotsite .contact-check__label {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.lead-hotsite .contact-check__text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

/* ── Submit button ── */

.lead-hotsite__submit {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 52px;
  border: none;
  border-radius: 10px;
  background: var(--hs-cta) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease;
  box-shadow: 0 4px 14px rgba(34,197,94,0.25);
}

.lead-hotsite__submit:hover,
.lead-hotsite__submit:focus {
  filter: brightness(0.93);
  color: #fff !important;
  transform: translateY(-1px);
}

.lead-hotsite__submit:active {
  transform: translateY(0);
}

/* ── LGPD disclaimer (below button) ── */

.lead-hotsite__disclaimer {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
  text-align: center;
}

.lead-hotsite__disclaimer a {
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
}

.lead-hotsite__thanks {
  text-align: center;
  padding: 28px 12px 18px;
}

.lead-hotsite__thanks-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--hs-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.lead-hotsite__thanks-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.lead-hotsite__thanks-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}

/* ── Alerts ── */

.lead-hotsite .alert {
  border-radius: 10px;
  margin-bottom: 16px;
}

/* ── Responsive ── */

@media (max-width: 767px) {
  .lead-hotsite {
    padding: 24px 16px 40px;
  }

  .lead-hotsite__video--topo {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .lead-hotsite__video-frame {
    border-radius: 14px;
  }

  .lead-hotsite__media-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 4px;
  }

  .lead-hotsite__media-head--empty {
    display: none;
  }

  .lead-hotsite__media-col--video .lead-hotsite__video-frame,
  .lead-hotsite__media-col--gallery .lead-hotsite__carousel-viewport {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .lead-hotsite__inner {
    gap: 28px 0;
  }

  .lead-hotsite__pitch {
    max-width: none;
  }

  .lead-hotsite-page .lead-hotsite__title,
  .lead-hotsite__title,
  #page #content h1.lead-hotsite__title {
    font-size: clamp(26px, 7vw, 34px);
    margin-top: 0 !important;
  }

  .lead-hotsite__subtitle {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .lead-hotsite__form-wrap {
    margin-left: 0;
    max-width: none;
  }

  .lead-hotsite__form-card {
    padding: 22px 18px 26px;
    border-radius: 18px;
  }

  .lead-hotsite__carousel-viewport {
    aspect-ratio: 16 / 11;
    border-radius: 14px;
  }

  .lead-hotsite__carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}
