/* ============================================================
   COLÉGIO ALTERNATIVO — ambientes.css
   Estilos específicos desta página. Requer base.css.
   ============================================================ */

/* ─── Seção Ambientes ─── */
.amb-section { padding: 4.5rem 0 5.5rem; background: var(--white); }
.amb-intro { max-width: 760px; margin: 0 auto 3.6rem; text-align: center; }
.amb-intro .section-title { margin-top: 0.4rem; }
.amb-intro p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; max-width: 640px; margin: 0 auto; }

.amb-list { display: flex; flex-direction: column; gap: 4rem; }
.amb-row { display: flex; flex-direction: column; gap: 1.4rem; }
.amb-col-media { min-width: 0; }
.amb-head { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.05rem; }
.amb-index { font-weight: 800; font-size: 1rem; color: var(--sky); letter-spacing: 0.06em; line-height: 1; flex-shrink: 0; }
.amb-name { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); }
.amb-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/10; background: var(--ice); }
.amb-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.amb-row:hover .amb-media img { transform: scale(1.045); }
.amb-text { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.amb-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.amb-tag::before { content: ''; width: 24px; height: 2.5px; border-radius: 2px; background: var(--sky); }
.amb-desc { font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); max-width: 48ch; text-wrap: pretty; }

/* ─── Foto em breve ─── */
.amb-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; text-align: center; padding: 1.5rem; background: linear-gradient(135deg, #EAF6FD, #D3EBF8); border: 2px dashed var(--sky-soft); }
.amb-soon svg { width: 42px; height: 42px; stroke: var(--sky); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.amb-soon-label { font-weight: 800; font-size: 0.98rem; color: var(--sky); letter-spacing: 0.02em; }
.amb-soon-sub { font-size: 0.82rem; color: var(--ink-3); max-width: 26ch; line-height: 1.5; }

.hide-num .amb-index { display: none; }
.sharp .amb-media { border-radius: 0; }

/* ─── Desktop (≥900px) ─── */
@media (min-width: 900px) {
  .amb-list { gap: 5.5rem; }
  .amb-row { flex-direction: row; align-items: center; gap: 3.5rem; }
  .amb-row:nth-child(even) { flex-direction: row-reverse; }
  .amb-col-media { flex: 1 1 56%; }
  .amb-text { flex: 1 1 44%; }
}

/* ─── Variante B — Editorial sobreposto ─── */
.v-b .amb-name { font-size: clamp(1.7rem, 5.4vw, 2.3rem); }
@media (min-width: 900px) {
  .v-b .amb-list { gap: 6.5rem; }
  .v-b .amb-row { gap: 0; align-items: center; }
  .v-b .amb-col-media { flex: 1 1 62%; }
  .v-b .amb-media { aspect-ratio: 4/3; }
  .v-b .amb-name { font-size: clamp(2rem, 3.4vw, 2.9rem); }
  .v-b .amb-head { margin-bottom: 1.2rem; }
  .v-b .amb-text { flex: 1 1 42%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 2.4rem; margin-left: -6rem; position: relative; z-index: 4; }
  .v-b .amb-row:nth-child(even) .amb-text { margin-left: 0; margin-right: -6rem; }
  .v-b.sharp .amb-text { border-radius: 0; }
}

@media (max-width: 560px) {
  .amb-media { aspect-ratio: 4/3; }
}
