/* ============================================
   ORIDANZA — INTERIOR PAGES
   ============================================ */

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
  background: var(--color-dark);
  padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero/page-hero.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,18,0.4), rgba(26,20,18,0.9));
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin-top: 16px;
  max-width: 600px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 500px;
  margin-top: 16px;
}

/* ---- RICH TEXT (prose sections) ---- */
.prose h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.prose h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.prose ul li {
  list-style: disc;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ---- DANÇA 55+ PAGE ---- */
.d55-intro {
  padding: var(--section-py) 0;
}

.d55-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.d55-intro__grid p + p {
  margin-top: 16px;
}

.d55-intro__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #d9d4ce;
}

.d55-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d55-features {
  padding: var(--section-py) 0;
  background: var(--color-bg-soft);
}

.d55-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-brand-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
}

/* ---- HORÁRIOS PAGE ---- */
.schedule-page {
  padding: var(--section-py) 0;
}

.schedule-page__intro {
  max-width: 560px;
  margin-bottom: 48px;
}

.schedule-location-block {
  margin-bottom: 48px;
}

.schedule-location-block__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-brand);
}

.schedule-location-block__header svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-location-block__header h2 {
  font-size: 24px;
  margin: 0;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--color-border);
}

.schedule-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.schedule-table tbody tr:hover {
  background: var(--color-bg-soft);
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table tbody td {
  padding: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.schedule-table tbody td:first-child {
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.schedule-table .time-cell {
  font-weight: 600;
  color: var(--color-brand);
  white-space: nowrap;
}

.inscricao-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--color-brand-bg);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.inscricao-note svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.inscricao-note p {
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

/* ---- QUEM SOMOS PAGE ---- */
.team-section {
  padding: var(--section-py) 0;
  background: var(--color-bg-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.team-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.team-card__image {
  aspect-ratio: 3/2;
  background: #d9d4ce;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__name {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 13px;
  color: var(--color-brand);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 14px;
  line-height: 1.65;
}

.values-section {
  padding: var(--section-py) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
}

.value-item__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-brand);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}

.value-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 13px;
}

/* ---- HISTÓRIA PAGE ---- */
.timeline {
  position: relative;
  padding: var(--section-py) 0;
}

.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: start;
}

.timeline__item:nth-child(even) .timeline__content {
  grid-column: 3;
  text-align: left;
}

.timeline__item:nth-child(odd) .timeline__content {
  grid-column: 1;
  text-align: right;
}

.timeline__dot {
  grid-column: 2;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.timeline__dot span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-brand);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-brand);
  flex-shrink: 0;
}

.timeline__content {
  padding: 0 24px;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 6px;
}

.timeline__content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 14px;
}

/* ---- EVENTOS PAGE ---- */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.evento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition);
}

.evento-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-mid);
}

.evento-card__image {
  aspect-ratio: 16/9;
  background: #d9d4ce;
  overflow: hidden;
}

.evento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evento-card__body {
  padding: 20px;
}

.evento-card__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 8px;
}

.evento-card__body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.evento-card__body p {
  font-size: 13px;
}

/* ---- GALERIA PAGE ---- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.galeria-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #d9d4ce;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.06);
}

.galeria-item--tall {
  aspect-ratio: auto;
  grid-row: span 2;
}

/* ---- CONTACTOS PAGE ---- */
.contactos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: var(--section-py) 0;
}

.contactos-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(201,78,45,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contactos-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-brand-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.contact-item__value a {
  color: var(--color-brand);
  text-decoration: none;
}

/* ---- RESPONSIVE INTERIOR PAGES ---- */
@media (max-width: 900px) {
  .d55-features__grid { grid-template-columns: repeat(2, 1fr); }
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .d55-intro__grid { grid-template-columns: 1fr; }
  .d55-intro__image { aspect-ratio: 3/2; }
  .d55-features__grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contactos-grid { grid-template-columns: 1fr; }

  .timeline__line { display: none; }
  .timeline__item {
    grid-template-columns: 1fr;
    padding-left: 24px;
    border-left: 2px solid var(--color-brand);
    position: relative;
  }
  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 1;
    text-align: left;
    padding: 0;
  }
  .timeline__dot { display: none; }

  .schedule-table { display: block; overflow-x: auto; }
}

@media (max-width: 600px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-item--tall { grid-row: span 1; aspect-ratio: 1; }
}

/* Team card — ler mais */
.team-card__more {
  margin-top: 0;
}

.team-card__toggle {
  margin-top: auto;
  padding-top: 16px;
  background: none;
  border: none;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.team-card__toggle:hover {
  opacity: 0.75;
}

.team-card__toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 14px;
}

.team-card__toggle[aria-expanded="true"] .team-card__toggle-icon {
  transform: rotate(180deg);
}
