/* IEPMT — Styles (Direção: One motif, Arco e Faixa do Testador) */

.site-stripe {
  display: flex;
  width: 100%;
  height: 52px;
  overflow: hidden;
  flex-shrink: 0;
}
.site-stripe--thin {
  height: 8px;
}
.site-stripe span {
  flex: 1 1 0;
  min-width: 12px;
  height: 100%;
  background: var(--accent);
}
.site-stripe span:nth-child(even) {
  background: var(--surface);
}
.site-stripe--thin span:nth-child(even) {
  background: var(--dark);
}

/* ---------- Hero: Striped card beside the room ---------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  min-height: 100svh;
  align-items: start;
}

.hero-card {
  background: var(--surface);
  color: var(--ink);
  min-height: calc(100svh - 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.hero-card__inner {
  padding: clamp(1.5rem, 3.5vw, 3rem) clamp(1.25rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
  margin-block: auto;
}

.hero-brand {
  width: clamp(170px, 20vw, 270px);
  height: auto;
  background: transparent;
  mix-blend-mode: multiply;
}

.hero-title {
  font-size: var(--step-display);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 15ch;
  color: var(--ink);
}

.hero-sub {
  font-size: var(--step-body);
  max-width: 36ch;
  color: var(--muted);
}

.hero-live {
  background: var(--bg);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
  font-size: var(--step-small);
  font-weight: 600;
  max-width: 38ch;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 1.25rem 1.5rem;
  font-size: var(--step-small);
  font-weight: 600;
}

.hero-room {
  position: sticky;
  top: 12px;
  height: calc(100svh - 24px);
  background: var(--dark);
  overflow: hidden;
  min-width: 0;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1600ms var(--ease-in-out);
}
.hero-stage__img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__img {
    transition: none;
  }
}

@media (max-width: 44em) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 12px;
    min-height: auto;
  }
  .hero-room {
    order: -1;
    position: relative;
    top: 0;
    height: 44svh;
  }
  .hero-card {
    position: relative;
    z-index: 2;
    min-height: auto;
    margin-top: -24px;
    margin-inline: 10px;
  }
  .site-stripe {
    height: 36px;
  }
}

/* ---------- 1. About: Inset panel, shaped portrait ---------- */
.about-band {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.about-panel {
  margin-inline: var(--margin);
  background: var(--dark);
  color: var(--ink-on-dark);
  min-height: 86svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(2rem, 4.5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 0;
  overflow: hidden;
}

.about-left {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.25rem;
}

.about-heading {
  font-size: var(--step-head);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--ink-on-dark);
}

.about-portrait {
  width: min(100%, 34rem);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: 50% 50% 0 0;
  margin-bottom: -8%;
}

.about-right {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-block h3 {
  font-size: var(--step-lead);
  margin-bottom: 0.65rem;
  color: var(--ink-on-dark);
}

.about-block p {
  font-size: var(--step-body);
  color: var(--muted-on-dark);
  max-width: 34ch;
}

@media (max-width: 44em) {
  .about-panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 2rem 1.25rem 0;
  }
  .about-left,
  .about-right {
    grid-column: 1 / -1;
  }
  .about-left {
    display: contents;
  }
  .about-heading {
    order: 1;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }
  .about-right {
    order: 2;
    gap: 1.75rem;
    padding-bottom: 2rem;
  }
  .about-portrait {
    order: 3;
    margin-inline: auto;
    width: 88%;
    margin-bottom: -10%;
  }
}

/* ---------- 2. List: Agenda e ministérios ---------- */
.agenda-band {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  padding-inline: var(--margin);
}

.agenda-group + .agenda-group {
  margin-top: clamp(4rem, 7vw, 6.5rem);
}

.agenda-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.agenda-count {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem clamp(2rem, 5vw, 4.5rem);
}

.agenda-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.agenda-thumb {
  width: 68px;
  height: 82px;
  border-radius: 34px 34px 0 0;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}

.agenda-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.agenda-row-top h3 {
  font-size: var(--step-lead);
  line-height: 1.18;
}

.agenda-time {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.agenda-desc {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 40ch;
}

@media (max-width: 48em) {
  .agenda-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .agenda-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
  }
  .agenda-thumb {
    width: 56px;
    height: 68px;
    border-radius: 28px 28px 0 0;
  }
}

/* ---------- 3. Showcase: Square plate, spare text ---------- */
.showcase-band {
  background: var(--surface);
  padding-inline: var(--margin);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  min-height: 80svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}

.showcase-plate {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  background: var(--dark);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.showcase-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--dark);
  transition: opacity 280ms var(--ease-out);
}

.showcase-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: 0.5rem;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.showcase-tab {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.35rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 0.14em;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}

.showcase-tab[aria-selected="true"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.showcase-copy h2 {
  font-size: var(--step-head);
  line-height: 0.96;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.showcase-copy p {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 36ch;
}

.showcase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.showcase-cell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-body);
  text-align: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.showcase-cell:active { transform: scale(0.98); }

.showcase-cell--primary {
  background: var(--dark);
  color: var(--ink-on-dark);
}
.showcase-cell--primary:hover {
  background: var(--accent-strong);
}

.showcase-cell--secondary {
  background: var(--surface-2);
  color: var(--ink);
}
.showcase-cell--secondary:hover {
  background: var(--bg);
}

@media (max-width: 48em) {
  .showcase-band {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .showcase-actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- 4. FAQ: Tabbed index cards ---------- */
.faq-band {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  padding-inline: var(--margin);
}

.faq-wrap {
  max-width: 64rem;
  margin-inline: auto;
}

.faq-heading {
  margin-bottom: 2.5rem;
}

.faq-stack {
  display: flex;
  flex-direction: column;
}

.faq-card {
  position: relative;
  margin-top: -12px;
  padding-top: 40px;
}
.faq-card:first-child {
  margin-top: 0;
}

.faq-tab-trigger {
  width: 100%;
  text-align: left;
  display: block;
  cursor: pointer;
}

.faq-tab-label {
  position: absolute;
  top: 0;
  left: var(--tab-offset, 0px);
  width: 190px;
  height: 41px;
  padding: 0.65rem 1.25rem 0;
  font-size: var(--step-small);
  font-weight: 600;
  background: inherit;
  color: inherit;
  clip-path: polygon(0 100%, 10px 0, calc(100% - 10px) 0, 100% 100%);
  display: flex;
  align-items: center;
}

.faq-card--tone-1 { background: var(--surface); color: var(--ink); }
.faq-card--tone-2 { background: var(--surface-2); color: var(--ink); }
.faq-card--tone-3 { background: var(--dark); color: var(--ink-on-dark); }

.faq-body {
  padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem) 2rem;
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-lead);
  line-height: 1.2;
}

.faq-a {
  margin-top: 1rem;
  max-width: 52ch;
  font-size: var(--step-body);
  color: inherit;
}
.faq-card[data-open="false"] .faq-a {
  display: none;
}

@media (max-width: 48em) {
  .faq-tab-label {
    width: 118px;
    left: var(--tab-offset-sm, 0px);
    padding: 0.65rem 0.75rem 0;
  }
}

/* ---------- 5. Contact: Clip-out coupon form ---------- */
.contact-band {
  padding-block: clamp(3rem, 6vw, 6rem);
  padding-inline: var(--margin);
}

.coupon {
  position: relative;
  max-width: 78rem;
  margin-inline: auto;
  background: var(--dark);
  color: var(--ink-on-dark);
  display: grid;
  grid-template-columns: 46% 24px minmax(0, 1fr);
  overflow: hidden;
}

.coupon-notch {
  position: absolute;
  left: 46%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}
.coupon-notch--top { top: -14px; }
.coupon-notch--bottom { bottom: -14px; }

.coupon-perf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}
.coupon-perf span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
}

.coupon-left {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.coupon-left h2 {
  font-size: var(--step-head);
  line-height: 0.96;
  max-width: 12ch;
  color: var(--ink-on-dark);
}

.coupon-address {
  color: var(--muted-on-dark);
  font-size: var(--step-small);
}

.coupon-right {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coupon-field {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  background: var(--dark-surface);
  color: var(--ink-on-dark);
  border: 0;
  font-size: var(--step-body);
}
.coupon-field::placeholder {
  color: var(--muted-on-dark);
}

textarea.coupon-field {
  min-height: 92px;
  resize: vertical;
}

.coupon-submit {
  width: 100%;
  min-height: 56px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: var(--step-body);
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.coupon-submit:hover { background: var(--accent-strong); }
.coupon-submit:active { transform: scale(0.99); }

.coupon-status {
  margin-top: 0.5rem;
  font-size: var(--step-small);
  color: var(--ink-on-dark);
}

@media (max-width: 48em) {
  .coupon {
    grid-template-columns: minmax(0, 1fr);
  }
  .coupon-notch--top,
  .coupon-notch--bottom {
    display: none;
  }
  .coupon-perf {
    flex-direction: row;
    padding: 0 20px;
    height: 16px;
  }
}

/* ---------- 6. Footer: The mark, built large ---------- */
.site-footer {
  background: var(--dark);
  color: var(--ink-on-dark);
  padding-bottom: 2.5rem;
}

.footer-inner {
  padding-inline: var(--margin);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-mark {
  width: 100%;
  height: clamp(6rem, 20svh, 14rem);
  display: block;
}

.footer-cols {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem var(--gutter);
}

.footer-nav-col {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: var(--step-small);
}

.footer-nav-col h3 {
  font-size: var(--step-small);
  color: var(--muted-on-dark);
  margin-bottom: 0.25rem;
}

.footer-meta-col {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: var(--step-small);
  color: var(--muted-on-dark);
}

.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--step-small);
  color: var(--muted-on-dark);
}

.footer-credits {
  margin-top: 1.5rem;
  font-size: var(--step-small);
  color: var(--muted-on-dark);
}

@media (max-width: 64em) {
  .footer-nav-col {
    grid-column: span 3;
  }
  .footer-meta-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48em) {
  .footer-nav-col {
    grid-column: span 6;
  }
  .footer-meta-col {
    grid-column: 1 / -1;
  }
}
