/* ========================================================================
   style.css — Fundación Corazones Peludos (LP limpa)
   ======================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #fff;
  font-family: 'Rubik', sans-serif;
  overflow-x: hidden;
}

.lp-abandonados { background-color: #fff; width: 100%; overflow-x: hidden; }

.lp-container {
  max-width: 450px;
  margin: 0 auto;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.defer-render { content-visibility: auto; contain-intrinsic-size: 1000px; }

.lp-title {
  font-size: 27px; font-weight: 700; color: #1c1c1c;
  text-align: center; line-height: 1.3; margin: 10px 0 20px; width: 100%;
}
.lp-title.underlined { font-weight: 900; text-decoration: underline; }

.lp-text {
  font-size: 15px; line-height: 1.3; color: #1b1b1b;
  width: 100%; margin: 10px auto 20px; text-align: left;
}
.lp-text.center { text-align: center; }
.lp-text p { margin: 0 0 15px; }
.lp-text strong { font-weight: 700; }
.lp-text u { text-decoration: underline; }

.lp-image-wrapper { width: 100%; display: flex; justify-content: center; margin-bottom: 20px; }
.lp-image { width: 100%; border-radius: 15px; display: block; object-fit: contain; }

/* LOADER */
#line-loader { width: 100%; display: flex; justify-content: center; margin-bottom: 5px; }
.line-track { width: 100%; height: 10px; background: #e5e5e5; border-radius: 999px; overflow: hidden; }
.line-progress {
  height: 100%; width: 0%; background: #000; border-radius: 999px;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
  transition: width .2s ease-out; will-change: width;
}
.percent { font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }

/* VSL */
.vsl-wrapper {
  width: 100%; max-width: 450px; margin: 0 auto 20px; text-align: center;
  position: relative; border-radius: 12px; aspect-ratio: 9/16;
  background-color: #000; background-image: url('images/preload.webp');
  background-size: cover; background-position: center; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
}
.vsl-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vsl-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; object-fit: cover; z-index: 2; }
.vsl-progress-bar {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); height: 8px; background: rgba(255,255,255,.3);
  border-radius: 4px; z-index: 3; overflow: hidden;
}
.vsl-progress { width: 0%; height: 100%; background: #e13f14; border-radius: 4px; transition: width .1s linear; will-change: width; }

/* DOAÇÃO */
.donation-section {
  background: linear-gradient(135deg, #000 0%, #1f445f 100%);
  color: #fff; padding: 50px 28px; border-radius: 25px; width: 100%; margin-bottom: 20px;
}
.donation-section .container { max-width: 600px; margin: 0 auto; width: 100%; }
.donation-section .section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 30px; line-height: 1.3; color: #fff; }
.donation-section .section-title::after { content:''; display:block; width:50px; height:5px; background:#E69925; margin:10px auto 0; border-radius:10px; }

.pix-container { width: 100%; display: flex; flex-direction: column; }
.pix-key-container { background: #fff; padding: 18px 15px; border-radius: 18px; text-align: center; margin: 18px 0; width: 100%; }
.pix-key { font-size: 1.6rem; font-weight: 800; color: #4A2C22; background: #FFF9F0; padding: 12px; border: 2px dashed #E69925; border-radius: 10px; margin-bottom: 12px; word-break: break-all; }
.pix-recipient { background: #f4f4f4; padding: 5px 12px; border-radius: 40px; display: inline-block; font-size: .9rem; color: #785A4F; margin-bottom: 15px; }
.pix-recipient strong { color: #D94528; }
.pix-instructions { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 15px 14px; width: 100%; }
.pix-instructions h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; color: #95bfc4; }
.pix-instructions ol { padding-left: 18px; margin: 0; }
.pix-instructions li { margin-bottom: 8px; font-size: 15px; line-height: 1.5; }

.copy-btn {
  background: #E69925; color: #fff; border: none; width: 100%; padding: 13px;
  font-size: 1rem; font-weight: 700; border-radius: 10px; cursor: pointer;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  box-shadow: 0 4px 0 #C98218; font-family: 'Rubik', sans-serif; transition: all .2s ease;
}
.copy-btn:hover { background: #C98218; }
.copy-btn:active { transform: translateY(2px); box-shadow: none; }
.copy-btn.copied { background: #28a745 !important; box-shadow: 0 4px 0 #1e7e34; transform: scale(1.02); }
.donation-footer { text-align: center; margin-top: 18px; font-size: .9rem; line-height: 1.5; }

.nequi { display: flex; justify-content: center; align-items: center; gap: 20px; text-align: center; margin-bottom: 20px; }
.nequis { width: 80px; height: auto; display: block; }

/* BARRA PROGRESSO */
.raised-box { background: #fff; font-size: 14px; color: #030712; padding: 20px; width: 100%; margin-bottom: 20px; }
.raised-header { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 8px; }
.raised-title { font-weight: 600; }
.raised-percent { opacity: .5; font-weight: 600; }
.progress-wrapper { position: relative; margin-bottom: 12px; width: 46%; }
.progress-tooltip { position: absolute; right: 0; bottom: 0; transform: translateX(50%); background: #030712; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 20; }
.progress-tooltip i { position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: #030712; transform: translateX(-50%) rotate(45deg); }
.progress-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(229,231,235,.8); }
.progress-fill { height: 100%; width: 46%; background: #030712; border-radius: 8px; transition: width 1s ease; }
.progress-dot { position: absolute; left: 46%; top: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; background: #fff; border: 3px solid #030712; border-radius: 50%; z-index: 10; animation: heartbeat 2s ease-in-out infinite; }
@keyframes heartbeat {
  0%   { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 0   rgba(3,7,18,.4); }
  15%  { transform: translate(-50%,-50%) scale(1.2); box-shadow: 0 0 0 6px rgba(3,7,18,0); }
  30%  { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 0   rgba(3,7,18,0); }
  45%  { transform: translate(-50%,-50%) scale(1.15);box-shadow: 0 0 0 4px rgba(3,7,18,0); }
  100% { transform: translate(-50%,-50%) scale(1);   box-shadow: 0 0 0 0   rgba(3,7,18,0); }
}
.raised-footer { margin-top: 10px; font-weight: 600; opacity: .8; }

/* ORGANIZAÇÃO */
.organization-info-section { background: #fff; padding: 40px 0; width: 100%; font-family: 'Poppins', sans-serif; color: #074556; font-size: 14px; line-height: 1.5; }
.organization-info-section .container { width: 100%; max-width: 450px; margin: 0 auto; padding: 0 15px; }
.org-info-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 16px 9px rgba(7,69,86,.08); width: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.org-info-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px 9px rgba(23,155,174,.15); }
.org-header { text-align: center; padding: 16px 20px; background: #074556; border-radius: 16px 16px 0 0; }
.org-name { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0; text-transform: uppercase; letter-spacing: .5px; }
.org-info-wrapper { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 24px 28px; gap: 20px; }
.org-info-content { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; }
.org-info-item { display: flex; align-items: center; gap: 14px; width: 100%; }
.org-info-icon { width: 40px; height: 40px; border: 1.5px solid #179BAE; color: #179BAE; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .3s ease; }
.org-info-item:hover .org-info-icon { background: #179BAE; color: #fff; }
.org-info-icon svg { width: 18px; height: 18px; }
.org-info-text { text-align: left; min-width: 0; }
.org-info-label { font-size: .65rem; color: #5B7A82; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 2px; }
.org-info-value { font-size: .95rem; color: #074556; font-weight: 700; line-height: 1.3; word-break: break-word; display: block; }
.org-logo-circle { width: 100px; height: 100px; background: transparent; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.org-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* COMENTÁRIOS */
.plugin-facebook { background: #f0f2f5; padding: 15px 10px; border-radius: 10px; width: 100%; margin-bottom: 30px; }
.box-comentarios-face { width: 100%; max-width: 600px; margin: auto; background: #fff; border-radius: 10px; padding: 15px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.box-comentarios-face h4 { font-size: 16px; font-weight: 700; margin: 0 0 15px; padding-bottom: 8px; border-bottom: 1px solid #e4e6eb; color: #1c1e21; }
.comentario { margin-bottom: 16px; }
.content-comentario { display: flex; align-items: flex-start; }
.avatar { flex-shrink: 0; }
.avatar img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.text-comentario { margin-left: 8px; flex: 1; }
.text-comentario h3 { font-size: 14px; margin: 0; font-weight: 700; color: #365899; }
.text-comentario p { font-size: 13.5px; margin: 4px 0 6px; line-height: 1.4; color: #050505; word-break: break-word; }
.d-flex-fb { display: flex; flex-wrap: wrap; gap: 10px; }
.d-flex-fb span { font-size: 12.5px; color: #365899; cursor: pointer; font-weight: 600; }
.d-flex-fb span:last-child { color: #65676b; font-weight: 400; cursor: default; }
.respostas-comentarios { margin-left: 46px; margin-top: 8px; padding-left: 10px; border-left: 2px solid #e4e6eb; }
.final-fb { font-size: 12.5px; text-align: center; margin-top: 18px; padding-top: 12px; border-top: 1px solid #e4e6eb; color: #65676b; }

/* TOAST */
#contenedor-donacion { position: fixed; bottom: 30px; left: 30px; z-index: 999999; pointer-events: none; }
.notificacion-donacion { display: flex; align-items: center; background: #fff; padding: 12px 20px; border-radius: 60px; box-shadow: 0 15px 35px rgba(0,0,0,.12); border: 1px solid #f0f0f0; transform: translateX(-150%); transition: all .7s cubic-bezier(.175,.885,.32,1.275); max-width: 320px; opacity: 0; }
.notificacion-donacion.active { transform: translateX(0); opacity: 1; }
.icono-wrapper { width: 45px; height: 45px; background: #ff4757; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; box-shadow: 0 6px 15px rgba(255,71,87,.3); }
.icono-wrapper svg { width: 60%; height: 60%; fill: white; }
.info-donacion { display: flex; flex-direction: column; }
.nombre-donante { font-size: 14px; font-weight: 700; color: #2f3542; margin-bottom: 2px; line-height: 1.2; }
.texto-donacion { font-size: 12px; color: #57606f; line-height: 1.3; }
.monto-donacion { color: #2ed573; font-weight: 800; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 767px) {
  .lp-title { font-size: 20px; }
  .lp-title.underlined { font-size: 23px; }
  .donation-section { padding: 35px 20px; }
  .donation-section .section-title { font-size: 1.3rem; }
  .pix-instructions h3 { font-size: 16px; }
  .pix-instructions li { font-size: 14px; }
  #contenedor-donacion { left: 15px; bottom: 20px; }
  .notificacion-donacion { max-width: 92vw; padding: 10px 18px; border-radius: 40px; transform: translateX(-120%); }
  .texto-donacion { white-space: nowrap; font-size: 11px; }
  .icono-wrapper { width: 38px; height: 38px; margin-right: 12px; }
  .nombre-donante, .monto-donacion { font-size: 13px; }
  .org-info-wrapper { padding: 18px 16px; gap: 12px; }
  .org-logo-circle { width: 75px; height: 75px; }
}
@media (min-width: 1024px) {
  .notificacion-donacion { max-width: 480px; padding: 18px 30px; border-radius: 80px; }
  .icono-wrapper { width: 65px; height: 65px; margin-right: 25px; }
  .nombre-donante { font-size: 20px; }
  .texto-donacion { font-size: 16px; }
  .monto-donacion { font-size: 20px; }
}

/* CTA Buttons */
.cta-wrapper { text-align: center; margin: 25px 0; }
.cta-donar-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35, #e63946);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(230, 57, 70, .45);
  animation: ctaPulse 2s ease-in-out infinite;
  transition: transform .2s;
}
.cta-donar-btn:hover { transform: scale(1.05); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(230, 57, 70, .45); }
  50% { box-shadow: 0 6px 35px rgba(230, 57, 70, .75); }
}
