/* =====================================================
   DS Intermediários de Crédito — Non-Critical Styles
   Carregado de forma assíncrona por js/main.js
   ===================================================== */

/* ===========================
   HERO IMAGE
   =========================== */
.hero-image {
  margin: 2rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.hero-image picture {
  display: block;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, rgba(152,23,74,0.12) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-primary);
  opacity: 0.6;
  border: 2px dashed rgba(152,23,74,0.3);
}

.hero-image-placeholder svg {
  width: 48px;
  height: 48px;
}

.hero-image-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===========================
   FORM SECTION
   =========================== */
.form-section {
  padding: 2rem 0 4rem;
  position: relative;
  z-index: 1;
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-card > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M6%208L0%200h12z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.form-input::placeholder { color: #aaa; }

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.3rem;
  font-weight: 600;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Honeypot — invisível para humanos */
.hp-field {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
  tab-index: -1;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
  display: block;
}

.form-message.error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.2);
  display: block;
}

.trust-signal-form {
  justify-content: center;
  margin-top: 1rem;
  animation: none;
}

/* ===========================
   RESPONSIVE — FORM
   =========================== */
@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .form-row .form-group { margin-bottom: 0; }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-bg-soft);
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.footer-content {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-legal {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-legal strong {
  color: var(--color-text);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-legal .footer-bdp-label {
  margin-top: 0.75rem;
}

.footer-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact a:hover { color: var(--color-primary); }

.footer-reg-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--color-primary); }

.footer-copy {
  font-size: 0.75rem;
  color: #999;
}

/* ===========================
   FORM LABEL OPTIONAL
   =========================== */
.form-label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ===========================
   EBOOK CONTENT
   =========================== */
.ebook-content {
  margin: 2.5rem 0 0;
  padding: 1.75rem 1.5rem;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  animation: fadeUp 0.7s ease-out 0.4s both;
}

.ebook-content-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: white;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  margin-bottom: 0.85rem;
}

.ebook-content-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.ebook-content-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ebook-content-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.ebook-content-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 0.1rem;
}

.ebook-content-icon svg {
  width: 14px;
  height: 14px;
}

.ebook-content-text strong {
  font-weight: 700;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .ebook-content { padding: 2.25rem 2rem; }
  .ebook-content-title { font-size: 1.3rem; }
  .ebook-content-item { font-size: 1rem; }
}

/* ===========================
   BANK PARTNERS
   =========================== */
.bank-partners {
  margin: 2rem 0 0;
  padding: 1.75rem 1.5rem;
  text-align: center;
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.bank-partners-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.bank-partners-title strong {
  color: var(--color-text);
  font-weight: 700;
}

.bank-partners-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.bank-partners-list li {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bank-partners-list li:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.bank-partners-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .bank-partners { padding: 2.5rem 2rem; }
  .bank-partners-title { font-size: 1.05rem; }
  .bank-partners-list li { font-size: 0.9rem; padding: 0.55rem 1.1rem; }
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  margin: 2.5rem 0 0;
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.how-it-works-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.75rem;
  text-align: center;
}

.how-it-works-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.how-it-works-step {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.5rem;
  position: relative;
}

.how-it-works-step:last-child { padding-bottom: 0; }

.how-it-works-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 38px;
  left: 18px;
  bottom: -4px;
  width: 2px;
  background: var(--color-primary-soft);
  z-index: 0;
}

.how-it-works-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(152,23,74,0.25);
  position: relative;
  z-index: 1;
}

.how-it-works-content {
  flex: 1;
  padding-top: 0.25rem;
}

.how-it-works-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.how-it-works-optional {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.how-it-works-step-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (min-width: 768px) {
  .how-it-works-title { font-size: 1.5rem; margin-bottom: 2rem; }
  .how-it-works-step { gap: 1.25rem; padding-bottom: 1.75rem; }
  .how-it-works-number { width: 44px; height: 44px; font-size: 1.1rem; }
  .how-it-works-step:not(:last-child)::after { top: 44px; left: 21px; }
  .how-it-works-step-title { font-size: 1.1rem; }
  .how-it-works-step-text { font-size: 0.95rem; }
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
  margin: 2.5rem 0 0;
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.social-proof-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.social-proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.stat-item { text-align: center; padding: 0.5rem 0; }

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.55;
  margin: 0 0 0.85rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.testimonial-author strong {
  color: var(--color-text);
  font-weight: 700;
}

.testimonial-author span { color: var(--color-text-muted); }

.testimonial-author strong::after {
  content: '·';
  margin-left: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

@media (min-width: 560px) {
  .social-proof-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat-number { font-size: 1.7rem; }
}

@media (min-width: 768px) {
  .social-proof-title { font-size: 1.5rem; margin-bottom: 2rem; }
  .social-proof-stats { padding: 2rem 1.5rem; margin-bottom: 2rem; }
  .stat-number { font-size: 2.1rem; }
  .stat-label { font-size: 0.9rem; }
  .testimonial { padding: 1.5rem; }
  .testimonial-text { font-size: 0.95rem; }
}

/* ===========================
   URGENCY BANNER
   =========================== */
.urgency-banner {
  margin: 2rem 0 0;
  padding: 1.15rem 1.25rem;
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: fadeUp 0.7s ease-out 0.5s both;
}

.urgency-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.urgency-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text);
  font-weight: 500;
}

.urgency-text strong {
  color: var(--color-primary);
  font-weight: 800;
}

@media (min-width: 768px) {
  .urgency-banner { padding: 1.35rem 1.5rem; }
  .urgency-icon { width: 24px; height: 24px; }
  .urgency-text { font-size: 1rem; }
}

/* ===========================
   FORM GUARANTEES
   =========================== */
.form-guarantees {
  list-style: none;
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.form-guarantee-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 0.1rem;
}

.form-guarantee-icon svg { width: 11px; height: 11px; }

.form-guarantee-text strong {
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 768px) {
  .form-guarantees { padding: 1rem 1.15rem; }
  .form-guarantee-item { font-size: 0.85rem; }
}

/* ===========================
   FORM DIVIDER
   =========================== */
.form-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.form-divider span { padding: 0 0.25rem; }

/* ===========================
   WHATSAPP BUTTON
   =========================== */
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: white;
  color: #25D366;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid #25D366;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

.whatsapp-button:hover {
  background: #25D366;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}

.whatsapp-icon { width: 22px; height: 22px; flex-shrink: 0; }

.whatsapp-text {
  color: var(--color-text);
  font-weight: 500;
}

.whatsapp-button:hover .whatsapp-text { color: white; }

.whatsapp-text strong {
  color: #25D366;
  font-weight: 700;
}

.whatsapp-button:hover .whatsapp-text strong { color: white; }

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.10);
  z-index: 9999;
  padding: 1.25rem 0 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cookie-banner__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__toggles[hidden],
.cookie-banner__actions[hidden] { display: none !important; }

.cookie-banner__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

/* Toggle switch */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
}

.cookie-toggle__switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 11px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.cookie-toggle__track::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle__switch input:checked + .cookie-toggle__track {
  background: var(--color-primary);
}

.cookie-toggle__switch input:checked + .cookie-toggle__track::after {
  left: 19px;
}

.cookie-toggle__switch input:disabled + .cookie-toggle__track {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle__switch input:focus-visible + .cookie-toggle__track {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.cookie-toggle__label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cookie-toggle__desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.3;
}

.cookie-toggle--essential .cookie-toggle__label {
  color: var(--color-text-muted);
  font-style: italic;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.cookie-btn {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1;
}

.cookie-btn--accept {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.cookie-btn--accept:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.cookie-btn--save {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.cookie-btn--save:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cookie-btn--reject {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 0.78rem;
  margin-left: auto;
}

.cookie-btn--reject:hover { color: var(--color-text); }

.cookie-btn--manage {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem;
  font-family: inherit;
}
.cookie-btn--manage:hover { color: var(--color-primary); }

/* ===========================
   LEGAL PAGES
   =========================== */
.legal-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.legal-back:hover { color: var(--color-primary); }

.legal-page {
  padding: 0 0 5rem;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.legal-page .updated {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  display: block;
}

.legal-page h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.legal-page h2:first-of-type { border-top: none; margin-top: 0; }

.legal-page p,
.legal-page li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-page ul li { list-style: disc; }

.legal-page a { color: var(--color-primary); text-decoration: underline; }

.legal-page strong { color: var(--color-text); font-weight: 700; }

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 1rem 0;
}

.legal-page th,
.legal-page td {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.legal-page th {
  background: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-text);
}

.legal-info-box {
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ===========================
   OBRIGADO PAGE
   =========================== */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.thank-you__card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
  border: 1px solid var(--color-border);
}

.thank-you__icon {
  width: 72px;
  height: 72px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you__icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-success);
}

.thank-you__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.thank-you__text {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.thank-you__download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.thank-you__download:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.thank-you__download svg {
  width: 18px;
  height: 18px;
}

.thank-you__back {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: block;
}

.thank-you__back a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

@media (min-width: 768px) {
  .thank-you__card { padding: 3rem 2.5rem; }
}
