@charset "UTF-8";

/**
 * ============================================================================
 * Quimional - Estilos para Página SEO (pg-seo.php)
 * Alinhado com o design system do site (Plus Jakarta Sans, paleta oficial)
 * ============================================================================
 */

:root {
  --seo-primary: #E3863B;
  --seo-primary-hover: #D07732;
  --seo-primary-soft: rgba(227, 134, 59, 0.08);
  --seo-primary-glow: rgba(227, 134, 59, 0.25);
  --seo-dark: #0f0f0f;
  --seo-dark-soft: #1a1a1a;
  --seo-text: #374151;
  --seo-text-muted: #6b7280;
  --seo-border: rgba(15, 15, 15, 0.08);
  --seo-radius: 12px;
}

/* Área principal da página interna SEO */
.int-page {
  background: #fbfcfd;
}

.int-page.section-padding {
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

/* Card central de conteúdo */
.seo-content-card {
  background: #ffffff;
  border: 1px solid var(--seo-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 15, 15, 0.04);
  padding: clamp(24px, 4vw, 42px);
  transition: box-shadow 0.3s ease;
}

/* Imagem de capa / destaque */
.product-details1 {
  margin-bottom: 24px;
}

.produto-imagem {
  position: relative;
  border-radius: var(--seo-radius);
  overflow: hidden;
  border: 1px solid var(--seo-border);
  background: #f1f3f5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.produto-imagem img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.produto-imagem:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   Tipografia do Conteúdo SEO (#contentExpand)
   ========================================================================== */
#contentExpand {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--seo-text);
  font-size: 1.02rem;
  line-height: 1.75;
  word-break: break-word;
}

#contentExpand h1,
#contentExpand h2,
#contentExpand h3,
#contentExpand h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--seo-dark);
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

#contentExpand h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

#contentExpand h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  position: relative;
  padding-left: 14px;
  border-left: 4px solid var(--seo-primary);
}

#contentExpand h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: #1e293b;
}

#contentExpand h4 {
  font-size: 1.05rem;
}

#contentExpand p {
  margin: 0 0 1.25rem;
  color: var(--seo-text);
}

#contentExpand strong,
#contentExpand b {
  color: var(--seo-dark);
  font-weight: 700;
}

#contentExpand a {
  color: var(--seo-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

#contentExpand a:hover {
  color: var(--seo-primary-hover);
}

#contentExpand ul,
#contentExpand ol {
  margin: 0 0 1.35rem;
  padding-left: 1.5rem;
}

#contentExpand li {
  margin-bottom: 0.55rem;
  line-height: 1.65;
}

#contentExpand ul li::marker {
  color: var(--seo-primary);
}

#contentExpand blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--seo-primary);
  background: var(--seo-primary-soft);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--seo-dark);
}

#contentExpand table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#contentExpand table th,
#contentExpand table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

#contentExpand table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--seo-dark);
}

#contentExpand table tr:nth-child(even) {
  background: #fafbfc;
}

/* ==========================================================================
   Comportamento do Bloco Expansível (#boxExpand & #contentExpand)
   ========================================================================== */
.boxExpand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

#contentExpand.collapsed {
  max-height: 480px;
  overflow: hidden;
  position: relative;
  width: 100%;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#contentExpand.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#contentExpand.expanded {
  overflow: visible;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#contentExpand.expanded::after {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Botão "Leia Mais" (.btn-expand / #expandbtn)
   Estilizado perfeitamente conforme o padrão moderno do site
   ========================================================================== */
.boxExpand .btn-expand,
.int-page .btn-expand,
#expandbtn.btn-expand {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  height: auto !important;
  margin: 22px auto 0 !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  border: 2px solid var(--seo-primary) !important;
  background: #ffffff !important;
  color: var(--seo-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(227, 134, 59, 0.16) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  z-index: 5 !important;
}

.boxExpand .btn-expand span,
.int-page .btn-expand span {
  display: inline-block !important;
  font-weight: 700 !important;
}

.boxExpand .btn-expand i,
.int-page .btn-expand i,
#expandbtn i {
  position: static !important;
  display: inline-block !important;
  font-size: 0.85rem !important;
  color: inherit !important;
  line-height: 1 !important;
  transition: transform 0.3s ease !important;
}

.boxExpand .btn-expand:hover,
.int-page .btn-expand:hover,
#expandbtn:hover {
  background: var(--seo-primary) !important;
  border-color: var(--seo-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(227, 134, 59, 0.35) !important;
}

.boxExpand .btn-expand:hover i,
.int-page .btn-expand:hover i,
#expandbtn:hover i {
  color: #ffffff !important;
}

.boxExpand .btn-expand:active,
.int-page .btn-expand:active {
  transform: translateY(0) !important;
}

/* ==========================================================================
   Sidebar Lateral (.menuLateral)
   ========================================================================== */
.menuLateral {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menuLateral.sticky-div {
  position: sticky;
  top: 100px;
}

.seo-sidebar__card {
  padding: 24px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--seo-border);
  box-shadow: 0 10px 28px rgba(15, 15, 15, 0.04);
}

.seo-sidebar__card--menu .title {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(227, 134, 59, 0.25);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--seo-dark);
}

.seo-sidebar__card--menu .title i {
  color: var(--seo-primary);
}

.seo-sidebar__card--menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Barra de rolagem discreta para lista longa */
.seo-sidebar__card--menu ul::-webkit-scrollbar {
  width: 5px;
}
.seo-sidebar__card--menu ul::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 4px;
}
.seo-sidebar__card--menu ul::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.seo-sidebar__card--menu li {
  padding: 0 !important;
  list-style: none !important;
}

.seo-sidebar__card--menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #475569;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s ease;
}

.seo-sidebar__card--menu li a span {
  flex: 1 1 auto;
  line-height: 1.4;
}

.seo-sidebar__card--menu li a i {
  font-size: 0.75rem;
  color: rgba(15, 15, 15, 0.3);
  transition: transform 0.25s ease, color 0.25s ease;
}

.seo-sidebar__card--menu li a:hover {
  background: var(--seo-primary-soft);
  color: var(--seo-primary);
  padding-left: 18px;
  font-weight: 600;
}

.seo-sidebar__card--menu li a:hover i {
  color: var(--seo-primary);
  transform: translateX(3px);
}

.seo-sidebar__card--menu li a.active {
  background: var(--seo-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(227, 134, 59, 0.35);
}

.seo-sidebar__card--menu li a.active i {
  color: #ffffff;
}

/* Card CTA da Sidebar */
.seo-sidebar__card--cta {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(181, 97, 40, 0.25) 0%, transparent 60%),
    var(--seo-dark);
  border-color: transparent;
  color: #ffffff;
}

.seo-sidebar__kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seo-primary);
}

.seo-sidebar__card--cta h3 {
  margin: 0 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.seo-sidebar__card--cta p {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.seo-sidebar__contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.seo-sidebar__contact-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Compatibilidade com classes antigas de menuLateral */
.menuLateral .title {
  border: none;
  color: var(--seo-primary);
  font-size: 1.15rem;
  font-weight: 700;
  padding-left: 0;
}

@media (max-width: 991px) {
  .int-page.section-padding {
    padding-top: 32px;
    padding-bottom: 50px;
  }

  .seo-sidebar__card--menu ul {
    max-height: 380px;
  }

  .menuLateral.sticky-div {
    position: static;
    margin-top: 30px;
  }
}