/* ═══════════════════════════════════════════════
   SERVICOS.CSS — Rafaella Araújo Psicóloga
   Página Serviços
   ═══════════════════════════════════════════════ */

/* ── HERO SERVIÇOS ── */
.hero-servicos {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 60px 24px;
}

.hero-servicos-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/fundo-heros.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Camada: #EBC2BF com 85% de opacidade — igual à página Sobre */
.hero-servicos-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(235, 194, 191, 0.85);
  z-index: 1;
}

.hero-servicos-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-servicos-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.25em;
  color: var(--texto-escuro, #4A3030);
  display: block;
  margin-bottom: 25px;
}

.hero-servicos-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--texto-medio, #5C3A3A);
  max-width: 900px;
  line-height: 1.35;
}

/* ── SEÇÃO: PSICÓLOGA ONLINE ── */
/* Mesmo formato da seção Atuação da página Sobre, mas sem imagem de fundo */
.psicologa-online-section {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 600px;
}

/* Lado esquerdo: imagem */
.psicologa-online-left {
  flex: 1;
  position: relative;
  max-width: 50%;
  display: flex;
}

.psicologa-online-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradiente que funde a foto com o lado direito */
.psicologa-online-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 250px;
  background: linear-gradient(to right,
      rgba(253, 222, 220, 0) 0%,
      rgba(253, 222, 220, 0.3) 30%,
      rgba(253, 222, 220, 0.7) 70%,
      #FDDEDC 100%);
  z-index: 2;
  pointer-events: none;
}

/* Lado direito: texto — cor sólida (#FDDEDC) sem imagem de fundo */
.psicologa-online-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 60px 80px 60px;
  background-color: #FDDEDC;
}

.psicologa-online-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
}

/* Título principal da seção */
.ps-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #613A3A;
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Parágrafo descritivo */
.ps-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #613A3A;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Subtítulo "Você não precisa enfrentar isso sozinha" */
.ps-subtitulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #613A3A;
  margin-bottom: 18px;
  line-height: 1.3;
}

/* Grid de cards — flex com wrap para tamanho natural por conteúdo */
.ps-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* Card individual — tamanho baseado no conteúdo, sem quebra de linha */
.ps-card {
  background: #ffe3e2;
  border: 1px solid #613A3A;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: #613A3A;
  white-space: nowrap;
  /* Impede quebra de linha dentro do card */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Não encolhe */
  transition: background 0.25s ease, transform 0.25s ease;
}

.ps-card:hover {
  background: rgba(254, 238, 237, 1);
  transform: translateY(-2px);
}

/* Texto de fechamento */
.ps-closing {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: #613A3A;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Botões */
.ps-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}



/* ── SEÇÃO: ACOMPANHAMENTO PSICOTERAPÊUTICO INDIVIDUAL ── */
.acomp-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.acomp-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/fundo-florido.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.acomp-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(243, 182, 178, 0.70);
  /* #F3B6B2 @ 70% */
  z-index: 1;
}

.acomp-inner {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Cabeçalho: título + descrição centralizado */
.acomp-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.acomp-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #3E2020;
  line-height: 1.2;
  margin-bottom: 22px;
}

.acomp-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  font-weight: 400;
  color: #4A3030;
  line-height: 1.8;
  margin: 0;
}

/* Corpo: imagem + coluna direita */
.acomp-body {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* -- Imagem à esquerda -- */
.acomp-img-wrap {
  flex: 0 0 auto;
  width: 380px;
  max-width: 42%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sombra elíptica flutuante abaixo da imagem */
.acomp-img-wrap::after {
  content: '';
  display: block;
  width: 70%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(62, 32, 32, 0.28) 0%, transparent 75%);
  margin-top: -8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: acomp-float 4s ease-in-out infinite;
}

.acomp-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(62, 32, 32, 0.18));
  animation: acomp-float 4s ease-in-out infinite;
}

@keyframes acomp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* -- Coluna direita: features + botão -- */
.acomp-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Lista de features */
.acomp-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.acomp-feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Círculo de fundo do ícone */
.acomp-icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #8A5A5A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(138, 90, 90, 0.25);
  transition: transform 0.25s ease;
}

.acomp-feature-item:hover .acomp-icon-wrap {
  transform: scale(1.08);
}

.acomp-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  /* torna os SVGs brancos */
}

.acomp-feature-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #3E2020;
  line-height: 1.5;
}

/* Botão */
.acomp-btn-wrap {
  display: flex;
}

/* ── SEÇÃO: PARA QUEM É ── */
.pq-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.pq-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/fundo-florido.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.pq-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 242, 242, 0.70);
  /* #FFF2F2 @ 70% */
  z-index: 1;
}

.pq-inner {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.pq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pq-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #3E2020;
  line-height: 1.2;
  margin-bottom: 18px;
}

.pq-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  font-weight: 400;
  color: #4A3030;
  line-height: 1.8;
  margin: 0;
}

/* Grid de cards — 2 colunas */
.pq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Card */
.pq-card {
  background: #ffe3e2;
  border: 1px solid #613A3A;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.pq-card:hover {
  background: rgba(254, 238, 237, 1);
  transform: translateY(-2px);
}

/* Check — círculo */
.pq-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #8A5A5A;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pq-card-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #613A3A;
  line-height: 1.55;
}

/* ── SEÇÃO: ABORDAGEM TERAPÊUTICA ── */
.abord-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.abord-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/fundo-florido.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.abord-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(243, 182, 178, 0.70);
  /* #F3B6B2 @ 70% */
  z-index: 1;
}

.abord-inner {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.abord-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #3E2020;
  line-height: 1.2;
  margin-bottom: 28px;
}

.abord-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #4A3030;
  line-height: 1.85;
  margin: 0;
}

.abord-desc--gap {
  margin-top: 18px;
}

.abord-btn-wrap {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

/* ── SEÇÃO: TERAPIA ── */
.terapia-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.terapia-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/fundo-florido.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.terapia-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 244, 243, 0.70); /* #FFF4F3 com 70% de transparência */
  z-index: 1;
}

.terapia-inner {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.terapia-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.terapia-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #613A3A;
  line-height: 1.25;
  margin-bottom: 22px;
}

.terapia-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #613A3A;
  line-height: 1.8;
  margin: 0;
}

/* Grid de cards — 3 colunas */
.terapia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 60px;
  justify-items: center;
  margin-top: 10px;
}

/* Card */
.terapia-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
}

/* Circle */
.terapia-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A29F89, #626154);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0px 8px 18px rgba(98, 97, 84, 0.3);
  transition: transform 0.3s ease;
}

.terapia-card:hover .terapia-circle {
  transform: translateY(-5px);
}

/* SVG Colors */
.terapia-icon {
  width: 65px;
  height: 65px;
  filter: brightness(0) invert(0.95) sepia(10%) saturate(40%) hue-rotate(350deg);
}

.terapia-card-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #613A3A;
  line-height: 1.5;
  margin: 0;
}

.modalidades-section {
  background-color: #FDDEDC;
}

/* ── SEÇÃO: FAQ ── */
.faq-section {
  background-color: #EBC2BF;
  padding: 100px 24px;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #613A3A;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.25;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  overflow: hidden;
  background-color: #FDDEDC;
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  background-color: #B2B1A1;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #613A3A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

details[open] .faq-summary::after {
  content: '\00d7'; /* multiply sign, x */
  font-size: 1.8rem;
  font-weight: 400;
}

.faq-content {
  padding: 24px;
  background-color: #FDDEDC;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #613A3A;
  line-height: 1.6;
}

.faq-content p {
  margin: 0;
}

/* ── RESPONSIVO ── */
@media (max-width: 1100px) {

  .psicologa-online-section {
    flex-direction: column;
    min-height: auto;
  }

  .psicologa-online-left,
  .psicologa-online-img {
    height: 450px !important;
  }

  .psicologa-online-left {
    max-width: 100%;
    overflow: hidden;
  }

  /* Gradiente vira vertical — funde imagem com o bloco de texto abaixo */
  .psicologa-online-gradient {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom,
        rgba(253, 222, 220, 0) 0%,
        rgba(253, 222, 220, 0.3) 30%,
        rgba(253, 222, 220, 0.7) 70%,
        #FDDEDC 100%);
  }

  .psicologa-online-right {
    padding: 60px 30px 80px 30px;
    justify-content: center;
    text-align: center;
  }

  .psicologa-online-content {
    max-width: 100%;
    text-align: center;
  }

  .ps-cards-grid {
    gap: 10px;
    justify-content: center;
  }

  .ps-buttons {
    justify-content: center;
  }



  /* Acomp section — tablet */
  .acomp-section {
    padding: 80px 24px;
  }

  .acomp-body {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .acomp-img-wrap {
    width: 100%;
    max-width: 420px;
  }

  .acomp-right {
    width: 100%;
    align-items: center;
  }

  .acomp-features {
    width: 100%;
    max-width: 500px;
  }

  .acomp-feature-item {
    text-align: left;
  }

  .acomp-btn-wrap {
    justify-content: center;
  }

  /* Para Quem — tablet */
  .pq-section {
    padding: 80px 24px;
  }

  .pq-grid {
    grid-template-columns: 1fr;
  }

  /* Abordagem — tablet */
  .abord-section {
    padding: 80px 24px;
  }

  /* Terapia — tablet */
  .terapia-section {
    padding: 80px 24px;
  }
  .terapia-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 50px;
  }

  /* FAQ — tablet */
  .faq-section {
    padding: 80px 24px;
  }
}

@media (max-width: 768px) {
  .hero-servicos-title {
    font-size: 1.8rem;
  }

  .hero-servicos-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .psicologa-online-left,
  .psicologa-online-img {
    height: 350px !important;
  }

  .psicologa-online-right {
    padding: 40px 20px 60px 20px;
  }

  .ps-cards-grid {
    gap: 8px;
    justify-content: center;
  }

  .ps-card {
    font-size: 0.82rem;
    padding: 9px 16px;
  }

  .ps-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }



  /* Acomp section — mobile */
  .acomp-section {
    padding: 60px 20px;
  }

  .acomp-header {
    text-align: center;
  }

  .acomp-titulo {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .acomp-img-wrap {
    max-width: 320px;
  }

  .acomp-feature-text {
    font-size: 0.88rem;
  }

  .acomp-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .acomp-icon {
    width: 20px;
    height: 20px;
  }

  /* Para Quem — mobile */
  .pq-section {
    padding: 60px 20px;
  }

  .pq-titulo {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .pq-card {
    padding: 14px 16px;
  }

  .pq-card-text {
    font-size: 0.85rem;
  }

  /* Abordagem — mobile */
  .abord-section {
    padding: 60px 20px;
  }

  .abord-titulo {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .abord-desc {
    font-size: 0.88rem;
  }

  /* Terapia — mobile */
  .terapia-section {
    padding: 60px 20px;
  }
  .terapia-titulo {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
  .terapia-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .terapia-circle {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }
  .terapia-icon {
    width: 55px;
    height: 55px;
  }

  /* FAQ — mobile */
  .faq-section {
    padding: 60px 20px;
  }
  .faq-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    margin-bottom: 30px;
  }
  .faq-summary {
    font-size: 0.95rem;
    padding: 16px 20px;
  }
  .faq-content {
    font-size: 0.88rem;
    padding: 20px;
  }
}