/* ═══════════════════════════════════════════
   RESGAUTE — Abrigo de Animais
   style.css
═══════════════════════════════════════════ */

/* ─── RESET & VARIÁVEIS ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink:        #F26C9D;
  --pink-dark:   #d9507f;
  --pink-light:  #fde8f1;
  --green:       #22c55e;
  --green-dark:  #16a34a;
  --green-wpp:   #25D366;
  --blue-dark:   #1e3a5f;
  --blue-mid:    #2d6a9f;
  --blue-light:  #d4eef9;
  --blue-bg:     #e0f2fc;
  --blue-section: linear-gradient(180deg, #c5ddf0 0%, #e8f6fd 100%);
  --text:        #1e3a5f;
  --text-muted:  #4a6a8a;
  --white:       #ffffff;
  --gray-bg:     #f8f8f8;
  --border:      #c5ddf0;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(30,58,95,0.10);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.12);
  --transition:  all 0.3s ease;
  --font:        'Poppins', sans-serif;
  --max-w:       900px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.3; }

/* ─── HERO HEADER ─── */
.hero-header {
  width: 100%;
  background: #000;
}
.hero-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ─── SEÇÕES BASE ─── */
section {
  padding: 60px 20px;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 10px;
}

section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue-dark);
  margin: 10px auto 28px;
  border-radius: 2px;
}

/* ─── BOTÕES PRIMÁRIOS (verde) ─── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(34,197,94,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(34,197,94,0.45);
}
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--pink);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 32px;
  border: 2px solid var(--pink);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}
.btn-secondary:hover { background: var(--pink-light); }

.btn-link-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  width: 100%;
  text-align: center;
  padding: 8px;
  transition: var(--transition);
}
.btn-link-text:hover { color: var(--pink); }

.btn-back-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  padding: 8px;
  transition: var(--transition);
}
.btn-back-link:hover { color: var(--pink); }

/* ─── VÍDEO + CTA ─── */
.video-cta-section {
  background: var(--blue-section);
  text-align: center;
  padding: 48px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.video-wrapper {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
  aspect-ratio: 9/16;
}
.main-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cnpj-badge-row {
  margin-top: -4px;
}
.cnpj-badge-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--transition);
}
.cnpj-badge-btn:hover { color: var(--blue-dark); }

/* ─── PROPÓSITO (coluna única) ─── */
.purpose-section {
  background: var(--white);
  text-align: center;
}

.purpose-section h2::after {
  background: var(--blue-dark);
}

.purpose-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  gap: 28px;
}

.purpose-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.purpose-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  width: 100%;
}

.chip-inocencia {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
}

.purpose-text-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-dark);
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.callout-box {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  width: 100%;
}
.callout-box p {
  color: var(--blue-dark) !important;
  font-size: 0.93rem;
  text-align: center;
}

.purpose-text-block .btn-primary {
  align-self: center;
  margin-top: 4px;
}

/* ─── HELP SECTION (carrossel 1 por vez, card horizontal) ─── */
.help-section {
  background: var(--blue-section);
}

.help-section h2::after {
  background: var(--blue-dark);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.carousel-slide {
  width: 100%;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Card vertical: imagem em cima, texto em baixo */
.help-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.carousel-slide .help-card img,
.help-card img {
  width: 100% !important;
  min-width: unset;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}
.help-card-text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.help-card-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.help-card-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── IMPACTO ─── */
.impact-section {
  background: var(--blue-section);
  text-align: center;
}
.impact-section h2::after {
  background: var(--blue-dark);
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 24px;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow);
  text-align: left;
}

.impact-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 50px;
  padding: 6px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.impact-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.impact-footer {
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 1rem;
  margin-top: 8px;
}

/* ─── PIX ─── */
.pix-section {
  background: linear-gradient(135deg, #1e3f73 0%, #2b6090 50%, #1e3f73 100%);
  text-align: center;
}
.pix-section h2 {
  color: var(--white);
}
.pix-section h2::after {
  background: var(--white);
}

.pix-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.pix-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  padding: 12px 20px;
}

.pix-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pix-key-email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.pix-receiver {
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--blue-bg);
  padding: 6px 20px;
  border-radius: 50px;
  width: 100%;
  text-align: center;
}

.btn-copy-pix {
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}
.btn-copy-pix:hover { background: var(--green-dark); }
.btn-copy-pix.copied { background: #28a745; }

/* ─── CARROSSÉIS (fotos e depoimentos) ─── */
.carousel-photos, .carousel-testimonials {
  max-width: var(--max-w);
  margin: 0 auto;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

/* Botões do carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--pink);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: var(--pink-dark); transform: translateY(-50%) scale(1.1); }
.carousel-btn.carousel-prev { left: -8px; }
.carousel-btn.carousel-next { right: -8px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c5ddf0;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active { background: var(--pink); transform: scale(1.2); }

/* ─── TRANSFORMAÇÃO ─── */
.transformation-section {
  background: var(--blue-section);
}
.transformation-section h2::after {
  background: var(--blue-dark);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* Fotos transformação: portrait */
.carousel-photos .carousel-slide img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  margin: 0 auto;
}

/* ─── DEPOIMENTOS ─── */
.testimonials-section {
  background: var(--blue-section);
}
.testimonials-section h2::after {
  background: var(--blue-dark);
}

.testimonial-slide {
  padding: 0 8px;
}

.testimonial-card {
  background: linear-gradient(180deg, #f472b6 0%, var(--pink) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  margin: 0 auto;
}
.testimonial-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 0;
}
.testimonial-card-body {
  padding: 20px;
  color: var(--white);
  text-align: center;
}
.testimonial-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.adopted-tag {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}
.quote-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  line-height: 1.6;
}

/* ─── LOCALIZAÇÃO ─── */
.location-section {
  background: var(--blue-section);
}
.location-section h2::after {
  background: var(--blue-dark);
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: var(--max-w);
  margin: 0 auto 24px;
}
.location-info {
  text-align: center;
}
.location-info h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 6px; }
.location-info p { color: var(--text-muted); }

/* ─── ORG INFO ─── */
.org-section {
  background: var(--white);
  padding: 40px 20px;
}
.org-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.org-logo-list {
  list-style: none;
}
.org-logo { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius); }
.org-text { flex: 1; min-width: 220px; }
.org-name { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 12px; }
.org-details { display: flex; flex-direction: column; gap: 8px; }
.org-detail-row { font-size: 0.88rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.org-detail-label { font-weight: 600; color: var(--blue-dark); min-width: 90px; }
.cnpj-inline-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--blue-mid);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.verified { color: #22c55e !important; font-weight: 500; font-size: 0.88rem; }

/* ─── WHATSAPP ─── */
.whatsapp-section {
  background: var(--blue-section);
  text-align: center;
  padding: 60px 20px;
}
.whatsapp-inner {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.whatsapp-inner h2 { margin-bottom: 0; font-size: 1.3rem; }
.whatsapp-inner h2::after { display: none; }
.whatsapp-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: -8px; }
.whatsapp-banner-img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-whatsapp-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wpp);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp-community:hover { background: #1ebe59; transform: translateY(-2px); }

.whatsapp-bottom-link {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.whatsapp-icon-label {
  font-weight: 600;
  color: var(--green-wpp);
}

/* ─── CTA FINAL ─── */
.cta-final-section {
  background: var(--blue-section);
  text-align: center;
  padding: 80px 20px;
}
.cta-final-section h2 {
  color: var(--blue-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 4px;
}
.cta-final-section h2::after {
  background: var(--blue-dark);
}
.cta-final-section p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; }
.footer-brand h3 { font-size: 1.4rem; color: var(--white); }

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: block;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.footer-bottom p { margin: 0 8px; }

/* ═══════════════════════════════════
   MODAIS
═══════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
}
.modal-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-bg);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text);
}
.modal-close-btn:hover { background: var(--pink); color: var(--white); }

.modal-box h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 24px;
  text-align: center;
}

/* Doação */
.donation-box { padding: 32px 28px; }

.donation-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--green);
  color: var(--white);
  border-radius: 50px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.amount-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--blue-dark);
  transition: var(--transition);
  text-align: center;
}
.amount-btn:hover { border-color: var(--green); color: var(--green); }
.amount-btn.selected { background: var(--green); color: var(--white); border-color: var(--green); }

.custom-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-align: center;
}
.custom-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  background: var(--white);
}
.currency-symbol { font-weight: 700; color: var(--blue-dark); font-size: 1.1rem; }
.custom-amount-row input {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--blue-dark);
  width: 100%;
  background: transparent;
}

/* Form */
.form-type-tag {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.form-amount-display {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
  margin-top: 14px;
}
.optional-tag { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.required-star { color: var(--pink); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.form-input:focus { border-color: var(--green); }
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: var(--transition);
  background: var(--white);
}
.form-textarea:focus { border-color: var(--green); }
.char-count-display { font-size: 0.78rem; color: var(--text-muted); display: block; text-align: right; margin-bottom: 16px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  margin: 16px 0;
}
.checkbox-row input { margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.checkbox-title { font-size: 0.9rem; font-weight: 600; color: var(--blue-dark); display: block; }
.checkbox-row small { font-size: 0.8rem; color: var(--text-muted); }

/* Loading */
.loading-box {
  text-align: center;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loading-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; }
.loading-box p { color: var(--text-muted); font-weight: 500; }
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* CNPJ modal */
.cnpj-modal-box { text-align: center; }
.cnpj-modal-box h3 { font-size: 1.2rem; color: var(--blue-dark); margin-bottom: 20px; }
.cnpj-modal-box img { border-radius: var(--radius); max-width: 100%; }

/* Expenses */
.expenses-box {}
.expenses-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; text-align: center; }
.expenses-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.expense-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
}
.expense-val { font-weight: 700; color: var(--blue-dark); }

/* Phone prompt */
.phone-prompt-box { text-align: center; }
.phone-prompt-box h2 { margin-bottom: 16px; }
.phone-prompt-box p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.9rem; line-height: 1.7; }

/* Exit */
.exit-box { text-align: center; }
.exit-box h2 { margin-bottom: 16px; }
.exit-box p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }
.exit-subtitle { font-size: 0.88rem !important; }
.exit-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ═══════════════════════════════════
   MODAL PIX — QR CODE
═══════════════════════════════════ */
.pix-modal-box {
  text-align: center;
}

.pix-modal-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 4px 0 12px;
}

.pix-modal-instruction {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pix-qrcode-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}

.pix-qrcode-container img,
.pix-qrcode-container canvas {
  display: block;
  max-width: 220px;
  height: auto;
}

.btn-copy-pix-code {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.btn-copy-pix-code:hover { background: var(--blue-mid); }

.pix-waiting-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.loading-spinner-sm {
  width: 18px;
  height: 18px;
  border: 3px solid var(--border);
  border-top-color: var(--blue-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.pix-timer-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pix-timer-label span {
  font-weight: 700;
  color: var(--pink-dark);
}

/* ═══════════════════════════════════
   MODAL SUCESSO
═══════════════════════════════════ */
.success-modal-box {
  text-align: center;
  padding-top: 36px;
}

.success-checkmark {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.success-msg {
  font-size: 1rem;
  color: var(--text);
  margin: 12px 0 6px;
  line-height: 1.5;
}

.success-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════
   RESPONSIVO
═══════════════════════════════════ */
@media (max-width: 700px) {
  section { padding: 48px 16px; }

  .help-card img {
    height: 180px;
  }

  .purpose-banner { max-width: 100%; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .amount-grid { grid-template-columns: repeat(2, 1fr); }

  .carousel-btn.carousel-prev { left: 2px; }
  .carousel-btn.carousel-next { right: 2px; }

  .modal-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-box { padding: 24px 16px; }
  .video-wrapper { max-width: 280px; }
}
