/* ===========================
   INDEX - Página Inicial
   =========================== */

/* Seção Hero (Boas-vindas) */
.hero {
  padding-top: 2.5rem;       /* py-10 */
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 3.75rem;    /* md:py-15 */
    padding-bottom: 3.75rem;
  }
}

/* Textura de fundo (mandala) no hero */
.hero__textura {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/textura.webp');
  background-repeat: repeat;
  background-position: center;
  background-size: 300px;
  opacity: 0.06;
  pointer-events: none;
}

/* Container do hero */
.hero__container {
  max-width: 80rem;          /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px) {
  .hero__container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Layout flexível do hero */
.hero__layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;              /* lg:gap-12 */
  }
}

/* Apresentação da Mariana (coluna esquerda) */
@media (min-width: 1024px) {
  .hero__apresentacao {
    grid-column: 1;
    align-self: end;
  }

  .hero__cta-bloco {
    align-self: start;
  }
}

/* Título: quem ela é e o que faz */
.hero__titulo {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

/* Frase acolhedora (destaque principal) */
.hero__frase {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero__frase {
    font-size: 2.5rem;
  }
}

/* Texto de apresentação */
.hero__texto {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Bloco de CTA (frase + botão) */
.hero__cta-bloco {
  grid-column: 1;
}

/* Botão principal do hero (CTA) */
.hero__botao,
.contato__botao {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;       /* px-8 py-4 */
  background-color: #2563eb;
  color: #ffffff;
  font-size: 1.25rem;       /* text-xl */
  font-weight: 600;         /* font-semibold */
  border-radius: 0.75rem;   /* rounded-xl */
  box-shadow: 0 20px 25px -5px rgba(37,99,235,0.4), 0 8px 10px -6px rgba(37,99,235,0.4);
  transition: background-color 300ms ease, transform 300ms ease;
  text-decoration: none;
  animation: pulse-animation 2s ease-in-out infinite;
}
.hero__botao:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
}

/* Ícone do WhatsApp dentro dos botões */
.hero__botao-icone {
  width: 1.75rem;
  height: 1.75rem;
}

/* Animação de pulso para o botão */
@keyframes pulse-animation {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Container da imagem do hero (no celular, depois do botão) */
.hero__imagem-container {
  order: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero__imagem-container {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
  }
}

/* Imagem do hero */
.hero__imagem {
  width: 100%;
  max-width: 28rem;         /* max-w-md */
  border-radius: 0.75rem;   /* rounded-xl */
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}
@media (min-width: 1024px) {
  .hero__imagem {
    max-width: 36rem;       /* lg:max-w-xl */
  }
}

/* ===========================
   CITAÇÃO DE JUNG
   =========================== */

.citacao {
  padding: 1rem 1rem 0;
}

.citacao__card {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.citacao__texto {
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
  color: #374151;
}
@media (min-width: 768px) {
  .citacao__texto {
    font-size: 1.625rem;
  }
}

.citacao__autor {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
}

/* ===========================
   SEÇÃO DE CONTATO/MENSAGEM
   =========================== */

/* Seção de contato */
.contato {
  padding-top: 4rem;        /* py-16 */
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .contato {
    padding-top: 6rem;      /* md:py-24 */
    padding-bottom: 6rem;
  }
}

/* Container da seção de contato */
.contato__container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px) {
  .contato__container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .contato__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Card de mensagem */
.contato__card {
  background-color: #2563eb;
  color: #ffffff;
  padding: 2.5rem;          /* p-10 */
  border-radius: 1.5rem;    /* rounded-3xl */
  box-shadow: 0 25px 50px -12px rgba(37,99,235,0.5);
}
@media (min-width: 768px) {
  .contato__card {
    padding: 4rem;          /* md:p-16 */
  }
}

/* Título da mensagem */
.contato__titulo {
  font-size: 2.25rem;       /* text-4xl */
  font-weight: 800;         /* font-extrabold */
  margin-bottom: 1.5rem;    /* mb-6 */
}

/* Parágrafo padrão */
.contato__paragrafo {
  font-size: 1.125rem;      /* text-lg */
  margin-bottom: 1rem;      /* mb-4 */
  line-height: 1.75;
}

/* Parágrafo de fechamento (em destaque) */
.contato__paragrafo--fechamento {
  font-size: 1.25rem;       /* text-xl */
  font-weight: 600;         /* font-semibold */
  line-height: 1.75;
}

/* Botão no fim da mensagem (fundo azul: botão branco) */
.contato__botao {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #ffffff;
  color: #1d4ed8;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: transform 300ms ease;
}
.contato__botao:hover {
  transform: scale(1.05);
}

/* ===========================
   POSTS PREVIEW (se houver na home)
   =========================== */

/* Card de post (gerado via JS) */
.home-posts__artigo {
  display: block;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 200ms ease;
  text-decoration: none;
}
.home-posts__artigo:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Imagem do post */
.home-posts__artigo-imagem {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  display: block;
}

/* Corpo do card */
.home-posts__artigo-corpo {
  padding: 1rem;
}

/* Título do post */
.home-posts__artigo-titulo {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Resumo/excerpt */
.home-posts__artigo-resumo {
  font-size: 0.875rem;
  color: #4B5563;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* Meta informações (data, leia mais) */
.home-posts__artigo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6B7280;
}

/* Link "Leia mais" */
.home-posts__artigo-leia-mais {
  color: #3b82f6;
  font-weight: 500;
}

/* Mensagem de erro */
.home-posts__mensagem {
  text-align: center;
  color: #6B7280;
  padding: 2rem 0;
}

/* ===========================
   FIM INDEX
   =========================== */