
/* Estilos específicos para a página de reforma */

/* Hero Section */
.reforma-hero {
  background-color: #022843;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.reforma-hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.reforma-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Progress Bar */
.reforma-progress {
  padding: 3rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.progress-container {
  max-width: 800px;
  margin: 2rem auto;
}

.progress-bar {
  height: 30px;
  background-color: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f68e30 0%, #f9a55c 100%);
  border-radius: 15px;
  width: 35%; /* Valor fixo para demonstração */
  transition: width 1s ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  color: #555;
}

.progress-message {
  margin-top: 1.5rem;
  font-style: italic;
  color: #555;
}

/* Donation Options */
.reforma-options {
  padding: 4rem 0;
  background-color: white;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.donation-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  color: #555;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: #022843;
}

.tab-btn.active {
  color: #022843;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f68e30;
}

.tab-content {
  display: none;
  padding: 1.5rem 0;
}

.tab-content.active {
  display: block;
}

.valor-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.valor-btn {
  padding: 1rem;
  background-color: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.valor-btn:hover {
  background-color: #e0e0e0;
}

.valor-btn.selected {
  background-color: #022843;
  color: white;
  border-color: #022843;
}

.custom-valor {
  margin-bottom: 1.5rem;
}

.custom-valor label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.input-prefix {
  background-color: #f0f0f0;
  padding: 0.75rem 1rem;
  border-right: 1px solid #ddd;
  font-weight: 500;
}

.input-group input {
  flex-grow: 1;
  padding: 0.75rem;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
}

.doar-btn {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1rem;
}

/* Item List */
.item-list {
  margin-bottom: 1.5rem;
}

.item-option {
  margin-bottom: 1rem;
}

.item-option input[type="radio"] {
  display: none;
}

.item-option label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.item-option input[type="radio"]:checked + label {
  background-color: #022843;
  color: white;
  border-color: #022843;
}

.item-name {
  font-weight: 500;
}

.item-price {
  font-weight: 600;
  color: #f68e30;
}

.item-option input[type="radio"]:checked + label .item-price {
  color: white;
}

/* PIX Container */
.pix-container {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pix-info {
  text-align: center;
}

.pix-qrcode {
  margin: 1.5rem 0;
  position: relative;
}

.pix-qrcode img {
  max-width: 200px;
  height: auto;
  border: 1px solid #ddd;
  padding: 0.5rem;
  background-color: white;
}

/* Loading spinner */
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #f68e30;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.pix-key {
  margin-bottom: 1.5rem;
}

.pix-key p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.copy-input {
  display: flex;
  margin: 0 auto;
  max-width: 350px;
}

.copy-input input {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: "Montserrat", sans-serif;
  background-color: white;
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  padding: 0.75rem 1rem;
  background-color: #022843;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #01182b;
}

.pix-value {
  margin-bottom: 1rem;
}

.pix-value p:first-child {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.pix-value-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f68e30;
}

.pix-message {
  padding: 1rem;
  background-color: #e6f7ff;
  border-radius: 4px;
  margin-top: 1.5rem;
}

.pix-message-text {
  color: #0066cc;
  font-weight: 500;
}

.pix-message-text.success {
  color: #28a745;
}

.pix-message-text.error {
  color: #dc3545;
}

/* Info Section */
.reforma-info {
  padding: 4rem 0;
  background-color: #f0f0f0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.info-text ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-text li {
  margin-bottom: 0.5rem;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.reforma-faq {
  padding: 4rem 0;
  background-color: white;
}

.accordion {
  max-width: 800px;
  margin: 2rem auto 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem;
  background-color: #f8f9fa;
  border: none;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #022843;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #e0e0e0;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1.25rem;
  max-height: 500px;
}

/* Ícones adicionais */
.icon-heart {
  background-image: url("../img/icons/heart.svg");
}

.icon-copy {
  background-image: url("../img/icons/copy.svg");
}

.icon-check {
  background-image: url("../img/icons/check.svg");
}

.icon-chevron-down {
  background-image: url("../img/icons/chevron-down.svg");
}

/* Responsividade */
@media (max-width: 992px) {
  .options-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .valor-options {
    grid-template-columns: 1fr;
  }

  .pix-qrcode img {
    max-width: 150px;
  }
}
