/* ========================================
   PAGES CSS - Projeto Didasko Portugal
   ======================================== */

/* ===== APOIAR PAGE ===== */
.support-page {
  padding: 60px 20px;
}

.support-block {
  margin-bottom: 60px;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-light);
}

.support-block--main {
  border: 2px solid var(--accent-amber);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.1);
}

.support-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.support-header .icon {
  font-size: 36px;
}

.support-header h2 {
  margin-bottom: 0;
}

.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
  }
}

/* Donation methods */
.donation-method {
  margin-top: 32px;
  padding: 32px;
  background: var(--off-white);
  border-radius: 12px;
}

.donation-method--primary {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid var(--success);
}

.donation-method h3 {
  margin-bottom: 1.5rem;
  font-size: 22px;
}

.pix-section,
.bank-section {
  margin-bottom: 24px;
}

.pix-section h4,
.bank-section h4 {
  margin-bottom: 12px;
  color: var(--secondary-terracotta);
}

.pix-key {
  margin-bottom: 16px;
}

.pix-key label,
.payment-option label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-medium);
  margin-bottom: 4px;
}

.payment-info {
  font-size: 15px;
  color: var(--gray-medium);
  margin-top: 8px;
}

.payment-info a {
  color: var(--secondary-terracotta);
  font-weight: 600;
  text-decoration: underline;
}

.payment-info a:hover {
  color: var(--primary-navy);
}

.banks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bank {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  font-size: 15px;
  line-height: 1.6;
}

.bank strong {
  color: var(--primary-navy);
  font-size: 16px;
}

.payment-option {
  margin-bottom: 20px;
}

.info-box {
  margin-top: 32px;
  padding: 24px;
  background: #fffbeb;
  border-radius: 12px;
  border-left: 4px solid var(--accent-amber);
}

.info-box h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-amber);
}

.info-box p {
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Social grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid var(--gray-light);
}

.social-link:hover {
  background: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Trust section */
.trust-section {
  text-align: center;
  padding: 60px 0;
}

.trust-section h2 {
  margin-bottom: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  padding: 24px;
  text-align: center;
}

.trust-item span {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.trust-item p {
  font-weight: 500;
  color: var(--gray-medium);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .support-block {
    padding: 24px;
    margin-bottom: 40px;
  }

  .donation-method {
    padding: 20px;
  }
}

/* ===== SOBRE PAGE ===== */
.sobre-content {
  padding: 80px 0;
}

.sobre-intro {
  margin-bottom: 60px;
}

.sobre-intro .two-col {
  align-items: start;
}

.sobre-intro img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sobre-intro h2 {
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--secondary-terracotta);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--gray-light);
}

.timeline-content {
  padding: 24px;
  background: var(--off-white);
  border-radius: 12px;
}

.timeline-content h3 {
  color: var(--secondary-terracotta);
  margin-bottom: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-content:last-child {
  order: 1;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 50px;
    gap: 16px;
  }

  .timeline-item::after {
    left: 20px;
  }

  .timeline-item:nth-child(even) .timeline-content:first-child {
    order: 0;
  }

  .timeline-item:nth-child(even) .timeline-content:last-child {
    order: 0;
  }
}

/* Experience cards on sobre page */
.experience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.experience-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.experience-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.experience-card-content {
  padding: 24px;
}

.experience-card-content h3 {
  margin-bottom: 0.75rem;
}

/* ===== PORQUE PORTUGAL PAGE ===== */
.challenge-section {
  padding: 80px 0;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.challenge-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  transition: box-shadow 0.3s;
}

.challenge-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.challenge-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.challenge-card h3 {
  margin-bottom: 1rem;
  font-size: 22px;
}

.highlight-box {
  background: var(--secondary-terracotta);
  color: var(--white);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  margin: 60px 0;
}

.highlight-box h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.highlight-box p {
  font-size: 20px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
  background: var(--primary-navy);
  color: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
}

.comparison-table th {
  font-weight: 600;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--gray-light);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

@media (max-width: 600px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* ===== CONTATO PAGE ===== */
.contato-content {
  padding: 60px 0;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-amber);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Inline feedback for contact form */
.contact-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.contact-message.contact-message--success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.contact-message.contact-message--error {
  background: #fef2f2;
  border-color: #fecdd3;
  color: #991b1b;
}

.contact-info-block {
  background: var(--off-white);
  padding: 32px;
  border-radius: 12px;
}

.contact-info-block h3 {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item .icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-item p {
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--secondary-terracotta);
  font-weight: 500;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* ===== CURIOSIDADES PAGE ===== */
.curiosidades-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.curiosidade-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.curiosidade-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.curiosidade-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.curiosidade-text {
  padding: 24px 24px 24px 0;
}

.curiosidade-text h3 {
  font-size: 20px;
  margin-bottom: 0.75rem;
}

.curiosidade-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-medium);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .curiosidade-item {
    grid-template-columns: 1fr;
  }

  .curiosidade-img img {
    height: 180px;
  }

  .curiosidade-text {
    padding: 20px;
  }
}

/* ===== IDIOMA PAGE ===== */
.vocab-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 2rem;
}

.vocab-section h3 {
  background: var(--primary-navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
  margin-bottom: 0;
}

.vocab-list {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.vocab-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  border-bottom: 1px solid var(--gray-light);
}

.vocab-item:last-child {
  border-bottom: none;
}

.vocab-item:nth-child(even) {
  background: var(--off-white);
}

.vocab-item strong {
  color: var(--primary-navy);
  font-weight: 600;
}

.vocab-item span {
  color: var(--gray-medium);
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
}

.expression-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expression-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 16px;
  line-height: 1.5;
}

.expression-list li:last-child {
  border-bottom: none;
}

/* ===== PRAYER GUIDE ===== */
.prayer-guide h3 {
  margin-bottom: 0.5rem;
}

.prayer-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prayer-topic {
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.prayer-topic summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  list-style: none;
}

.prayer-topic summary::-webkit-details-marker {
  display: none;
}

.prayer-topic summary::before {
  content: '+';
  display: inline-block;
  width: 24px;
  font-weight: 700;
  color: var(--secondary-terracotta);
  font-size: 20px;
}

.prayer-topic[open] summary::before {
  content: '−';
}

.prayer-topic summary:hover {
  background: var(--gray-light);
}

.prayer-topic p {
  padding: 0 20px 16px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.prayer-topic p:first-of-type {
  padding-top: 0;
}

/* ===== SUPPORT LIST ON PAGES ===== */
.support-block ul {
  margin: 16px 0;
}

.support-block ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 17px;
}

.support-block ul li::before {
  content: '•';
  color: var(--secondary-terracotta);
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 6px;
}
