/* Assinar plano + confirmação */

.header-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-solid .nav-link-planos {
  color: #475569;
}

.header-solid .nav-link-planos:hover {
  color: #04adbf;
}

.header-solid .btn-header-cta {
  background: #d92b2b;
  color: #ffffff;
}

.header-solid .btn-header-cta:hover {
  background: #b91c1c;
}

.header-solid .header-logo {
  filter: brightness(0) saturate(100%) invert(27%) sepia(92%) saturate(2500%) hue-rotate(346deg)
    brightness(95%) contrast(90%);
}

#main-header .nav-link-hero,
#main-header .btn-header-hero,
#main-header .header-logo {
  transition: color 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
}

#mobile-nav {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#mobile-nav:not(.mobile-nav-open) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#mobile-nav.mobile-nav-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-solid #mobile-nav .nav-link-hero {
  color: #475569;
}

.header-solid #mobile-nav .nav-link-hero:hover {
  color: #04adbf;
}

#mobile-nav nav {
  align-items: center;
  text-align: center;
}

#mobile-nav .nav-link-hero {
  width: 100%;
  max-width: 280px;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#mobile-nav .nav-link-hero:hover {
  background-color: rgba(4, 173, 191, 0.08);
  transform: scale(1.02);
}

.header-solid .menu-toggle-btn {
  border-color: rgba(0, 0, 0, 0.12);
}

.header-solid .menu-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.header-solid .menu-icon-open,
.header-solid .menu-icon-close {
  color: #0d0d0d;
}

.assinar-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(217, 43, 43, 0.88) 0%, transparent 46%),
    radial-gradient(circle at 82% 18%, rgba(4, 173, 191, 0.28) 0%, transparent 42%),
    linear-gradient(165deg, #2d0505 0%, #1a0505 48%, #0f172a 100%);
  color: #fff;
}

.assinar-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.assinar-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  margin: 0 auto;
}

.assinar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.assinar-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #d92b2b;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.assinar-hero-link:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  color: #b91c1c;
}

.assinar-form-section {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.assinar-form-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .assinar-form-card {
    grid-template-columns: minmax(240px, 34%) 1fr;
  }
}

.assinar-aside {
  padding: 1.75rem 1.5rem;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(4, 173, 191, 0.12) 0%, transparent 55%),
    #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .assinar-aside {
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
    padding: 2rem 1.75rem;
  }
}

.assinar-aside h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 0.5rem;
}

.assinar-plano-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0378a6;
  background: rgba(4, 173, 191, 0.12);
  border: 1px solid rgba(4, 173, 191, 0.25);
}

.assinar-aside-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.assinar-aside-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #475569;
  margin-bottom: 0.625rem;
  line-height: 1.45;
}

.assinar-aside-list svg {
  flex-shrink: 0;
  color: #04adbf;
  margin-top: 0.125rem;
}

.assinar-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: #25d366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.assinar-wa-btn:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
}

.assinar-aside-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

.assinar-form-panel {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .assinar-form-panel {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.assinar-form-panel > h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0d0d0d;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.assinar-form-panel > p.form-intro {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

#meuFormulario .form-group {
  margin-bottom: 1.125rem;
}

#meuFormulario label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 0.375rem;
}

#meuFormulario .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: #0d0d0d;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#meuFormulario .form-control:focus {
  border-color: #04adbf;
  box-shadow: 0 0 0 3px rgba(4, 173, 191, 0.2);
  outline: none;
}

#meuFormulario .error {
  color: #dc2626;
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

#meuFormulario .hidden {
  display: none;
}

.valor_assinatura {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0378a6;
  text-align: right;
  margin: 0.5rem 0 1rem;
  min-height: 1.25rem;
}

.planoC {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.planoC img {
  width: 3rem;
  height: auto;
  flex-shrink: 0;
}

.planoC input {
  width: 5.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-weight: 600;
}

.planoC-hint {
  font-size: 0.75rem;
  color: #64748b;
  flex: 1;
  min-width: 0;
}

#submitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: #d92b2b;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(217, 43, 43, 0.35);
}

#submitBtn:hover:not(:disabled) {
  background: #b91c1c;
  transform: translateY(-1px);
}

#submitBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.assinar-lgpd {
  margin-top: 1rem;
  font-size: 0.6875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Confirmação */
.assinar-success-section {
  padding: 6rem 1rem 4rem;
  min-height: 50vh;
}

.assinar-success-card {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.assinar-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: rgba(4, 173, 191, 0.12);
  color: #04adbf;
}

.assinar-success-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0378a6;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.assinar-success-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.75rem;
}

.assinar-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .assinar-success-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.assinar-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #d92b2b;
  background: #fff;
  border: 2px solid #d92b2b;
  transition: background 0.2s ease, color 0.2s ease;
}

.assinar-btn-outline:hover {
  background: #d92b2b;
  color: #fff;
}

.assinar-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  background: #25d366;
  transition: background 0.2s ease;
}

.assinar-btn-wa:hover {
  background: #1ebe5d;
  color: #fff;
}
