/* Tipografia / fundo */
body {
  font-family: Arial, sans-serif;
  background: #ffffff;
}

.layout-wrapper {
  padding: 40px 20px;
  box-sizing: border-box;
  background: #ffffff;
}

/* Layouts 4 e 5 – A4 */
.a4-page {
  background: #ffffff;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.a4-vertical {
  width: 210mm;
  min-height: 297mm;
}

.a4-horizontal {
  width: 297mm;
  min-height: 210mm;
}

/* Container dos planos */
.a4-page .pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .a4-page .pricing-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
}

/* Cards A4 */
.a4-page .pricing-card {
  flex: 1;
  max-width: 32%;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 16px 22px;
  color: #1f2544;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.a4-page .pricing-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.a4-page .pricing-card.highlight {
  background: linear-gradient(160deg, #4c6fff, #9f66ff);
  color: #ffffff;
  transform: translateY(-4px);
}

.a4-page .pricing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.a4-page .pricing-card-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.a4-page .pricing-card-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.a4-page .pricing-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.a4-page .pricing-card-subtitle {
  font-size: 11px;
  opacity: 0.8;
}

.a4-page .pricing-card-rate-block {
  text-align: right;
}

.a4-page .pricing-card-rate {
  font-size: 20px;
  font-weight: 700;
}

.a4-page .pricing-card-rate-period {
  font-size: 11px;
  opacity: 0.8;
}

.a4-page .pricing-card-benefits {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  font-size: 11px;
  flex: 1;
}

.a4-page .pricing-card-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.a4-page .pricing-card-check-icon {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.a4-page .pricing-card-divider {
  height: 3px;
  width: 40%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  margin-top: 6px;
}

.a4-page .pricing-card.highlight .pricing-card-divider {
  background: rgba(255, 255, 255, 0.7);
}

/* Layout 6 – Fogo azul */
.pricing-fire-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  justify-content: center;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

.fire-card {
  flex: 0 0 300px;
  max-width: 300px;
  border-radius: 26px;
  padding: 22px 20px 24px;
  background: #07132b;
  color: #e5edff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.fire-card.highlight {
  background: linear-gradient(145deg, #2563eb, #4f46e5);
}

.fire-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.fire-card-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fire-card-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #f97316, #ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.fire-card-plan {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.8;
}

.fire-card-title {
  font-size: 16px;
  font-weight: 700;
}

.fire-card-price {
  text-align: right;
  font-size: 28px;
  font-weight: 700;
}

.fire-card-price span {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}

.fire-card-benefits {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 12px;
}

.fire-card-benefits li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.fire-card-check {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  margin-top: 2px;
  position: relative;
}

.fire-card-check::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #22c55e;
  border-bottom: 2px solid #22c55e;
  transform: rotate(-45deg);
}

.fire-card-footer {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Layouts 7–10 – Modern pricing */
.pricing-modern-bg,
.pricing-modern-bg-green,
.pricing-modern-bg-orange,
.pricing-modern-bg-blackgold {
  background: #ffffff;
}

.pricing-modern-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

.pricing-modern-card {
  flex: 1 1 260px;
  max-width: 300px;
  border-radius: 30px;
  padding: 26px 22px 28px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Cores */
.pricing-modern-card.basic-blue {
  background: #fdfdfd;
  color: #1b2140;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.pricing-modern-card.standard-blue {
  background: #346dff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-modern-card.premium-blue {
  background: #061a3a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pricing-modern-card.basic-green {
  background: #fdfdfd;
  color: #0f261e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.pricing-modern-card.standard-green {
  background: #25b574;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-modern-card.premium-green {
  background: #043326;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pricing-modern-card.basic-orange {
  background: #fdfdfd;
  color: #3b1f0a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.pricing-modern-card.standard-orange {
  background: #fb923c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-modern-card.premium-orange {
  background: #7c2d12;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pricing-modern-card.basic-blackgold {
  background: #fefce8;
  color: #1f2933;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.pricing-modern-card.standard-blackgold {
  background: #facc15;
  color: #1f2933;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pricing-modern-card.premium-blackgold {
  background: #020617;
  color: #facc15;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pricing-modern-plan-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-modern-price-main {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.pricing-modern-price-main span {
  font-size: 22px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 4px;
}

.pricing-modern-price-period {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}

.pricing-modern-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing-modern-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-modern-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-modern-card.basic-blue .pricing-modern-item,
.pricing-modern-card.basic-green .pricing-modern-item,
.pricing-modern-card.basic-orange .pricing-modern-item,
.pricing-modern-card.basic-blackgold .pricing-modern-item {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing-modern-card.basic-blue .pricing-modern-item:last-child,
.pricing-modern-card.basic-green .pricing-modern-item:last-child,
.pricing-modern-card.basic-orange .pricing-modern-item:last-child,
.pricing-modern-card.basic-blackgold .pricing-modern-item:last-child {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing-modern-item-label {
  opacity: 0.85;
}

.pricing-modern-controls {
  display: flex;
  gap: 6px;
  font-size: 10px;
  opacity: 0.7;
}

.pricing-modern-controls span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.pricing-modern-footer-link {
  margin-top: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.pricing-modern-cta {
  margin-top: 12px;
  align-self: flex-start;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Botões por cor */
.basic-blue .pricing-modern-cta,
.premium-blue .pricing-modern-cta {
  background: #4f6bff;
  color: #ffffff;
}

.standard-blue .pricing-modern-cta {
  background: #ffffff;
  color: #2146c6;
}

.basic-green .pricing-modern-cta,
.premium-green .pricing-modern-cta {
  background: #23b16e;
  color: #ffffff;
}

.standard-green .pricing-modern-cta {
  background: #ffffff;
  color: #128a52;
}

.basic-orange .pricing-modern-cta,
.premium-orange .pricing-modern-cta {
  background: #ea580c;
  color: #ffffff;
}

.standard-orange .pricing-modern-cta {
  background: #ffffff;
  color: #c2410c;
}

.basic-blackgold .pricing-modern-cta,
.premium-blackgold .pricing-modern-cta {
  background: #facc15;
  color: #1f2933;
}

.standard-blackgold .pricing-modern-cta {
  background: #1f2933;
  color: #facc15;
}

/* Layouts 11 e 12 – Select plan */
.select-plan-section {
  padding: 40px 20px 50px;
  box-sizing: border-box;
  background: #ffffff;
  font-family: Arial, sans-serif;
}

.select-plan-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.select-plan-blue .select-plan-title {
  color: #1f5fff;
}

.select-plan-green .select-plan-title {
  color: #16a34a;
}

.select-plan-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  background: #ffffff;
}

.select-plan-card {
  flex: 1 1 260px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  padding: 26px 22px 28px;
  box-sizing: border-box;
  text-align: center;
}

.select-plan-card-header {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 600;
  margin-bottom: 18px;
}

.select-plan-blue .select-plan-card-header {
  color: #1f5fff;
}

.select-plan-green .select-plan-card-header {
  color: #16a34a;
}

.select-plan-price-main {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
}

.select-plan-price-currency {
  font-size: 20px;
  vertical-align: top;
  margin-right: 4px;
}

.select-plan-price-period {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 18px;
}

.select-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 12px;
  text-align: left;
}

.select-plan-features li {
  margin-bottom: 6px;
}

.select-plan-features li::before {
  content: "– ";
}

.select-plan-cta {
  margin-top: 8px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

.select-plan-blue .select-plan-cta {
  background: #1f5fff;
  color: #ffffff;
}

.select-plan-green .select-plan-cta {
  background: #16a34a;
  color: #ffffff;
}

/* Ajustes específicos para PDF/print */
@media print {
  .layout-wrapper {
    padding: 12mm 10mm !important;
    background: #ffffff !important;
  }

  .a4-page {
    padding: 10mm !important;
  }

  .pricing-card,
  .fire-card,
  .pricing-modern-card,
  .select-plan-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    overflow: hidden !important;
  }

  .pricing-card *,
  .fire-card *,
  .pricing-modern-card *,
  .select-plan-card * {
    max-width: 100% !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .a4-page .pricing-layout {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: space-between !important;
    align-items: stretch !important;
  }

  .a4-page .pricing-card {
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 14px 12px 16px !important;
    border-radius: 16px !important;
  }

  .a4-page .pricing-card.highlight {
    transform: none !important;
  }

  .pricing-fire-wrapper {
    padding: 10mm !important;
    gap: 10px !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .fire-card {
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 16px 14px 18px !important;
    border-radius: 18px !important;
  }

  .pricing-modern-wrapper {
    max-width: none !important;
    padding: 10mm !important;
    gap: 10px !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .pricing-modern-card {
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 18px 14px 18px !important;
    border-radius: 18px !important;
  }

  .pricing-modern-price-main {
    font-size: 32px !important;
  }

  .select-plan-section {
    padding: 10mm !important;
  }

  .select-plan-grid {
    max-width: none !important;
    gap: 10px !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .select-plan-card {
    flex: 1 1 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 18px 14px 18px !important;
    border-radius: 16px !important;
  }

  .select-plan-price-main {
    font-size: 32px !important;
  }
}
