:root {
  /* Personalize as cores da landing por aqui. */
  --color-bg: #f5f7fb;
  --color-ink: #071052;
  --color-muted: #4d5576;
  --color-border: #d9e0f3;
  --color-gold: #0a1a78;
  --color-gold-dark: #061052;
  --color-pink: #07147a;
  --color-pink-dark: #040b45;
  --color-blue: #188fbd;
  --color-chip: #188fbd;
  --color-chip-border: #0f78a2;
  --color-chip-text: #ffffff;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(7, 16, 82, 0.18);
  --radius-card: 8px;
  --z-base: 1;
  --z-cta: 20;
  --z-modal: 40;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(320px, 0.72fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px 44px;
  width: 100%;
  height: 100dvh;
  padding: 20px 7vw 30px;
  overflow: hidden;
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../vista-externa-do-teatro.jpg");
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.34;
  pointer-events: none;
}

.page-shell::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-bg);
  content: "";
  opacity: 0.86;
  pointer-events: none;
}

.page-shell > * {
  position: relative;
  z-index: var(--z-base);
}

.brand-row,
.hero-content,
.pme-panel,
.benefit-strip {
  animation: reveal-up 180ms ease-out both;
}

.hero-content {
  animation-delay: 40ms;
}

.pme-panel {
  animation-delay: 80ms;
}

.benefit-strip {
  animation-delay: 120ms;
}

.brand-row {
  display: block;
  grid-column: 1 / 3;
  min-height: 76px;
  animation: none;
  transform: none;
}

.topprime-logo,
.odontogroup-header-logo {
  display: block;
  position: fixed;
  z-index: var(--z-cta);
  width: 138px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
}

.topprime-logo {
  top: 28px;
  left: 28px;
}

.odontogroup-header-logo {
  top: 20px;
  right: 28px;
}

.hero-content {
  align-self: center;
  min-width: 0;
  max-width: 610px;
}

.eyebrow,
.modal-eyebrow {
  margin: 0 0 20px;
  color: var(--color-ink);
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  border-radius: var(--radius-card);
  padding: 8px 14px;
  color: var(--color-white);
  background: var(--color-pink);
  box-shadow: 0 10px 24px rgba(7, 20, 122, 0.16);
  letter-spacing: 0;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
}

h1 {
  max-width: 600px;
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.03;
  text-wrap: balance;
}

.brand-text {
  color: var(--color-pink);
  white-space: nowrap;
}

.brand-go {
  color: var(--color-pink);
}

.brand-care {
  color: var(--color-blue);
}

.support-copy {
  max-width: 510px;
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.price-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  width: min(100%, 560px);
  max-width: 100%;
  margin-top: 12px;
  margin-left: 0;
  padding: 0;
  text-align: left;
}

.price-card span {
  margin: 0 0 1px 6px;
  color: var(--color-ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 100%;
}

.price-card strong {
  margin: 0;
  color: var(--color-pink);
  font-size: 5.35rem;
  font-weight: 900;
  line-height: 0.94;
  white-space: nowrap;
}

.price-line small,
.price-line em {
  color: var(--color-ink);
  font-size: 1.32rem;
  font-style: normal;
  font-weight: 800;
}

.price-line em {
  white-space: nowrap;
}

.contract-tags {
  display: block;
  min-width: 0;
  width: min(100%, 760px);
  max-width: 100%;
  margin-top: 24px;
  margin-bottom: 18px;
  margin-right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.contract-tags-track {
  display: flex;
  flex: 0 0 max-content;
  gap: 8px;
  min-width: max-content;
  width: max-content;
  animation: contract-tags-scroll 18s linear infinite;
  will-change: transform;
}

.contract-tags span {
  flex: 0 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 7px 10px;
  color: var(--color-pink);
  background: var(--color-white);
  font-size: 0.86rem;
  font-weight: 800;
}

.contract-tags span:nth-child(even) {
  border-color: var(--color-chip-border);
  color: var(--color-chip-text);
  background: var(--color-chip);
}

.contract-tags span,
.benefit-item,
.side-quote-button,
.quiz-option,
.quiz-back,
.quiz-close-button,
.submit-button {
  transition: transform 160ms ease-out;
}

.contract-tags span:hover,
.benefit-item:hover,
.side-quote-button:hover,
.quiz-option:hover,
.quiz-back:hover,
.quiz-close-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.pme-panel {
  align-self: stretch;
  justify-self: end;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(100%, 560px);
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.plan-visual {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.plan-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
}

.plan-visual video {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.18) saturate(1.12) brightness(0.96);
  -webkit-mask-image: radial-gradient(ellipse 82% 62% at center, #000 52%, rgba(0, 0, 0, 0.78) 68%, transparent 88%);
  mask-image: radial-gradient(ellipse 82% 62% at center, #000 52%, rgba(0, 0, 0, 0.78) 68%, transparent 88%);
}

.pme-panel video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.pme-copy {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding: 14px 16px;
  color: var(--color-ink);
  background: var(--color-white);
}

.pme-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.pme-copy strong {
  color: var(--color-pink);
  font-size: 1.15rem;
  line-height: 1.1;
}

.benefit-strip {
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 940px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(7, 16, 82, 0.1);
}

.benefit-note {
  grid-column: 1 / 3;
  width: min(100%, 940px);
  margin: -10px 0 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px 18px;
}

.benefit-item + .benefit-item {
  border-left: 1px solid var(--color-border);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--color-pink);
}

.benefit-item:nth-child(even) .benefit-icon {
  color: var(--color-blue);
}

.benefit-icon svg,
.button-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.benefit-item strong {
  color: var(--color-blue);
  font-size: 0.98rem;
  line-height: 1.1;
  text-wrap: balance;
}

.side-quote-button {
  position: relative;
  z-index: var(--z-base);
  display: inline-grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: var(--color-pink);
  box-shadow: none;
}

.side-quote-button span:last-child,
.submit-button {
  font-weight: 800;
  line-height: 1.12;
  text-align: left;
}

.button-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-pink-dark);
}

.lead-modal {
  z-index: var(--z-modal);
  width: min(92vw, 460px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  color: var(--color-ink);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.lead-modal[open] {
  animation: modal-in 180ms ease-out both;
}

.lead-modal::backdrop {
  background: rgba(7, 16, 82, 0.58);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.modal-eyebrow {
  margin-bottom: 6px;
  color: var(--color-pink);
  font-size: 0.82rem;
  font-weight: 800;
}

.lead-form h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
  text-wrap: balance;
}

.quiz-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eeeeee;
}

.quiz-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease-out;
}

.quiz-body {
  display: grid;
  gap: 12px;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.quiz-body.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.quiz-question {
  margin: 0;
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d5d5d5;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  color: var(--color-ink);
  background: var(--color-white);
  font-weight: 800;
  text-align: left;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  border-color: var(--color-pink);
  outline: 3px solid rgba(7, 20, 122, 0.18);
  outline-offset: 2px;
}

.quiz-fields {
  display: grid;
  gap: 14px;
}

.quiz-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.quiz-back {
  border: 1px solid #d5d5d5;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  color: var(--color-ink);
  background: var(--color-white);
  font-weight: 800;
}

.quiz-close-button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-card);
  padding: 12px 16px;
  color: var(--color-white);
  background: var(--color-pink);
  font-weight: 800;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  color: var(--color-ink);
  background: var(--color-white);
  font-weight: 800;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--color-ink);
  font-size: 0.93rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: var(--radius-card);
  padding: 0 13px;
  color: var(--color-ink);
  background: var(--color-white);
}

.lead-form input:focus,
.lead-form select:focus,
.side-quote-button:focus-visible,
.submit-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid rgba(7, 20, 122, 0.28);
  outline-offset: 3px;
}

.form-feedback {
  min-height: 20px;
  margin: 0;
  color: var(--color-blue);
  font-size: 0.9rem;
  line-height: 1.35;
}

.submit-button {
  display: inline-grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 0;
  border-radius: var(--radius-card);
  padding: 10px 16px;
  color: var(--color-white);
  background: var(--color-pink);
  text-align: left;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contract-tags-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 4px), 0, 0);
  }
}

@keyframes contract-tags-mobile-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 4px), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .contract-tags-track {
    animation: none !important;
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow: hidden;
    max-width: 100vw;
  }

  .page-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    height: 100dvh;
    width: 100vw;
    max-width: 100vw;
    gap: 5px;
    padding: 56px 20px 14px;
  }

  .page-shell::after {
    opacity: 0.8;
  }

  .brand-row,
  .benefit-strip,
  .benefit-note {
    grid-column: 1;
  }

  .brand-row {
    position: static;
    display: block;
    min-height: 0;
    animation: none;
    transform: none;
  }

  .topprime-logo {
    position: fixed;
    top: 16px;
    left: 20px;
    z-index: var(--z-cta);
    width: 74px;
    max-width: 28vw;
    transform: none;
  }

  .odontogroup-header-logo {
    position: fixed;
    top: 8px;
    right: auto;
    left: min(76vw, calc(100vw - 116px), 292px);
    z-index: var(--z-cta);
    width: clamp(82px, 24vw, 96px);
    max-width: none;
    transform: none;
  }

  .hero-content {
    align-self: start;
    padding-top: 0;
  }

  .eyebrow {
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
    line-height: 1.1;
  }

  h1 {
    max-width: 330px;
    font-size: 1.3rem;
    line-height: 1.04;
    text-wrap: auto;
  }

  .support-copy {
    max-width: 310px;
    margin-top: 4px;
    font-size: 0.68rem;
    line-height: 1.3;
    text-wrap: pretty;
  }

  .price-card {
    grid-template-columns: 1fr;
    margin-top: 5px;
    margin-left: 0;
    padding: 0;
  }

  .price-card span {
    margin-left: 3px;
    font-size: 0.7rem;
  }

  .price-line {
    gap: 6px;
  }

  .price-card strong {
    font-size: 2.45rem;
  }

  .price-line small,
  .price-line em {
    font-size: 0.86rem;
  }

  .contract-tags {
    width: min(100%, calc(100vw - 40px));
    margin-top: 16px;
    margin-right: 0;
    margin-bottom: 14px;
  }

  .contract-tags-track {
    gap: 8px;
    min-width: max-content;
    width: max-content;
    animation: contract-tags-mobile-scroll 7s linear infinite;
  }

  .contract-tags span {
    padding: 4px 7px;
    font-size: 0.59rem;
    text-align: center;
  }

  .pme-panel {
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .plan-visual {
    padding: 0;
  }

  .plan-visual img {
    width: 100%;
    height: auto;
    max-height: 230px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
  }

  .plan-visual video {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .pme-panel video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .pme-copy {
    border-top: 1px solid var(--color-border);
    border-left: 0;
    padding: 12px;
    align-content: center;
  }

  .pme-panel .side-quote-button {
    grid-column: 1;
  }

  .pme-copy p {
    font-size: 0.78rem;
  }

  .pme-copy strong {
    font-size: 0.9rem;
  }

  .benefit-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-self: end;
    max-width: none;
  }

  .benefit-note {
    display: none;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 82px;
    padding: 10px 5px;
    text-align: center;
  }

  .benefit-icon {
    width: 32px;
    height: 32px;
  }

  .benefit-item strong {
    font-size: 0.66rem;
    line-height: 1.02;
  }

  .side-quote-button {
    width: 100%;
    min-height: 52px;
    padding: 8px 16px;
    border-radius: var(--radius-card);
  }

  .button-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-height: 640px) {
  .page-shell {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .brand-row {
    min-height: 48px;
  }

  .hero-content {
    align-self: start;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .benefit-strip {
    display: none;
  }

  .benefit-note {
    display: none;
  }
}
