/* ====================================
   OFERTA.PHP — CSS
   Design system: auditoria IBIJS
   ==================================== */

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

body.menu-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f5f5f5;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

body {
  font-family:
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}

/* ====================================
   HERO
   ==================================== */

.oferta-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 56px 32px 96px;
  position: relative;
  overflow: hidden;
}

.oferta-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -50px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 201, 226, 0.22), transparent 70%);
  pointer-events: none;
}

.oferta-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.oferta-breadcrumb {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.oferta-breadcrumb a {
  color: #bce8f3;
  text-decoration: none;
}

.oferta-breadcrumb a:hover {
  text-decoration: underline;
}

.oferta-breadcrumb span {
  opacity: 0.5;
  margin: 0 4px;
}

.oferta-hero h1 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
}

.oferta-hero p {
  font-size: 14.5px;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}

/* ====================================
   TIPO DE CONTRIBUICAO (pills)
   ==================================== */

.oferta-tipos {
  max-width: 1140px;
  margin: -42px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.oferta-tipos-inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.oferta-tipo {
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.15s ease;
}

.oferta-tipo:hover {
  background: #fafaf7;
}

.oferta-tipo.active {
  background: rgba(0, 127, 149, 0.08);
  border-color: var(--color-primary);
}

.oferta-tipo-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 127, 149, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 14px;
}

.oferta-tipo.active .oferta-tipo-ic {
  background: var(--color-primary);
  color: #fff;
}

.oferta-tipo h5 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 13px;
  color: #1a1a1a;
  margin: 0 0 2px;
  font-weight: 700;
}

.oferta-tipo p {
  font-size: 11px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
}

/* ====================================
   MAIN (2 colunas)
   ==================================== */

.oferta-main {
  max-width: 1140px;
  margin: 30px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ====================================
   CARD generico
   ==================================== */

.oferta-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 16px;
  overflow: hidden;
}

.oferta-card-head {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0eee9;
}

.oferta-card-head-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(0, 127, 149, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.oferta-card-head h3 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 17px;
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
}

.oferta-card-body {
  padding: 22px;
}

/* ====================================
   VALORES SUGERIDOS
   ==================================== */

.oferta-vals {
  margin-bottom: 18px;
}

.oferta-vals-label {
  font-size: 11.5px;
  color: #5a4a3a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
}

.oferta-vals-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.oferta-val {
  padding: 14px 6px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid #e5e2db;
  font-family: "Merriweather", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
}

.oferta-val:hover {
  border-color: #bce8f3;
}

.oferta-val.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 14px rgba(0, 127, 149, 0.25);
}

.oferta-vals-custom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.oferta-vals-field {
  border: 1.5px solid #e5e2db;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  transition: border-color 0.15s ease;
}

.oferta-vals-field:focus-within {
  border-color: var(--color-primary);
}

.oferta-vals-currency {
  color: #5a4a3a;
  font-weight: 700;
  font-family: "Merriweather", Georgia, serif;
  font-size: 17px;
}

.oferta-vals-field input {
  border: none;
  outline: none;
  background: transparent;
  font-family: "Merriweather", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  width: 100%;
}

.oferta-vals-field input::placeholder {
  color: #bbb;
  font-weight: 400;
}

/* ====================================
   QR CODE + CHAVE PIX
   ==================================== */

.oferta-pix-stage {
  display: grid;
  grid-template-columns: 144px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.oferta-qr {
  width: 144px;
  height: 144px;
  border: 3px solid #e8e4dc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.oferta-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.oferta-pix-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.oferta-pix-label {
  font-size: 11px;
  color: #5a4a3a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.oferta-pix-key {
  background: #fafaf7;
  border: 1px solid #e8e4dc;
  border-radius: 9px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.oferta-pix-key-text {
  font-family: monospace;
  font-size: 12.5px;
  color: var(--color-primary-dark);
  word-break: break-all;
}

.oferta-pix-copy {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease;
}

.oferta-pix-copy:hover {
  background: var(--color-primary-dark);
}

.oferta-pix-copy.copied {
  background: #1e8e3e;
}

.oferta-pix-key-payload .oferta-pix-key-text {
  font-size: 11px;
  opacity: 0.7;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oferta-pix-info-line {
  font-size: 11.5px;
  color: var(--color-text-light);
  line-height: 1.5;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.oferta-pix-info-line i {
  color: #1e8e3e;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.oferta-pix-chave-line i {
  color: var(--color-primary);
}

/* ====================================
   COMPROVANTE
   ==================================== */

.oferta-receipt {
  margin-top: 20px;
  padding: 14px 16px;
  background: linear-gradient(90deg, #fafaf7 0%, #f6f5f1 100%);
  border-radius: 10px;
  border: 1px dashed #d4d0c8;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #5a4a3a;
}

.oferta-receipt > i {
  font-size: 18px;
  flex-shrink: 0;
}

.oferta-receipt-btn {
  margin-left: auto;
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease;
}

.oferta-receipt-btn:hover {
  background: #1da851;
  color: #fff;
}

/* ====================================
   SIDEBAR
   ==================================== */

.oferta-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card de impacto */
.oferta-impact {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 14px;
  padding: 18px 20px;
}

.oferta-impact h4 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 14px;
  color: #1a1a1a;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.oferta-impact-bar {
  background: linear-gradient(135deg, #f0f8f5, #e3f1ed);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.oferta-impact-bar:last-child {
  margin-bottom: 0;
}

.oferta-impact-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.oferta-impact-info {
  font-size: 12px;
  color: var(--color-primary-dark);
  line-height: 1.45;
}

.oferta-impact-info strong {
  color: #1a1a1a;
  font-family: "Merriweather", Georgia, serif;
}

/* Versiculo */
.oferta-verse {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.oferta-verse::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  left: 14px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.oferta-verse blockquote {
  font-family: "Merriweather", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.oferta-verse-ref {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ====================================
   OUTRAS FORMAS
   ==================================== */

.oferta-other {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 32px 60px;
}

.oferta-other h3 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 22px;
  color: #1a1a1a;
  margin: 0 0 4px;
  font-weight: 700;
}

.oferta-other-sub {
  font-size: 12.5px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.oferta-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.oferta-other-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.oferta-other-card-app {
  border-color: rgba(0, 127, 149, 0.3);
  background: linear-gradient(135deg, #fafafa 0%, #f0f8f5 100%);
}

.oferta-other-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.oferta-other-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 127, 149, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.oferta-other-card h5 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 15px;
  color: #1a1a1a;
  margin: 0 0 6px;
  font-weight: 700;
}

.oferta-other-card p {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0 0 10px;
}

.oferta-other-meta {
  font-family: monospace;
  font-size: 11px;
  color: var(--color-primary-dark);
  background: #fafaf7;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #e8e4dc;
}

/* ====================================
   FLOATING ACTIONS
   ==================================== */

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.floating-actions.hidden {
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-wa 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
}

.floating-btn-youtube {
  background: #ff0000;
}

@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ====================================
   BACK TO TOP
   ==================================== */

.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary, var(--color-primary));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary-dark, var(--color-primary-dark));
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ====================================
   NOTIFICATION (toast)
   ==================================== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 10000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  animation:
    slideIn 0.3s ease,
    fadeOut 0.3s ease 2.7s forwards;
  min-width: 280px;
  font-size: 13px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

/* ====================================
   VLIBRAS
   ==================================== */

.vw-plugin-top-wrapper {
  z-index: 10000;
}

@media (max-width: 768px) {
  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 900px) {
  .oferta-main {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .oferta-tipos {
    padding: 0 16px;
  }

  .oferta-other {
    padding: 0 16px 60px;
  }

  .oferta-other-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .oferta-hero {
    padding: 40px 16px 80px;
  }

  .oferta-hero h1 {
    font-size: 28px;
  }

  .oferta-hero p {
    font-size: 13px;
  }

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

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

  .oferta-pix-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .oferta-pix-info {
    align-items: center;
  }

  .oferta-pix-key {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .oferta-pix-info-line {
    justify-content: center;
    text-align: center;
  }

  .oferta-receipt {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .oferta-receipt-btn {
    margin-left: 0;
  }

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .footer-new {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .oferta-hero h1 {
    font-size: 24px;
  }

  .oferta-card-head h3 {
    font-size: 15px;
  }

  .oferta-val {
    font-size: 14px;
    padding: 12px 4px;
  }

  .oferta-impact h4 {
    font-size: 12px;
  }
}
