/* ===========================
   Garcia Tavares Santos
   CSS do Artigo (página interna)
   =========================== */

/* ===========================
   Container Principal
   =========================== */
.article {
  padding-top: 24px;
  background-color: #fff;
}

.article__container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  overflow: clip;
}

/* ===========================
   Imagem de Destaque
   =========================== */
.article__hero-image {
  width: 100%;
  overflow: hidden;
}

.article__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===========================
   Corpo do Artigo
   =========================== */
.article__body {
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===========================
   Título do Artigo
   =========================== */
.article__title {
  font-family: 'Switzer', sans-serif;
  font-size: 32px;
  font-weight: 200;
  color: #050505;
  line-height: 1.3;
  text-align: left;
}

/* ===========================
   Tag de Categoria
   =========================== */
.article__category {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #050505;
  line-height: 1.5;
  background-color: rgba(186, 186, 186, 0.29);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 24px;
  align-self: flex-start;
}

.article__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #666;
}

.article__category-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article__category-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #141414;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
}

/* ===========================
   Texto do Artigo
   =========================== */
.article__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article__content p {
  font-family: 'Switzer', sans-serif;
  font-size: 21px;
  font-weight: 300;
  color: #050505;
  line-height: 1.5;
  text-align: justify;
}

.article__content h2,
.article__content h3,
.article__content h4 {
  font-family: 'Anta', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: #141414;
}

.article__content h2 {
  font-size: 28px;
}

.article__content h3 {
  font-size: 24px;
}

.article__content h4 {
  font-size: 20px;
}

.article__content ul,
.article__content ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article__content li,
.article__content a,
.article__content blockquote {
  font-family: 'Switzer', sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
}

.article__content blockquote {
  border-left: 4px solid rgb(234, 176, 73);
  padding-left: 18px;
  color: #444;
}

.article__content a {
  text-decoration: underline;
}

/* ===========================
   Assinatura do Autor
   =========================== */
.article__author {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article__author-name {
  font-family: 'Switzer', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #050505;
  line-height: 1.5;
}

.article__author-role {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #050505;
  line-height: 1.5;
}

.article__author-contact {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #050505;
  line-height: 1.5;
}

/* ===========================
   Botão CTA (Falar com especialista)
   =========================== */
.article__cta {
  display: block;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #161515;
  text-transform: capitalize;
  line-height: 26px;
  background-color: rgb(234, 176, 73);
  border-radius: 30px;
  padding: 14px 32px;
  margin: 0 64px 48px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.article__cta:hover {
  background-color: rgb(220, 160, 55);
  transform: translateY(-2px);
  opacity: 1;
}

/* ===========================
   Footer do Artigo
   =========================== */
.footer-article {
  background-color: #141414;
  color: #fff;
}

.footer-article__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
}

.footer-article__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-article__heading {
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  text-transform: lowercase;
}

.footer-article__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-article__link {
  font-family: 'Switzer', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.footer-article__link:hover {
  color: #fff;
  opacity: 1;
}

.footer-article__link svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.footer-article__list--contact {
  gap: 12px;
}

.footer-article__list--contact li {
  font-family: 'Switzer', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.footer-article__list--contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(255, 255, 255, 0.7);
}

.footer-article__logo {
  display: flex;
  align-items: flex-start;
}

.footer-article__logo img {
  height: 50px;
  width: auto;
}

/* Linha separadora + rodapé inferior */
.footer-article__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-article__bottom p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   Responsivo - Tablet
   =========================== */
@media (max-width: 1199px) {
  .article__body {
    padding: 36px 40px;
  }

  .article__title {
    font-size: 28px;
  }

  .article__content p {
    font-size: 18px;
  }

  .article__content li,
  .article__content a,
  .article__content blockquote {
    font-size: 18px;
  }

  .article__cta {
    margin: 0 40px 36px;
  }

  .footer-article__container {
    padding: 36px 40px;
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-article__bottom {
    padding: 20px 40px;
  }
}

/* ===========================
   Responsivo - Mobile
   =========================== */
@media (max-width: 809px) {
  .article__body {
    padding: 28px 20px;
  }

  .article__title {
    font-size: 24px;
  }

  .article__content p {
    font-size: 16px;
  }

  .article__meta {
    gap: 10px;
  }

  .article__content li,
  .article__content a,
  .article__content blockquote {
    font-size: 16px;
  }

  .article__cta {
    margin: 0 20px 28px;
  }

  .footer-article__container {
    padding: 28px 20px;
    flex-direction: column;
    gap: 32px;
  }

  .footer-article__bottom {
    padding: 16px 20px;
  }
}

/* Subheading dentro do artigo (criado pelo gerador) */
.article__subheading {
  font-family: 'Anta', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #141414;
  margin-top: 12px;
  margin-bottom: -8px;
  letter-spacing: 0.2px;
}

/* Article CTA (Falar com especialista) — fallback se ainda não houver no main */
.article__cta {
  display: inline-block;
  align-self: flex-start;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #0a0a0a;
  padding: 14px 32px;
  border-radius: 300px;
  margin: 0 64px 64px;
  transition: background 0.3s, transform 0.2s;
}
.article__cta:hover {
  background: rgb(234,176,73);
  color: #0a0a0a;
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .article__body { padding: 32px 24px; }
  .article__cta { margin: 0 24px 48px; padding: 12px 24px; }
  .article__title { font-size: 24px; }
}
