:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --bg-soft-alt: #f9fafb;
  --border: #dde1ee;
  --border-soft: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #e0edff;
  --accent-soft-alt: #eef2ff;
  --brand: #2563eb; /* agora alinhado com o azul da página Sobre */
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.ep-page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.ep-site-header {
  background: #ffffff;
  color: #111827;
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.ep-site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ep-site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ep-site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.ep-site-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.ep-site-tagline {
  font-size: 0.8rem;
  color: #6b7280;
}

.ep-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.ep-site-nav a {
  color: #111827;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ep-site-nav a:hover {
  background: #e5edff;
  color: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .ep-site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* MAIN */
.ep-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ep-main-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 640px) {
  .ep-main-inner {
    padding: 20px 12px 32px;
    gap: 32px;
  }
}

.ep-section {
  width: 100%;
}

.ep-section-header {
  margin-bottom: 18px;
}

.ep-section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 4px;
}

.ep-section-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: #111827;
}

.ep-section-subtitle {
  margin: 4px 0 0;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 620px;
}

/* HERO */
.ep-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 360px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
  color: #ffffff;
}

.ep-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ep-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.35));
  z-index: 1;
}

.ep-hero-inner {
  position: relative;
  z-index: 2;
  padding: 32px 32px 34px;
  max-width: 720px;
}

.ep-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.08);
  border: 1px solid rgba(209, 213, 219, 0.4);
  margin-bottom: 10px;
}

.ep-hero-title {
  margin: 0 0 8px;
  font-size: 2.4rem;
  font-weight: 700;
}

.ep-hero-subtitle {
  margin: 0;
  font-size: 1rem;
  max-width: 560px;
  color: #f9fafb;
}

.ep-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: #d1d5db;
}

.ep-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ep-hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #bfdbfe;
}

.ep-hero-cta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* CTA principal agora azul, alinhado com a página Sobre */
.ep-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #f9fafb;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.45);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.1s ease;
}

.ep-hero-cta-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.65);
}

.ep-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.85);
  background: rgba(15, 23, 42, 0.45);
  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}

.ep-hero-cta-secondary:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: #f9fafb;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .ep-hero {
    min-height: 0;
  }
  .ep-hero-inner {
    padding: 22px 18px 24px;
  }
  .ep-hero-title {
    font-size: 1.9rem;
  }
  .ep-hero-subtitle {
    font-size: 0.96rem;
  }
}

/* BENEFÍCIOS */
.ep-benefits {
  background: var(--bg-soft);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  padding: 26px 24px 24px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.ep-benefits-title {
  margin: 0 0 2px;
  font-size: 1.6rem;
  color: #111827;
}

.ep-benefits-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 6px;
}

.ep-benefits-subtitle {
  margin: 4px 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
}

.ep-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .ep-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ep-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.ep-benefit-card {
  padding: 16px 14px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ep-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 4px;
}

.ep-benefit-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ep-benefit-text {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* DIFERENCIAIS */
.ep-diffs {
  border-radius: 22px;
  background: linear-gradient(135deg, #283a6099, #1d4ed8);
  color: #ffffff;
  padding: 26px 26px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

@media (max-width: 900px) {
  .ep-diffs {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ep-diffs-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.ep-diffs-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.ep-diffs-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .ep-diffs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ep-diffs-grid {
    grid-template-columns: 1fr;
  }
}

.ep-diff-item-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.ep-diff-item-text {
  margin: 0;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.ep-diffs-image-wrapper {
  border-radius: 26px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.55);
}

.ep-diffs-image {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* CATEGORIAS */
.ep-categories {
  padding: 4px 0 0;
}

.ep-categories-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .ep-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ep-categories-grid {
    grid-template-columns: 1fr;
  }
}

.ep-category-card {
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: #ffffff;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.ep-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.ep-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.8);
}

.ep-category-card:hover::after {
  opacity: 1;
}

.ep-category-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.ep-category-title {
  margin: 2px 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
}

.ep-category-text {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #4b5563;
}

.ep-category-cta {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  text-decoration: none;
}

.ep-category-cta span {
  font-size: 1.1rem;
}

.ep-category-cta:hover {
  text-decoration: underline;
}

/* SOBRE (SNIPPET) */
.ep-about-snippet {
  border-radius: 22px;
  background: linear-gradient(135deg, #283a6099, #1d4ed8);
  color: #ffffff;
  padding: 24px 24px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

@media (max-width: 900px) {
  .ep-about-snippet {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ep-about-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.ep-about-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
}

.ep-about-text {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: #f9fafb;
}

.ep-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  color: #111827;
  background: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease;
}

.ep-about-cta:hover {
  background: #ffffff;
  color: #111827;
  transform: translateY(-1px);
}

.ep-about-image-wrapper {
  border-radius: 26px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.55);
}

.ep-about-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

/* POSTS RECENTES */
.ep-latest-posts-header {
  text-align: left;
  margin-bottom: 18px;
}

.ep-latest-posts-header .ep-section-kicker {
  margin-bottom: 4px;
}

.ep-latest-posts-header .ep-section-title {
  font-size: 1.6rem;
}

.ep-latest-posts-header .ep-section-subtitle {
  max-width: 720px;
  margin: 4px 0 0;
  text-align: left;
}

.ep-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .ep-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ep-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards de posts (home) */
.ep-post-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
  cursor: pointer;
}

.ep-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.6);
}

.ep-post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.ep-post-card h2,
.ep-post-card h3,
.ep-post-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ep-post-card p,
.ep-post-card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.ep-post-card-meta {
  margin-top: 4px;
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ep-post-card-link:hover h2,
.ep-post-card-link:hover h3,
.ep-post-card-link:hover .ep-post-card-title {
  text-decoration: underline;
}

.ep-latest-posts-footer {
  margin-top: 18px;
  text-align: center;
}

.ep-latest-posts-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}

.ep-latest-posts-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

/* FOOTER */
.ep-site-footer {
  margin-top: auto;
  background: #f3f4f6;
  color: #4b5563;
  padding: 16px 16px 20px;
  font-size: 0.85rem;
  border-top: 1px solid #e5e7eb;
}

.ep-site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-site-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.ep-site-footer a {
  color: #111827;
  text-decoration: none;
}

.ep-site-footer a:hover {
  text-decoration: underline;
}

.ep-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}