/* ---------- ABOUT PAGE ---------- */
.about-page {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* HERO */
.about-hero {
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

/* FOTO */
.about-photo img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* TEXTO */
.section-title, .about-intro h1 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.about-intro p {
  margin-bottom: 1rem;
  color: #334155;
}

/* SEÇÕES */
.about-section {
  margin-bottom: 2.5rem;
}

.about-section h2 {
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
  text-align: center;
}

section .section-title{
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-float-text p, .about-section p {
  color: #475569;
  margin-bottom: 1rem;
}

.profile-image {
  display: flex;
  justify-content: center;
}

.profile-image img {
  max-width: 260px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.profile-image.start {
  justify-content: flex-start;
}

.profile-image.end {
  justify-content: flex-end;
  margin-top: 2rem;
}



/* DESTAQUE */
.about-highlight {
  background: #eef2ff;
  padding: 1.8rem 2rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
}


/* LISTA */
.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.about-list li::before {
  position: absolute;
  left: 0;
  color: #1e40af;
  font-weight: bold;
}
/* ABOUT TEXT */
.about-text {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.about-text p {
  font-size: 1.5rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.about-float-text {
  padding-top: 4rem; /* <-- aqui você controla o "descer" */
}

/* CTA */
.about-cta {
  text-align: center;
}

.about-cta h2 {
  margin-bottom: 0.8rem;
  color: #1e3a8a;
}

.about-cta p {
  margin-bottom: 1.5rem;
  color: #475569;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* --- FOTO FLUTUADA (TEXTO AO LADO / TEXT WRAP) --- */

.about-text-wrap::after {
  content: "";
  display: block;
  clear: both;
}

.about-float-image {
  float: left;
  width: 260px;              /* controla o tamanho */
  max-width: 40%;            /* evita estourar em telas menores */
  margin: 0 2rem 1rem 0;     /* espaço entre foto e texto */
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Mobile: imagem vira bloco e texto vai pra baixo */
@media (max-width: 768px) {
  .about-float-image {
    float: none;
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.25rem;
  }
}

/* --- PARA QUEM É A TERAPIA (CARDS) --- */

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.therapy-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.therapy-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1e40af;
  color: #fff;
  font-weight: 700;
  flex: 0 0 28px;
  margin-top: 2px;
}

.therapy-card p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

/* Responsivo */
@media (max-width: 700px) {
  .therapy-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FIM ABOUT PAGE ---------- */
@media (max-width: 915px) {
  .about-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-text {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .profile-image img {
    max-width: 220px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Mobile: ABOUT full width */
@media (max-width: 768px) {
  /* remove a limitação do container nessa página */
  main.page.about-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* seção "Quem sou eu" ocupa toda a tela */
  .container-card.card.about {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;          /* opcional: fica “tela inteira” */
  }

  /* dá respiro interno sem estreitar o card */
  .container-card.card.about {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* garante que o texto não fique espremido */
  .about-text {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .about-text p {
    font-size: 1.05rem;        /* 1.5rem no celular fica grande demais */
    line-height: 1.6;
  }

  /* sua imagem flutuante já está ok, só garantindo 100% */
  .about-float-image {
    max-width: 320px;
  }
}

.about-page .about-section > h2 {
  text-align: center;
  width: 100%;
}
