/* ============================================================
   sections.css — Layouts específicos de cada seção
   ============================================================ */

/* ---- 02 · Sobre o colégio ---- */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
}

.sobre-media {
  position: relative;
}

.sobre-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-16px, 16px);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-xl);
  pointer-events: none;
}

.sobre-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 3.6;
  background: var(--bg-2);
}

.sobre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.sobre-media figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.sobre-copy p + p {
  margin-top: var(--space-2);
}

/* ---- 04 · Proposta pedagógica (seção escura) ---- */
.section-dark {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.82);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--on-dark-accent);
}

.proposta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.proposta-intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.proposta-intro .lead {
  margin-top: var(--space-2);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.fund-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.fund-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.fund-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--on-dark-accent);
  line-height: 1.2;
}

.fund-list strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.fund-list span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.proposta-note {
  margin-top: var(--space-4);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.proposta-note svg {
  width: 24px;
  height: 24px;
  color: var(--on-dark-accent);
  flex: none;
  margin-top: 2px;
}

.proposta-note p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---- 06 · Etapas ---- */
.stages-note {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.stages-note svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* ---- 07–09 · Infraestrutura ---- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

/* ---- 10 · Atividades complementares ---- */
.atividades-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}

.atividades-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.atividades-panel h3 {
  margin-bottom: var(--space-2);
}

/* ---- 11 · Sustentabilidade ---- */
.section-sustentavel {
  background: linear-gradient(180deg, rgba(135, 32, 36, 0.08), rgba(135, 32, 36, 0.04));
}

.sust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.sust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
}

.sust-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex: none;
  margin-top: 2px;
}

.sust-item strong {
  font-size: 0.95rem;
  color: var(--heading);
}

/* ---- 12 · Inclusão ---- */
.inclusao-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}

.inclusao-panel {
  background: var(--wine-tint);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.inclusao-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.inclusao-panel ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin-top: var(--space-3);
  display: grid;
  gap: 12px;
}

.inclusao-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading);
}

.inclusao-panel li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex: none;
  margin-top: 2px;
}

/* ---- 14 · Relacionamento com as famílias ---- */
.familias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

/* ---- 15 · Agendamento de visita + formulário ---- */
.visita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.visita-info .check-list {
  grid-template-columns: 1fr;
  margin-top: var(--space-3);
}

.address-card {
  margin-top: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-sm);
}

.address-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.address-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.address-line svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex: none;
  margin-top: 2px;
}

.address-line address {
  font-style: normal;
  font-size: 0.98rem;
  color: var(--heading);
  line-height: 1.55;
}

.address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-3);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
