* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #2f6fb3;
  color: #fff;
}

.topbar {
  background: #2f6fb3;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-google-header {
  height: 52px;
  width: auto;
  display: block;
}

.secure-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 20px 10px;
}

h1, h2 {
  font-weight: 800;
}

.price-section h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.price-card {
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  color: #111;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  border: 2px solid transparent;
}

.price-card.selected {
  background: #f4e75a;
  border-color: #d8c62e;
}

.form-section {
  margin-top: 40px;
}

.form-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 18px 0 6px;
  font-size: 15px;
}

input, select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #cfd8e3;
  font-size: 15px;
  background: #fff;
  color: #111;
}

input:focus, select:focus {
  outline: 2px solid #f4e75a;
}

.email-field {
  position: relative;
}

.email-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.email-suggestions li {
  padding: 10px 14px;
  color: #111;
  cursor: pointer;
  font-size: 14px;
}

.email-suggestions li:hover {
  background: #eef4fb;
}

.phone-field {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cfd8e3;
}

.phone-prefix {
  background: #e9edf2;
  color: #333;
  padding: 14px;
  font-weight: 700;
}

.phone-field input {
  border: none;
  border-radius: 0;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  margin-top: 28px;
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: #f4e75a;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #eadc3e;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  color: #ffe1e1;
  font-weight: 600;
  min-height: 20px;
  margin-top: 10px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.pix-section {
  margin-top: 40px;
}

.pix-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.pix-loading {
  background: rgba(255,255,255,0.12);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.pix-result {
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.pix-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  display: block;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.pix-result label {
  color: #111;
  text-align: left;
  margin-top: 0;
}

.pix-copy-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 16px;
}

.pix-copy-row textarea {
  flex: 1;
  resize: none;
  font-size: 12px;
}

.copy-btn {
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: #2f6fb3;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  white-space: nowrap;
}

.copy-btn--copied {
  background: #27ae60;
  transform: scale(1.04);
}

.pix-customer {
  text-align: left;
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-top: 8px;
}

.pix-customer p {
  margin: 6px 0;
  font-size: 14px;
}

.pix-status {
  margin-top: 14px;
  font-weight: 700;
  color: #2f6fb3;
}

.pix-status.paid {
  color: #2f8a2a;
}

.payment-methods {
  background: #f5f5f5;
  margin: 40px -20px 0;
  padding: 20px 20px;
  text-align: center;
}

.payment-methods-title {
  font-weight: 800;
  font-size: 15px;
  color: #111;
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}

.pix-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid #32BCAD;
  border-radius: 10px;
  padding: 10px 22px;
}

.pix-only-label {
  font-weight: 800;
  font-size: 18px;
  color: #32BCAD;
  letter-spacing: 1px;
}

.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  margin-top: 40px;
  padding: 40px 20px 32px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 10px;
}

.footer-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-item summary::-webkit-details-marker {
  display: none;
}

.footer-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-left: 12px;
}

.footer-item[open] summary::after {
  content: '−';
}

.footer-item-content {
  padding: 4px 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer-item-content p + p {
  margin-top: 12px;
}

.footer-selos {
  margin-top: 32px;
  text-align: center;
}

.footer-selos-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px;
}

.footer-selos-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-selo-item {
  width: 110px;
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.footer-empresa {
  margin-top: 24px;
  text-align: center;
}

.footer-cnpj {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin: 0 0 4px;
}

.footer-endereco {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-copy {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: #2f6fb3;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-overlay[hidden] {
  display: none;
}

.thankyou-box {
  text-align: center;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.thankyou-icon {
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.thankyou-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  animation: fade-up 0.5s 0.2s ease both;
}

@keyframes fade-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 480px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .thankyou-title { font-size: 24px; }
}
