.atas-banner {
  width: 100%;
  height: 80vh;
  min-height: 480px;
  background-image: url("/assets/banner Atas.svg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.atas-banner-content {
  width: 50%;
  padding: 0 8%;
  text-align: left;
}

.atas-banner-content h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.atas-banner-content p {
  color: var(--color-primary);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
}

@media (max-width: 767px) {
  .atas-banner {
    height: 71vh;
    min-height: 420px;
    justify-content: center;
  }

  .atas-banner-content {
    width: 100%;
    padding: 0 6%;
    text-align: center;
  }
}

/* ── Atas Accordion ─────────────────────────────────────── */
.atas-accordion {
  background: #f0ebfb;
  padding: 48px 0 64px;
}

.ata-item {
  border: 1px solid #ddd5f5;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.ata-item summary {
  list-style: none;
}
.ata-item summary::-webkit-details-marker {
  display: none;
}

.ata-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.ata-header:hover {
  background: #faf8ff;
}

.ata-badge {
  flex-shrink: 0;
  background: #ede8f8;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.ata-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
}

/* Botão circular do chevron */
.ata-chevron-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ede8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.ata-item[open] .ata-chevron-wrap {
  transform: rotate(180deg);
}

.ata-chevron {
  color: var(--color-primary);
}

.ata-body {
  background: #fff;
  padding: 20px 20px 16px;
  border-top: 1px solid #ddd5f5;
}

.ata-fields-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 14px;
}

.ata-field {
  margin-bottom: 10px;
}
.ata-field:last-child {
  margin-bottom: 0;
}

.ata-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}

.ata-field p:not(.ata-label) {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.ata-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Botão Baixar ata: sem sombra, mais achatado */
.ata-actions .btn-primary {
  box-shadow: none;
  padding: 10px 24px;
  font-size: 0.875rem;
}
.ata-actions .btn-primary:hover {
  box-shadow: none;
}

/* CTA sem ata encontrada */
.atas-cta {
  text-align: center;
  margin-top: 40px;
}
.atas-cta h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.atas-cta p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .ata-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .ata-badge {
    white-space: normal;
  }
  .ata-chevron-wrap {
    margin-left: auto;
  }
  .ata-fields-row {
    grid-template-columns: 1fr;
  }
}

/* ── Modal Baixar Ata ───────────────────────────────────── */
.ata-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ata-modal-overlay[hidden] {
  display: none;
}

.ata-modal {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.ata-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
}
.ata-modal-close:hover {
  color: #111;
}

.ata-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.ata-modal-whats {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0faf4;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.ata-modal-whats-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #e2f7ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ata-modal-whats-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #25a244;
  margin-bottom: 2px;
}

.ata-modal-whats-desc {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

.ata-modal-body {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}

.ata-modal-confirm {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.ata-modal-cancel {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  padding: 6px 0;
  transition: color 0.2s;
}
.ata-modal-cancel:hover {
  color: #111;
}
