body {
  background-color: #000;
  color: white;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

/* ================= HEADER ================= */
header {
  background-image: url('../image/fundo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.header-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-top: 20px;
  height: 100%;
}

.header-buttons button {
  background: none;
  border: none;
  color: white;
  font-size: 23px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  position: relative;
  transition: color 0.3s ease;
}

.header-buttons button::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background-color: #00ff00;
}

.header-buttons button:hover {
  color: #00ff00;
}

/* ================= CURSOS ================= */
.courses-section {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
  border-radius: 15px;
  position: relative;
  margin-top: -100px;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 5;
}

.container {
  max-width: 1300px;
}

.course-button {
  border: none;
  background: none;
  transition: transform 0.2s;
  padding: 0;
  width: 400px;
}

.course-button:hover {
  transform: scale(1.03);
}

.course-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(255, 255, 255, 0.1);
}

.course-title {
  margin-top: 10px;
  font-size: 26px;
}

/* ================= QUIZ ================= */
.quiz-section {
  margin-top: 40px;
  background: rgba(0,0,0,0.6);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.quiz-section h2 {
  margin-bottom: 20px;
  color: #00ff00;
  text-align: center;
}

.quiz-question {
  margin-bottom: 15px;
}

.quiz-question label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.quiz-question select {
  width: 100%;
  padding: 8px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
}

.quiz-btn {
  background: #00ff00;
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
  margin: 15px auto 0 auto;
}

.quiz-btn:hover {
  background: #00cc00;
}

.quiz-resultado {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  background: #1f1f1f;
  text-align: center;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
  .header-buttons {
    gap: 20px;
  }
  .course-button {
    width: 100%;
  }
  .course-img {
    width: 100%;
  }
  .courses-section {
    margin-top: 90px;
    padding: 20px 15px;
  }
}

/* ================= OFERTA / PAGUE NA ENTREGA ================= */
.treatment-sales-page.white-theme {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(20, 112, 82, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(225, 161, 54, 0.16), transparent 36%),
    linear-gradient(180deg, #f7fbf7 0%, #ecf5ed 46%, #fffdf7 100%);
  color: #102033;
}

.delivery-paused-warning {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 5px 14px;
  background: #fff0bd;
  color: #3e3e3e;
  border-bottom: 1px solid rgba(154, 111, 17, 0.28);
  box-shadow: 0 2px 8px rgba(18, 38, 63, 0.08);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.opening-warning {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff7df;
  color: #61420a;
  border: 1px solid rgba(202, 147, 26, 0.28);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.08);
  font-size: 0.95rem;
}

.treatment-page-shell {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 42px;
}

.treatment-choice-board {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 54, 86, 0.1);
  border-radius: 30px;
  padding: clamp(18px, 4vw, 38px);
  box-shadow: 0 24px 70px rgba(17, 43, 68, 0.16);
  overflow: hidden;
}

.treatment-hero {
  position: relative;
  min-height: auto;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 30px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 65, 45, 0.94), rgba(24, 126, 83, 0.9)),
    url('../image/fundo.png') center/cover no-repeat;
  color: #fff;
}

.treatment-hero::before {
  display: none;
}

.treatment-hero-copy,
.doctor-product-card {
  position: relative;
  z-index: 2;
}

.treatment-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #e7fff4;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.treatment-hero .titulo {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
}

.treatment-hero .subtitulo {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.subtitulo-secondary {
  margin-top: 10px !important;
  font-weight: 700;
}

.treatment-trust-row,
.treatment-how-it-works,
.treatment-safe-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.treatment-trust-row {
  margin-top: 22px;
}

.treatment-trust-row span,
.treatment-how-it-works div,
.treatment-safe-box div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 13px 14px;
  font-weight: 700;
  text-align: center;
}

.doctor-product-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  text-align: center;
  font-weight: 800;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.doctor-product-img {
  width: min(300px, 100%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}

.treatment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.treatment-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 100%;
  padding: 12px 0 24px;
  border-radius: 26px;
  background: #fff;
  color: #102033;
  text-decoration: none;
  border: 1px solid rgba(20, 54, 86, 0.12);
  box-shadow: 0 16px 38px rgba(17, 43, 68, 0.12);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.treatment-option:hover {
  transform: translateY(-5px);
  color: #102033;
  border-color: rgba(20, 145, 94, 0.42);
  box-shadow: 0 22px 46px rgba(17, 43, 68, 0.18);
}

.treatment-option-best {
  border: 2px solid #22b573;
  box-shadow: 0 18px 48px rgba(34, 181, 115, 0.24);
}

.best-offer-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c878, #0b8f58);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.treatment-option-img {
  width: calc(100% - 48px);
  max-width: 305px;
  height: 360px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 26px;
  background: #f4ead7;
  box-shadow: 0 20px 36px rgba(42, 54, 38, 0.14);
  filter: none;
}

.treatment-option-img-two {
  object-position: center 38%;
}

.treatment-card-note {
  color: #31465c;
  font-weight: 700;
  text-align: center;
}

.treatment-buy-btn,
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c878, #0a8d57);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(20, 145, 94, 0.24);
}

.treatment-buy-btn:hover,
.action-btn:hover {
  color: #fff;
  filter: brightness(1.04);
}

.treatment-how-it-works {
  margin: 20px 0 28px;
}

.treatment-how-it-works div,
.treatment-safe-box div {
  background: #f3f8fb;
  border-color: rgba(20, 54, 86, 0.1);
  color: #102033;
  text-align: left;
}

.treatment-how-it-works strong,
.treatment-safe-box strong {
  display: block;
  color: #0b7a56;
  margin-bottom: 4px;
}

.treatment-how-it-works span,
.treatment-safe-box span {
  color: #52677d;
}

.treatment-info-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(22px, 5vw, 54px);
  margin-top: 34px;
  padding: clamp(24px, 5vw, 54px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 25%, rgba(44, 158, 103, 0.22), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f0f8ef 100%);
  border: 1px solid rgba(20, 54, 86, 0.12);
  box-shadow: 0 18px 45px rgba(17, 43, 68, 0.11);
}

.treatment-info-copy h2 {
  margin: 0 0 18px;
  color: #123924;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.14;
}

.final-purchase-callout h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  font-weight: 800;
}

.treatment-info-copy p,
.final-purchase-callout p {
  color: #2d4156;
  line-height: 1.75;
}

.floating-product-card {
  display: grid;
  place-items: center;
  min-height: 430px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 201, 92, 0.28), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 249, 236, 0.94));
  border: 1px solid rgba(20, 54, 86, 0.12);
  overflow: hidden;
}

.floating-product-img {
  width: min(390px, 95%);
  max-height: 410px;
  object-fit: contain;
  transform: rotate(-4deg);
  filter: drop-shadow(0 28px 28px rgba(12, 54, 35, 0.24));
  animation: productFloat 4s ease-in-out infinite;
}

@keyframes productFloat {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(-4deg);
  }
}

.treatment-info-list {
  display: grid;
  gap: 14px;
}

.treatment-info-list div {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 54, 86, 0.08);
  box-shadow: 0 10px 24px rgba(17, 43, 68, 0.08);
}

.treatment-info-list strong {
  display: block;
  margin-bottom: 6px;
  color: #0b7a56;
}

.treatment-info-list span {
  color: #52677d;
  line-height: 1.6;
}

.treatment-payment-highlight,
.treatment-guidance,
.final-purchase-callout {
  margin: 32px 0;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  text-align: center;
}

.treatment-payment-highlight {
  display: grid;
  gap: 8px;
  background: #123924;
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 57, 36, 0.18);
}

.treatment-payment-highlight strong,
.treatment-payment-highlight span {
  display: block;
}

.treatment-payment-highlight strong {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  margin-bottom: 0;
}

.treatment-payment-highlight span {
  color: rgba(255, 255, 255, 0.85);
}

.treatment-guidance {
  background: #fff7df;
  color: #61420a;
  border: 1px solid rgba(202, 147, 26, 0.22);
}

.treatment-safe-box {
  margin: 24px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.final-purchase-callout {
  background: linear-gradient(135deg, #123924, #1d8a5a);
  border: 0;
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 57, 36, 0.18);
}

.final-purchase-callout p {
  color: rgba(255, 255, 255, 0.86);
}

.final-purchase-callout p:last-child {
  margin-bottom: 0;
}

.action-secondary {
  background: #102033;
}

@media (max-width: 900px) {
  .treatment-hero,
  .treatment-info-panel,
  .treatment-options,
  .treatment-trust-row,
  .treatment-how-it-works,
  .treatment-safe-box {
    grid-template-columns: 1fr;
  }

  .treatment-hero {
    text-align: center;
  }

  .doctor-product-card,
  .floating-product-card {
    min-height: auto;
  }

  .floating-product-card {
    padding: 24px 0;
  }

  .floating-product-img {
    max-height: 340px;
  }

  .treatment-trust-row span,
  .treatment-how-it-works div,
  .treatment-safe-box div {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .opening-warning,
  .treatment-page-shell {
    width: min(100% - 18px, 1160px);
  }

  .treatment-choice-board {
    border-radius: 22px;
    padding: 12px;
  }

  .treatment-hero {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .treatment-option-img {
    width: calc(100% - 28px);
    height: 315px;
    padding: 0;
    border-radius: 22px;
  }

  .treatment-hero .titulo {
    font-size: 2rem;
  }

  .floating-product-img {
    max-height: 290px;
  }
}
