/* ============================================================
   ALEANDRO REIS ADVOCACIA — PAGES.CSS
   Estilos globais para páginas internas (Sobre, Contato, Blog, Política)
   ============================================================ */

/* ── PAGE HEADERS ── */
.page-header {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .section-tag {
  color: var(--color-gold-light);
  border-color: rgba(201, 168, 76, 0.4);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.page-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── SOBRE PAGE ── */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.4) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.premium-portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.story-image:hover .premium-portrait {
  transform: scale(1.02);
}

.story-content h2, .story-content h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
  line-height: 1.3;
}

.story-content h2 { font-size: var(--fs-2xl); font-weight: 700; margin-top: 0; }
.story-content h3 { font-size: var(--fs-xl); font-weight: 600; }
.story-content p { color: var(--color-text-muted); margin-bottom: var(--space-md); line-height: 1.6; }

.values-box {
  background: var(--color-off-white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-light-gray);
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.values-title {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 15px;
  display: inline-block;
}

.premium-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-icons li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.premium-icons li:last-child {
  margin-bottom: 0;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--color-gold);
  flex-shrink: 0;
  border: 1px solid var(--color-light-gray);
  transition: transform var(--ease-base), background-color var(--ease-base);
}

.premium-icons li:hover .icon-wrap {
  transform: translateY(-3px);
  background: var(--color-navy);
  color: var(--color-gold-light);
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
}

.premium-icons strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.premium-icons span {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info-card {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
}

.info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.info-item svg { width: 24px; height: 24px; color: var(--color-gold); flex-shrink: 0; }
.info-item p { margin: 0; color: rgba(255,255,255,0.8); line-height: 1.6; }
.info-item strong { display: block; color: var(--color-white); font-weight: 600; }

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
}

/* ── BLOG PAGE ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-light-gray);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-thumbnail {
  height: 200px;
  background: var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.blog-card:hover .blog-thumbnail img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.blog-content { padding: var(--space-lg); flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: var(--fs-xs); color: var(--color-silver); margin-bottom: var(--space-sm); }
.blog-title { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--color-navy); margin-bottom: var(--space-sm); line-height: 1.3; }
.blog-excerpt { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--space-lg); flex-grow: 1; }
.blog-readmore { font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; color: var(--color-gold); transition: color var(--ease-fast); margin-top: auto;}

/* ── PRIVACY POLICY ── */
.legal-content { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: var(--space-2xl); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--color-light-gray); }
.legal-content h2 { font-family: var(--font-heading); font-size: var(--fs-xl); color: var(--color-navy); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal-content p, .legal-content li { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-md); }
.legal-content ul { list-style: disc; padding-left: var(--space-xl); margin-bottom: var(--space-md); }

/* ── EDITORIAL BLOG POSTS ── */
.article-header { border-bottom: 1px solid var(--color-light-gray); padding-bottom: 2rem; margin-bottom: 2rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; color: var(--color-text-muted); font-size: 0.9rem; margin-top: 1rem; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--color-gold); }
.article-body h2 { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.8rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.4rem; margin-top: 1.8rem; margin-bottom: 0.8rem; }
.article-body p { font-size: 1.1rem; line-height: 1.8; color: var(--color-text-muted); margin-bottom: 1.5rem; text-align: justify; }
.article-body ul, .article-body ol { margin-left: 1.5rem; margin-bottom: 1.5rem; color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.8; }
.article-body li { margin-bottom: 0.5rem; }
.article-inline-image { width: 100%; height: auto; border-radius: var(--radius-lg); margin: 2rem 0; box-shadow: var(--shadow-sm); }
.article-blockquote { border-left: 5px solid var(--color-gold); background: var(--color-off-white); padding: 1.5rem 2rem; margin: 2rem 0; font-size: 1.25rem; font-style: italic; color: var(--color-navy); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.table-of-contents { background: var(--color-off-white); padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-light-gray); margin-bottom: 2rem; }
.table-of-contents p { font-family: var(--font-heading); font-weight: 700; color: var(--color-navy); margin-bottom: 1rem; font-size: 1.2rem; }
.table-of-contents ol { list-style: decimal; padding-left: 1.5rem; margin: 0; }
.table-of-contents a { color: var(--color-gold); text-decoration: none; transition: color var(--ease-base); }
.table-of-contents a:hover { color: var(--color-navy); text-decoration: underline; }
.author-bio-box { display: flex; flex-direction: column; gap: 1.5rem; background: var(--color-navy); color: var(--color-white); padding: 2rem; border-radius: var(--radius-xl); margin-top: 3rem; }
.author-bio-header { display: flex; gap: 1rem; align-items: center; }
.author-bio-header img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--color-gold); }
.author-bio-header h4 { font-family: var(--font-heading); color: var(--color-gold); font-size: 1.2rem; margin-bottom: 0.2rem; }
.author-bio-header span { font-size: 0.85rem; color: rgba(255,255,255,0.7); display: block; }
.author-bio-box p { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0; }

/* ── SPLIT LANDING PAGE (LIVRO) ── */
.lp-header { background: var(--color-gold); color: var(--color-navy); text-align: center; padding: 0.8rem; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 2px; }
.lp-hero { background: var(--color-navy); color: var(--color-white); padding: 5rem 0; }
.lp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lp-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.5rem; line-height: 1.1; color: var(--color-white); }
.lp-hero h1 span { color: var(--color-gold); }
.lp-hero p { font-size: 1.25rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.lp-image { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: 0 20px 40px rgba(0,0,0,0.5); object-fit: cover; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--color-gold); color: var(--color-navy); padding: 1.2rem 2.5rem; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; border-radius: 5px; text-decoration: none; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); transition: transform var(--ease-base), box-shadow var(--ease-base); }
.lp-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5); color: var(--color-navy); }
.lp-feature-section { padding: 5rem 0; background: var(--color-off-white); }
.lp-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lp-feature-grid h2 { font-family: var(--font-heading); color: var(--color-navy); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.lp-check-list { list-style: none; padding: 0; margin-top: 2rem; }
.lp-check-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--color-navy); line-height: 1.6; font-weight: 500; }
.lp-check-list svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--color-gold); margin-top: 2px; }
.lp-author { background: var(--color-white); padding: 5rem 0; text-align: center; }
.lp-author img { display: block; margin: 0 auto 2rem auto; width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: top center; border: 4px solid var(--color-gold); box-shadow: var(--shadow-md); }
.lp-author h2 { font-family: var(--font-heading); color: var(--color-navy); font-size: 2.2rem; margin-bottom: 1rem; }
.lp-author p { max-width: 800px; margin: 0 auto; font-size: 1.15rem; color: var(--color-text-muted); line-height: 1.8; }

/* ── RESPONSIVE PAGES ── */
@media (max-width: 768px) {
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .legal-content { padding: var(--space-xl); }
  .article-blockquote { padding: 1rem; font-size: 1.1rem; }
  .author-bio-header img { width: 60px; height: 60px; }
  
  .page-title { font-size: 1.75rem; line-height: 1.25; }
  .values-box { padding: var(--space-lg); }
  .story-image { display: flex; justify-content: center; }
  .sobre-img-accent { display: none; } /* Prevents overflow completely on mobile */
}
