:root {
  --red-950: #4d070b;
  --red-900: #710b11;
  --red-800: #941018;
  --red-700: #b3131b;
  --red-600: #d21c27;
  --red-500: #ea3440;
  --red-100: #ffe6e8;
  --red-50: #fff5f5;
  --ink: #171717;
  --muted: #6f6f73;
  --line: #ece8e8;
  --white: #ffffff;
  --cream: #fffafa;
  --success: #16784a;
  --shadow: 0 24px 70px rgba(54, 9, 12, 0.12);
  --shadow-soft: 0 12px 36px rgba(54, 9, 12, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Topbar de Alerta Agressivo & Barra de Progresso */
.alert-topbar {
  background: linear-gradient(180deg, #2b0407 0%, #150102 100%);
  color: var(--white);
  padding: 16px 0 18px;
  border-bottom: 2px solid var(--red-600);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 50;
}

.alert-topbar__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.alert-topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffcc00;
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.35);
  animation: alertPulse 1.8s infinite ease-in-out;
}

@keyframes alertPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.6);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 8px rgba(255, 204, 0, 0);
  }
}

.alert-topbar__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 820px;
  color: #ffe6e8;
}

.alert-topbar__message strong {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #ea3440;
}

.order-progress {
  width: 100%;
  max-width: 580px;
  margin-top: 2px;
}

.order-progress__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
  color: #fce8e9;
}

.order-progress__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseDotAnim 1.4s infinite;
}

@keyframes pulseDotAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.order-progress__percentage {
  font-size: 13px;
  color: #ffd000;
}

.order-progress__percentage strong {
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
}

.order-progress__track {
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px;
  box-sizing: border-box;
}

.order-progress__bar {
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg, #ea3440 0%, #22c55e 100%);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.order-progress__shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progressShine 2s infinite linear;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 58px;
  background:
    radial-gradient(circle at 76% 26%, rgba(210, 28, 39, 0.14), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  left: -190px;
  top: 80px;
  border: 70px solid rgba(179, 19, 27, 0.045);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  color: var(--red-800);
  background: var(--red-100);
  border: 1px solid rgba(179, 19, 27, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.hero h1 {
  margin: 22px 0 18px;
  max-width: 720px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--red-700);
}

.hero__subtitle {
  max-width: 670px;
  margin: 0;
  color: #555156;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--success);
  font-size: 14px;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.mockup-glow {
  position: absolute;
  z-index: -1;
  inset: 14% 6% 3%;
  border-radius: 50%;
  background: rgba(210, 28, 39, 0.22);
  filter: blur(45px);
}

.hero__image {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  filter: drop-shadow(0 30px 28px rgba(54, 9, 12, 0.18));
}

.offer-section {
  padding: 72px 0 82px;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}

.benefits-card,
.checkout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.benefits-card {
  padding: 34px;
}

.section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.section-heading__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--red-50);
  font-size: 25px;
}

.section-kicker {
  margin: 0 0 4px;
  color: var(--red-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding-top: 28px;
}

.benefit {
  display: flex;
  gap: 13px;
}

.benefit__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--red-50);
  font-size: 19px;
}

.benefit h3 {
  margin: 1px 0 6px;
  font-size: 15px;
  line-height: 1.35;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.checkout-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 24px;
}

.checkout-card__tag {
  margin: -24px -24px 20px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--red-800);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  background: var(--red-50);
  color: var(--red-900);
}

.timer-box span {
  font-size: 13px;
  font-weight: 700;
}

.timer-box strong {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
}

.price-block {
  padding: 27px 0 23px;
  text-align: center;
}

.old-price {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.price-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.price {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 4px;
  line-height: 1;
}

.price__currency {
  margin-top: 18px;
  margin-right: 4px;
  font-size: 24px;
  font-weight: 900;
}

.price strong {
  font-family: "Montserrat", sans-serif;
  font-size: 88px;
  letter-spacing: -0.08em;
}

.price__cents {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 900;
}

.discount-badge {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 10px;
  color: var(--success);
  background: #eaf8f1;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.primary-button,
.modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--red-500), var(--red-700));
  border: 0;
  border-radius: 16px;
  box-shadow: 0 13px 28px rgba(179, 19, 27, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.primary-button {
  min-height: 76px;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  text-align: center;
}

.primary-button span {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.primary-button small {
  opacity: 0.86;
  font-size: 11px;
  font-weight: 600;
}

.primary-button:hover,
.modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 33px rgba(179, 19, 27, 0.33);
  filter: brightness(1.02);
}

.primary-button:focus-visible,
.modal__cta:focus-visible,
.decline-button:focus-visible,
.modal__decline:focus-visible {
  outline: 3px solid rgba(210, 28, 39, 0.25);
  outline-offset: 3px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 15px;
}

.trust-row span {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  font-weight: 700;
}

.guarantee {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.decline-button,
.modal__decline {
  border: 0;
  padding: 0;
  color: #a64145;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.decline-button {
  display: block;
  width: 100%;
  margin: 20px auto 2px;
  font-size: 19px;
  font-weight: 800;
}

.final-note {
  padding: 0 0 58px;
}

.final-note p {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 22px;
  color: var(--muted);
  background: #faf9f9;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

/* Rodapé de direitos autorais */
.footer {
  padding: 32px 0 40px;
  background: #faf8f8;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer__disclaimer {
  font-size: 11px;
  max-width: 680px;
  opacity: 0.75;
}

/* Modal de downsell */
.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 16, 0.74);
  backdrop-filter: blur(5px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__progress {
  height: 5px;
  overflow: hidden;
  background: #f0eded;
}

.modal__progress-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--red-600);
  transition: width 0.3s ease;
}

.modal__body {
  padding: 50px 54px 42px;
  text-align: center;
}

.modal__badge {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--red-800);
  background: var(--red-100);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.modal h2 {
  margin: 18px auto 15px;
  max-width: 520px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(27px, 5vw, 41px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.modal__body > p {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.modal__price-area {
  margin: 28px 0 24px;
}

.modal__old-price {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  text-decoration: line-through;
}

.modal__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.modal__price > span {
  margin-top: 18px;
  margin-right: 3px;
  font-size: 27px;
  font-weight: 900;
}

.modal__price strong {
  font-family: "Montserrat", sans-serif;
  font-size: 94px;
  letter-spacing: -0.08em;
}

.modal__price small {
  margin-top: 18px;
  font-size: 23px;
  font-weight: 900;
}

.modal__microcopy {
  margin: 5px 0 0 !important;
  color: var(--success) !important;
  font-size: 12px !important;
  font-weight: 800;
}

.modal__cta {
  min-height: 72px;
  padding: 15px 22px;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.modal__decline {
  margin: 23px auto 0;
  font-size: 13px;
  font-weight: 800;
}

/* Estado de Obrigado no Modal */
.modal__body--thankyou {
  padding: 44px 36px 36px;
}

.thankyou__icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8f8ef;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 120, 74, 0.15);
}

.thankyou__icon {
  font-size: 38px;
}

.modal__badge--success {
  color: #16784a !important;
  background: #e8f8ef !important;
}

.thankyou__lead {
  font-size: 19px !important;
  color: var(--ink) !important;
  margin: 14px auto 8px !important;
}

.thankyou__text {
  font-size: 15px !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
  max-width: 480px;
  margin: 0 auto 24px !important;
}

.thankyou__action-box {
  margin: 20px 0 22px;
}

.thankyou__drive-btn {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.35) !important;
  min-height: 72px;
  padding: 16px 24px;
}

.thankyou__drive-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 38px rgba(22, 163, 74, 0.42) !important;
}

.thankyou__footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.thankyou__footer-info span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.thankyou__sublink {
  margin: 20px 0 0 !important;
}

.thankyou__sublink a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.thankyou__sublink a:hover {
  color: var(--ink);
}

.modal.is-changing .modal__body {
  animation: offerChange 0.34s ease;
}

.noscript {
  position: fixed;
  z-index: 2000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  color: #fff;
  background: #171717;
  border-radius: 12px;
  text-align: center;
}

@keyframes offerChange {
  0% {
    opacity: 0.4;
    transform: translateY(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__image {
    max-width: 440px;
    margin-inline: auto;
  }

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

  .checkout-card {
    position: static;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  /* Topbar de Alerta no Mobile - Compacto, Gráfico e Direto */
  .alert-topbar {
    padding: 12px 0 14px;
  }

  .alert-topbar__content {
    gap: 8px;
  }

  .alert-topbar__badge {
    font-size: 11px;
    padding: 5px 12px;
    gap: 5px;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(255, 204, 0, 0.3);
  }

  .alert-topbar__message {
    font-size: 12px;
    line-height: 1.4;
    padding: 0 4px;
    max-width: 380px;
  }

  .order-progress {
    margin-top: 4px;
    padding: 0 2px;
    max-width: 100%;
  }

  .order-progress__labels {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .order-progress__status {
    gap: 6px;
    font-size: 11px;
  }

  .pulse-dot {
    width: 7px;
    height: 7px;
  }

  .order-progress__percentage {
    font-size: 11px;
  }

  .order-progress__percentage strong {
    font-size: 13px;
  }

  .order-progress__track {
    height: 14px;
  }

  /* Hero no Mobile - Visualmente Rico e Sem Excesso de Texto */
  .hero {
    padding: 26px 0 22px;
  }

  .hero__grid {
    gap: 18px;
  }

  .eyebrow {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.07em;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    max-width: 380px;
  }

  .hero__proof {
    margin-top: 12px;
    gap: 6px 10px;
    font-size: 11px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__proof span {
    background: rgba(179, 19, 27, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(179, 19, 27, 0.1);
  }

  .hero__visual {
    margin-top: 4px;
  }

  .hero__image {
    max-width: 290px;
    margin-inline: auto;
    filter: drop-shadow(0 14px 28px rgba(179, 19, 27, 0.16));
  }

  .offer-section {
    padding: 34px 0 46px;
  }

  .benefits-card {
    padding: 20px 16px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .benefits-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkout-card {
    padding: 22px 18px;
  }

  .checkout-card__tag {
    margin: -22px -18px 18px;
  }

  .price strong {
    font-size: 74px;
  }

  .primary-button span {
    font-size: 13px;
  }

  .trust-row span {
    font-size: 8.5px;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .modal__body {
    padding: 30px 18px 24px;
  }

  .modal h2 {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .modal__body > p {
    font-size: 14px;
  }

  .modal__price strong {
    font-size: 80px;
  }

  .modal__cta {
    min-height: 64px;
    font-size: 14px;
  }

  /* Modal Thank You no Mobile */
  .modal__body--thankyou {
    padding: 28px 18px 22px;
  }

  .thankyou__icon-wrap {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  .thankyou__icon {
    font-size: 30px;
  }

  .thankyou__lead {
    font-size: 16px !important;
  }

  .thankyou__text {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }

  .thankyou__drive-btn {
    min-height: 62px;
    font-size: 13.5px;
    padding: 14px 18px;
  }

  .thankyou__footer-info {
    gap: 8px 12px;
    font-size: 11px;
  }
}

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