/* =========================================================
   EMASFI · Page-level styles for multi-page architecture
   ========================================================= */

/* Active state in nav */
.nav-modern-link.is-active { color: #EF6923; }
.nav-modern-link.is-active::after { transform: scaleX(1); }
.nav-modern-mobile a.is-active { color: #EF6923; font-weight: 700; }

/* =========================================================
   PAGE HERO (used on Sobre, Servicos, Blog, Contato)
   ========================================================= */
.page-hero {
  position: relative;
  background: #0E2A4A;
  color: #FFFFFF;
  padding: 120px 0 96px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(239,105,35,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(0.6);
}
/* Hero slideshow (São Paulo) — crossfade + slide-left + subtle Ken Burns zoom */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: -4% -6% -4% -4%;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.45) contrast(1.02);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 0.18;
  animation: heroKenBurns 9s ease-out both;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translateX(0); }
  to   { transform: scale(1.13) translateX(-3%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; transform: scale(1.05); }
}
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  align-items: end;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EF6923;
  margin-bottom: 24px;
}
.page-hero-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: #EF6923;
}
.page-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: #FFFFFF;
}
.page-hero-title .em { color: #EF6923; }
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0;
}
.page-hero-aside {
  border-top: 2px solid #EF6923;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-states {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-state-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(14,42,74,0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #0E2A4A;
  background: #FFFFFF;
}
.about-state-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #EF6923;
  margin-right: 9px;
}
.page-hero-aside-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.page-hero-aside-value {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

@media (max-width: 1024px) {
  .page-hero { padding: 80px 0 64px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}
.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color 160ms; }
.breadcrumbs a:hover { color: #EF6923; }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .cur { color: #FFFFFF; }

/* =========================================================
   PAGE SECTION (generic content blocks)
   ========================================================= */
.page-section {
  padding: 90px 0;
  background: #FFFFFF;
}
.page-section.alt { background: #F8F9FB; }
.page-section.dark { background: #0E2A4A; color: #FFFFFF; }

.page-section-head {
  max-width: 880px;
  margin-bottom: 56px;
}
.page-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EF6923;
  margin-bottom: 20px;
}
.page-section-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: #EF6923;
}
.page-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0E2A4A;
  margin: 0 0 20px;
}
.page-section.dark .page-section-title { color: #FFFFFF; }
.page-section-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
}
.page-section.dark .page-section-lead { color: rgba(255,255,255,0.78); }

/* =========================================================
   SERVICES INDEX (grid of 12 cards on /servicos.html)
   ========================================================= */
.services-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,42,74,0.10);
}
.service-index-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-right: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
  background: #FFFFFF;
  position: relative;
  transition: background 160ms;
  min-height: 280px;
}
.service-index-card:nth-child(3n) { border-right: none; }
.service-index-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #EF6923;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.2,0.6,0.2,1);
}
.service-index-card:hover { background: #F8F9FB; }
.service-index-card:hover::before { transform: scaleX(1); }
.service-index-card-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-bottom: 20px;
}
.service-index-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0E2A4A;
  margin: 0 0 12px;
}
.service-index-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #4B5563;
  margin: 0 0 24px;
  flex: 1;
}
.service-index-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0E2A4A;
  white-space: nowrap;
  transition: gap 200ms cubic-bezier(0.2,0.6,0.2,1), color 160ms;
}
.service-index-card:hover .service-index-card-link { color: #EF6923; gap: 16px; }

@media (max-width: 1024px) {
  .services-index-grid { grid-template-columns: repeat(2, 1fr); }
  .service-index-card:nth-child(3n) { border-right: 1px solid rgba(14,42,74,0.10); }
  .service-index-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 640px) {
  .services-index-grid { grid-template-columns: 1fr; }
  .service-index-card { border-right: none !important; }
}

/* Dark variant — applied per-card to break the rhythm */
.service-index-card-dark {
  background: linear-gradient(180deg, #0E2A4A 0%, #0B2342 100%);
  border-right-color: rgba(255,255,255,0.08) !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
  position: relative;
}
.service-index-card-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgba(239,105,35,0.10), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url%28%23n%29'/></svg>");
  pointer-events: none;
  opacity: 1;
}
.service-index-card-dark > * { position: relative; z-index: 1; }
.service-index-card-dark:hover { background: linear-gradient(180deg, #133254 0%, #0F2A4D 100%); }
.service-index-card-dark .service-index-card-num { color: rgba(255,255,255,0.45); }
.service-index-card-dark .service-index-card-title { color: #FFFFFF; }
.service-index-card-dark .service-index-card-desc { color: rgba(255,255,255,0.65); }
.service-index-card-dark .service-index-card-link { color: rgba(255,255,255,0.65); }
.service-index-card-dark:hover .service-index-card-link { color: #EF6923; }

/* =========================================================
   SERVICE DETAIL PAGE
   ========================================================= */
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 80px;
}
.service-detail-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}
.service-detail-aside h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EF6923;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.service-detail-aside ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.service-detail-aside li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: #4B5563;
  border-left: 2px solid transparent;
  transition: all 160ms;
}
.service-detail-aside li a:hover { background: #F8F9FB; border-left-color: rgba(14,42,74,0.2); }
.service-detail-aside li a.active { color: #0E2A4A; border-left-color: #EF6923; font-weight: 600; background: #F8F9FB; }

.service-detail-body h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0E2A4A;
  margin: 56px 0 20px;
}
.service-detail-body h2:first-child { margin-top: 0; }
.service-detail-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 18px;
}
.service-detail-body ul {
  margin: 0 0 24px;
  padding-left: 20px;
}
.service-detail-body ul li {
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 10px;
}
.service-detail-body ul li::marker { color: #EF6923; }

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 44px 0;
}
.service-feature {
  position: relative;
  padding: 30px 30px 32px;
  background: #fff;
  border: 1px solid rgba(14,42,74,0.12);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #EF6923;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-feature:hover {
  border-color: rgba(14,42,74,0.22);
  box-shadow: 0 20px 44px -26px rgba(14,42,74,0.4);
  transform: translateY(-3px);
}
.service-feature:hover::before { transform: scaleX(1); }
.service-feature-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: rgba(14,42,74,0.16);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.service-feature h5 {
  font-size: 18px;
  font-weight: 700;
  color: #0E2A4A;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.service-feature p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4B5563; }

.service-cta-box {
  margin-top: 56px;
  padding: 40px;
  background: #0E2A4A;
  color: #FFFFFF;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.service-cta-box::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 100%;
  background: #EF6923;
}
.service-cta-box h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: #fff;
}
.service-cta-box p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 24px; }

@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-aside { position: static; }
  .service-features { grid-template-columns: 1fr; }
}

/* =========================================================
   BLOG INDEX PAGE
   ========================================================= */
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.blog-featured-img {
  height: 480px;
  background-size: cover;
  background-position: center;
  background-color: #0E2A4A;
  position: relative;
  overflow: hidden;
}
.blog-featured-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,74,0) 50%, rgba(14,42,74,0.6) 100%);
}
.blog-featured-cat {
  position: absolute;
  top: 24px; left: 24px;
  background: #EF6923;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  z-index: 2;
}
.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 20px;
}
.blog-featured-meta .dot { width: 3px; height: 3px; background: #EF6923; border-radius: 50%; }
.blog-featured-title {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0E2A4A;
  margin: 0 0 20px;
}
.blog-featured-title a { color: inherit; transition: color 160ms; }
.blog-featured-title a:hover { color: #EF6923; }
.blog-featured-excerpt {
  font-size: 17px;
  line-height: 1.6;
  color: #4B5563;
  margin: 0 0 28px;
}
.blog-featured-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.blog-featured-author-avatar {
  width: 40px; height: 40px;
  background: #0E2A4A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.blog-featured-author-name { font-size: 13px; font-weight: 600; color: #0E2A4A; }
.blog-featured-author-role { font-size: 12px; color: #6B7280; }

@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr; gap: 32px; }
  .blog-featured-img { height: 320px; }
  .blog-featured-title { font-size: 28px; }
}

/* =========================================================
   BLOG DETAIL PAGE
   ========================================================= */
.blog-article {
  background: #FFFFFF;
  padding: 100px 0 80px;
}
.blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 760px) minmax(0, 220px);
  gap: 56px;
  margin: 0 auto;
}
.blog-article-side {
  position: sticky;
  top: 120px;
  align-self: start;
}
.blog-article-side h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EF6923;
  margin: 0 0 20px;
}
.blog-toc { display: flex; flex-direction: column; gap: 8px; }
.blog-toc a {
  font-size: 13px;
  color: #4B5563;
  padding: 6px 0 6px 14px;
  border-left: 2px solid rgba(14,42,74,0.10);
  transition: all 160ms;
}
.blog-toc a:hover { color: #0E2A4A; border-left-color: #EF6923; }

.blog-article-body {
  font-family: 'Roboto', sans-serif;
}
.blog-article-body h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0E2A4A;
  margin: 0 0 24px;
}
.blog-article-body h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0E2A4A;
  margin: 56px 0 20px;
}
.blog-article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0E2A4A;
  margin: 32px 0 12px;
}
.blog-article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: #1F2937;
  margin: 0 0 22px;
}
.blog-article-body p.lead {
  font-size: 20px;
  line-height: 1.6;
  color: #374151;
  font-weight: 400;
  margin-bottom: 32px;
}
.blog-article-body ul, .blog-article-body ol {
  font-size: 17px;
  line-height: 1.7;
  color: #1F2937;
  padding-left: 24px;
  margin: 0 0 24px;
}
.blog-article-body ul li::marker, .blog-article-body ol li::marker { color: #EF6923; }
.blog-article-body ul li, .blog-article-body ol li { margin-bottom: 8px; }
.blog-article-body blockquote {
  border-left: 3px solid #EF6923;
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: #0E2A4A;
  letter-spacing: -0.005em;
}
.blog-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.blog-article-author-avatar {
  width: 56px; height: 56px;
  background: #0E2A4A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.blog-article-cover {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  margin: 32px 0 56px;
  background-color: #0E2A4A;
}

@media (max-width: 1100px) {
  .blog-article-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .blog-article-side { display: none; }
}

/* Related posts */
.related-posts {
  background: #F8F9FB;
  padding: 80px 0;
  border-top: 1px solid rgba(14,42,74,0.10);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ABOUT (Sobre) PAGE
   ========================================================= */
.about-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  padding: 100px 0;
}
.about-manifesto-text p {
  font-size: 19px;
  line-height: 1.65;
  color: #1F2937;
  margin: 0 0 22px;
}
.about-manifesto-text p:first-of-type {
  font-size: 24px;
  font-weight: 500;
  color: #0E2A4A;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 28px;
}
.about-manifesto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 2px solid #0E2A4A;
  padding-top: 32px;
}
.about-media-band {
  margin-top: 56px;
}
.about-media-band image-slot {
  display: block;
  border: 1px solid rgba(14,42,74,0.10);
  box-shadow: 0 24px 60px -32px rgba(14,42,74,0.45);
}
.about-stat-num {
  font-family: 'Roboto', sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0E2A4A;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-num .plus { color: #EF6923; }
.about-stat-label {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .about-manifesto { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
}

/* =========================================================
   HOME — Serviços (lista compacta das 10 frentes)
   ========================================================= */
.home-serv-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  margin-top: 48px;
  border-top: 1px solid rgba(14,42,74,0.12);
}
.home-serv-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(14,42,74,0.12);
  text-decoration: none;
  position: relative;
  transition: padding-left 200ms cubic-bezier(0.2,0.6,0.2,1);
}
.home-serv-row::before {
  content: "";
  position: absolute;
  left: -4px; top: 0; bottom: -1px;
  width: 2px;
  background: #EF6923;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.2,0.6,0.2,1);
}
.home-serv-row:hover { padding-left: 14px; }
.home-serv-row:hover::before { transform: scaleY(1); }
.home-serv-row-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #A9B4C0;
  min-width: 24px;
}
.home-serv-row:hover .home-serv-row-num { color: #EF6923; }
.home-serv-row-name {
  flex: 1;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.01em;
}
.home-serv-row-arrow {
  color: #C6CED8;
  transition: color 180ms ease, transform 200ms cubic-bezier(0.2,0.6,0.2,1);
}
.home-serv-row:hover .home-serv-row-arrow { color: #EF6923; transform: translateX(4px); }
@media (max-width: 760px) {
  .home-serv-list { grid-template-columns: 1fr; column-gap: 0; }
  .home-serv-row-name { font-size: 18px; }
}

/* =========================================================
   HOME — Quem somos (bloco unificado imagem + texto)
   ========================================================= */
.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.home-about-media { position: relative; align-self: stretch; }
.home-about-media image-slot {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(14,42,74,0.10);
  box-shadow: 0 24px 60px -32px rgba(14,42,74,0.45);
}
.home-about-body .page-section-title { margin-top: 14px; }
.home-about-lead {
  font-size: 19px;
  line-height: 1.65;
  color: #4B5563;
  margin: 20px 0 0;
  max-width: 48ch;
}
.home-about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin: 32px 0;
  padding-top: 28px;
  border-top: 1px solid rgba(14,42,74,0.12);
}
@media (max-width: 1024px) {
  .home-about { grid-template-columns: 1fr; gap: 40px; }
  .home-about-media image-slot { min-height: 320px !important; }
}
@media (max-width: 560px) {
  .home-about-stats { gap: 28px; }
}

/* =========================================================
   HOME — Serviços (chamada única para todos os serviços)
   ========================================================= */
.home-services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 44px 48px;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.home-services-cta:hover {
  border-color: #EF6923;
  box-shadow: 0 24px 60px -34px rgba(14,42,74,0.4);
  transform: translateY(-2px);
}
.home-services-cta-lead { display: flex; align-items: center; gap: 30px; }
.home-services-cta-count {
  font-family: 'Roboto', sans-serif;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0E2A4A;
}
.home-services-cta-title {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0E2A4A;
  line-height: 1.2;
}
.home-services-cta-sub {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: #5A6B7E;
  margin-top: 8px;
  max-width: 48ch;
}
.home-services-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #EF6923;
  white-space: nowrap;
  transition: gap 200ms cubic-bezier(0.2,0.6,0.2,1);
}
.home-services-cta:hover .home-services-cta-link { gap: 16px; }
@media (max-width: 640px) {
  .home-services-cta { padding: 30px; gap: 24px; }
  .home-services-cta-lead { gap: 22px; }
  .home-services-cta-count { font-size: 58px; }
  .home-services-cta-title { font-size: 21px; }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 48px;
  border-left: 1px solid rgba(14,42,74,0.20);
}
.timeline-item {
  position: relative;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 6px;
  width: 12px; height: 12px;
  background: #EF6923;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 1px rgba(14,42,74,0.20);
}
.timeline-year {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #EF6923;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.timeline-title {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.timeline-desc { font-size: 15px; line-height: 1.6; color: #4B5563; margin: 0; max-width: 640px; }

/* Timeline — featured founder milestones */
.timeline-item-featured::before {
  width: 16px; height: 16px; left: -40px; top: 4px;
  box-shadow: 0 0 0 4px rgba(239,105,35,0.16), 0 0 0 1px rgba(14,42,74,0.20);
}
.timeline-feature {
  display: flex; gap: 22px; align-items: flex-start;
  margin-top: 4px; padding: 22px 26px;
  background: linear-gradient(135deg, #FFF7F1 0%, #F6F4EF 100%);
  border: 1px solid rgba(239,105,35,0.22);
  border-left: 3px solid #EF6923;
  max-width: 680px;
}
.timeline-feature-portrait {
  flex: 0 0 auto; width: 74px; height: 74px; border-radius: 50%;
  overflow: hidden; background: #0E2A4A; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 26px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(14,42,74,0.20);
}
.timeline-feature-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.timeline-feature-body { flex: 1; min-width: 0; }
.timeline-feature-person {
  font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 700; color: #0E2A4A;
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px;
}
.timeline-feature-role {
  font-size: 11.5px; font-weight: 600; color: #EF6923;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.timeline-feature .timeline-desc { max-width: none; }

/* Timeline — EMASFI Group companies */
.timeline-companies {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px; margin-top: 18px; max-width: 620px;
}
.timeline-company {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.12);
  font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 600;
  color: #0E2A4A; letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  transition: transform 240ms cubic-bezier(0.2,0.6,0.2,1), border-color 240ms ease, box-shadow 240ms ease;
}
.timeline-company-dot { width: 7px; height: 7px; border-radius: 50%; background: #EF6923; flex: 0 0 auto; position: relative; z-index: 1; }
.timeline-company-name { position: relative; z-index: 1; }
.timeline-company::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, rgba(239,105,35,0.10), transparent);
  transition: width 340ms cubic-bezier(0.2,0.7,0.2,1); z-index: 0;
}
.timeline-company:hover { transform: translateY(-3px); border-color: #EF6923; box-shadow: 0 12px 28px rgba(14,42,74,0.12); }
.timeline-company:hover::after { width: 100%; }
@media (max-width: 700px) {
  .timeline-companies { grid-template-columns: 1fr 1fr; }
  .timeline-feature { flex-direction: column; }
}

/* Careers — empty state (no open roles) */
.careers-empty {
  display: flex; gap: 26px; align-items: flex-start;
  margin-top: 8px; padding: 40px 40px;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.12);
  border-top: 3px solid #EF6923;
  max-width: 840px;
}
.careers-empty-icon { flex: 0 0 auto; color: #EF6923; margin-top: 2px; }
.careers-empty-body h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: #0E2A4A; margin: 0 0 10px;
}
.careers-empty-body p {
  font-size: 15px; line-height: 1.65; color: #4B5563;
  margin: 0 0 22px; max-width: 620px;
}
@media (max-width: 640px) {
  .careers-empty { flex-direction: column; gap: 16px; padding: 28px 24px; }
}

/* Leadership */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.leader-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: stretch;
  min-height: 210px;
  background: linear-gradient(135deg, #123356 0%, #0B2038 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(11,32,56,0.55);
  transition: transform 220ms cubic-bezier(0.2,0.6,0.2,1), box-shadow 220ms;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px -22px rgba(11,32,56,0.6);
}
.leader-photo {
  position: relative;
  background: #0A1B30;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.leader-photo.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}
.leader-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.leader-name {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.leader-role {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 14px;
  background: #EF6923;
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.leader-bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

@media (max-width: 1024px) {
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .leaders-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 104px 1fr; }
}

/* Founder feature (Liderança) */
.founder-feature {
  position: relative;
  margin: 44px 0 12px;
  overflow: hidden;
}
.founder-feature img {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 520px);
  object-fit: cover;
  object-position: 50% 30%;
}
.founder-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,42,74,0.62), rgba(14,42,74,0) 46%);
  pointer-events: none;
}
.founder-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder-caption::before {
  content: "";
  width: 34px;
  height: 3px;
  background: #EF6923;
  margin-bottom: 14px;
}
.founder-caption-name {
  color: #FFFFFF;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.founder-caption-role {
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .founder-caption { padding: 20px; }
  .founder-caption-name { font-size: 20px; }
}

/* Founder band (Quem somos) */
.founder-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.founder-portrait {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(14, 42, 74, 0.45);
}
.founder-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
}
.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 74, 0.30), rgba(14, 42, 74, 0) 52%);
  pointer-events: none;
}
.founder-band-bio {
  margin: 4px 0 0;
  color: #51606f;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  max-width: 52ch;
}
.founder-band-sign {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 42, 74, 0.12);
}
.founder-band-name {
  font-size: 19px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.01em;
}
.founder-band-role {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #EF6923;
}
/* Em memória: Sr. Camargo (foto em preto e branco, rótulo discreto) */
img[src*="sr-camargo"],
.founder-portrait::after { filter: grayscale(1); }
.in-memoriam {
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  opacity: 0.75;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .founder-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .founder-portrait { max-width: 420px; }
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(14,42,74,0.10);
}
.value-card {
  padding: 36px 28px;
  border-right: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.value-card:nth-child(4n) { border-right: none; }
.value-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #EF6923;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.value-title {
  font-size: 18px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.value-desc { font-size: 14px; line-height: 1.55; color: #4B5563; margin: 0; }

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(4n) { border-right: 1px solid rgba(14,42,74,0.10); }
  .value-card:nth-child(2n) { border-right: none; }
}

/* =========================================================
   CONTATO (Form) PAGE
   ========================================================= */
.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 80px;
  padding: 100px 0;
}
.contato-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0E2A4A;
  margin: 32px 0 16px;
  letter-spacing: -0.01em;
}
.contato-info h3:first-child { margin-top: 0; }
.contato-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.contato-channel-icon {
  width: 40px; height: 40px;
  background: #FFF1E8;
  color: #EF6923;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato-channel-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 4px;
}
.contato-channel-value {
  font-size: 16px;
  font-weight: 600;
  color: #0E2A4A;
}
.contato-channel-value a:hover { color: #EF6923; }

.contato-form {
  background: #F8F9FB;
  border: 1px solid rgba(14,42,74,0.10);
  padding: 40px;
  align-self: start;
  position: sticky;
  top: 120px;
}
.contato-form h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.contato-form-sub {
  font-size: 14px;
  color: #4B5563;
  margin: 0 0 28px;
}
.contato-field {
  margin-bottom: 20px;
}
.contato-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4B5563;
  margin-bottom: 8px;
}
.contato-field input,
.contato-field select,
.contato-field textarea {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #0E2A4A;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.18);
  padding: 12px 16px;
  border-radius: 2px;
  transition: border-color 160ms;
}
.contato-field input:focus,
.contato-field select:focus,
.contato-field textarea:focus {
  outline: none;
  border-color: #EF6923;
  box-shadow: 0 0 0 3px rgba(239,105,35,0.12);
}
.contato-field textarea { min-height: 120px; resize: vertical; }
.contato-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contato-submit {
  width: 100%;
  height: 52px;
  background: #EF6923;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contato-submit:hover { background: #D85A19; }

.contato-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.contato-office-card {
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.10);
  padding: 28px;
  position: relative;
}
.contato-office-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #EF6923;
}
.contato-office-city {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EF6923;
  font-weight: 600;
  margin-bottom: 14px;
}
.contato-office-addr {
  font-size: 14px;
  line-height: 1.6;
  color: #1F2937;
  margin: 0;
}

@media (max-width: 1024px) {
  .contato-grid { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
  .contato-form { position: static; }
  .contato-offices { grid-template-columns: 1fr; }
}

/* =========================================================
   GENERIC CTA STRIP (used at bottom of inner pages)
   ========================================================= */
.cta-strip {
  background: #0E2A4A;
  color: #FFFFFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.cta-strip-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: #FFFFFF;
}
.cta-strip-title .em { color: #EF6923; }
.cta-strip-sub { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0; }
.cta-strip-actions { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 900px) {
  .cta-strip-inner { grid-template-columns: 1fr; }
}

/* Inline buttons used across inner pages */
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  background: #EF6923;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 160ms;
}
.btn-orange:hover { background: #D85A19; }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  background: transparent;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  white-space: nowrap;
  transition: all 160ms;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.06); border-color: #FFFFFF; }


/* =========================================================
   SECTORS — index grid + detail page
   ========================================================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,42,74,0.10);
  border-left: 1px solid rgba(14,42,74,0.10);
}
.sector-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border-right: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
  background: #FFFFFF;
  color: inherit;
  position: relative;
  transition: background 200ms cubic-bezier(0.2,0.6,0.2,1);
  min-height: 380px;
  cursor: pointer;
}
.sector-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #EF6923;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(0.2,0.6,0.2,1);
}
.sector-card:hover { background: #F8F9FB; }
.sector-card:hover::before { transform: scaleX(1); }
.sector-card.is-open { background: #F8F9FB; }
.sector-card.is-open::before { transform: scaleX(1); }
.sector-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,105,35,0.08);
  color: #EF6923;
  border-radius: 2px;
  margin-bottom: 24px;
}
.sector-card-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.sector-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.sector-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #4B5563;
  margin: 0 0 20px;
}
.sector-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.sector-card-list li {
  font-size: 12px;
  color: #4B5563;
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.sector-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 1px;
  background: #EF6923;
}
.sector-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0E2A4A;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-top: 16px;
  border-top: 1px solid rgba(14,42,74,0.08);
  margin-top: auto;
  transition: gap 200ms, color 160ms;
}
.sector-card:hover .sector-card-link { color: #EF6923; gap: 14px; }
.sector-card.is-open .sector-card-link { color: #EF6923; }
.sector-card-chevron { transition: transform 220ms cubic-bezier(0.2,0.6,0.2,1); }
.sector-card.is-open .sector-card-chevron { transform: rotate(180deg); }

@media (max-width: 1024px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 0; }
}

/* Sector inline detail (expand-in-place) */
.sector-detail {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(14,42,74,0.10);
  background: #F8F9FB;
  overflow: hidden;
  animation: sectorDetailIn 300ms cubic-bezier(0.2,0.6,0.2,1);
}
@keyframes sectorDetailIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sector-detail-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 48px);
  position: relative;
}
.sector-detail-inner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #EF6923;
}
.sector-detail-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EF6923;
  margin-bottom: 12px;
}
.sector-detail-blurb {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: #33414F;
  max-width: 60ch;
}
.sector-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0E2A4A;
  text-decoration: none;
  transition: gap 180ms, color 160ms;
}
.sector-detail-cta:hover { color: #EF6923; gap: 13px; }
.sector-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 14px;
}
.sector-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sector-detail-chip {
  padding: 7px 13px;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.14);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: #0E2A4A;
}
@media (max-width: 760px) {
  .sector-detail-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   SECTOR DETAIL PAGE — context blocks
   ========================================================= */
.sector-context-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,42,74,0.10);
}
.sector-context-card {
  padding: 32px;
  border-right: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
  background: #FFFFFF;
}
.sector-context-card:nth-child(2n) { border-right: none; }
.sector-context-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #EF6923;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 12px;
}
.sector-context-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.sector-context-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

/* =========================================================
   CASES — index grid + detail
   ========================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.08);
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.2,0.6,0.2,1), box-shadow 240ms;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,42,74,0.18); }
.case-card-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.case-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,42,74,0) 50%, rgba(14,42,74,0.6) 100%);
}
.case-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: #EF6923;
  color: #FFFFFF;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.case-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.case-card-meta {
  display: flex;
  gap: 16px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 0.04em;
}
.case-card-meta span:first-child { color: #EF6923; font-weight: 700; }
.case-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0E2A4A;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}
.case-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(14,42,74,0.08);
}
.case-card-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #EF6923;
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-card-stat-lbl {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
  line-height: 1.3;
}
.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0E2A4A;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 16px;
  transition: gap 200ms, color 160ms;
}
.case-card:hover .case-card-link { color: #EF6923; gap: 14px; }

@media (max-width: 1024px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* Case detail */
.case-detail-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 64px;
  color: #FFFFFF;
  overflow: hidden;
}
.case-detail-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.case-detail-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,35,66,0.85) 0%, rgba(14,42,74,0.7) 100%);
}
.case-detail-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.case-detail-stat {
  padding: 32px 24px;
  border-right: 1px solid rgba(14,42,74,0.10);
}
.case-detail-stat:last-child { border-right: none; }
.case-detail-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: #EF6923;
  letter-spacing: -0.025em;
  line-height: 1;
}
.case-detail-stat-lbl {
  font-size: 12px;
  color: #6B7280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .case-detail-stat-row { grid-template-columns: repeat(2, 1fr); }
  .case-detail-stat:nth-child(2) { border-right: none; }
  .case-detail-stat:nth-child(1), .case-detail-stat:nth-child(2) { border-bottom: 1px solid rgba(14,42,74,0.10); }
}

/* =========================================================
   CLIENT LOGO STRIP (home)
   ========================================================= */
.logo-strip {
  padding: 64px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(14,42,74,0.06);
  border-bottom: 1px solid rgba(14,42,74,0.06);
}
.logo-strip-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7280;
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
}
.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-left: 1px solid rgba(14,42,74,0.08);
}
.logo-strip-cell {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(14,42,74,0.08);
  border-top: 1px solid rgba(14,42,74,0.08);
  border-bottom: 1px solid rgba(14,42,74,0.08);
  padding: 16px 24px;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 220ms cubic-bezier(0.2,0.6,0.2,1), filter 220ms;
}
.logo-strip-cell:hover { opacity: 1; filter: grayscale(0); }
.logo-strip-cell svg { width: 100%; height: 100%; max-height: 36px; }

@media (max-width: 1024px) { .logo-strip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   REFORMA TRIBUTÁRIA — timeline + FAQ + simulator
   ========================================================= */
.reforma-timeline {
  position: relative;
  --progress: 0%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 0 32px;
}
/* AXIS — vertical line in column 2 (between year and card) */
.reforma-timeline-axis {
  position: absolute;
  left: calc(220px + 28px);
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: rgba(14, 42, 74, 0.10);
  z-index: 1;
  transform: translateX(-1px);
}
.reforma-timeline-axis-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--progress);
  background: linear-gradient(to bottom, #EF6923, rgba(239,105,35,0.6));
  box-shadow: 0 0 10px rgba(239, 105, 35, 0.45);
  transition: height 120ms linear;
}
.reforma-timeline-row {
  display: grid;
  grid-template-columns: 220px 56px 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 2;
  padding: 28px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reforma-timeline-row.is-reached { opacity: 1; transform: translateY(0); }
.reforma-timeline-row + .reforma-timeline-row {
  border-top: 1px dashed rgba(14,42,74,0.12);
}

/* YEAR BLOCK — large display number on the left */
.reforma-timeline-year-block {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 32px;
  text-align: right;
}
.reforma-timeline-year {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 800;
  color: rgba(14,42,74,0.22);
  letter-spacing: -0.04em;
  line-height: 0.95;
  transition: color 500ms cubic-bezier(.2,.7,.2,1);
}
.reforma-timeline-row.is-reached .reforma-timeline-year { color: #0E2A4A; }
.reforma-timeline-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14,42,74,0.45);
  transition: color 400ms;
}
.reforma-timeline-row.is-reached .reforma-timeline-tag { color: #EF6923; }

/* DOT MARKER — sits centered on the axis */
.reforma-timeline-marker {
  grid-column: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reforma-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(14,42,74,0.18);
  position: relative;
  z-index: 3;
  transition: background 300ms, border-color 300ms, transform 400ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms;
}
.reforma-timeline-row.is-reached .reforma-timeline-dot {
  background: #EF6923;
  border-color: #EF6923;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(239,105,35,0.16), 0 0 22px rgba(239,105,35,0.5);
}

/* CARD */
.reforma-timeline-card {
  grid-column: 3;
  padding: 24px 28px 22px 32px;
  background: #FFFFFF;
  border: 1px solid rgba(14,42,74,0.10);
  border-radius: 6px;
  box-shadow: 0 12px 32px -20px rgba(14,42,74,0.20);
  position: relative;
  align-self: center;
}
.reforma-timeline-card::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-left: 1px solid rgba(14,42,74,0.10);
  border-bottom: 1px solid rgba(14,42,74,0.10);
}
.reforma-timeline-card h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0E2A4A;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.reforma-timeline-card p {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.65;
  margin: 0 0 14px;
}
.reforma-timeline-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(239,105,35,0.08);
  border: 1px solid rgba(239,105,35,0.20);
  border-radius: 999px;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #B8430F;
}
.reforma-timeline-meta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #EF6923;
}

/* MOBILE — collapse into single column with axis on left */
@media (max-width: 768px) {
  .reforma-timeline-axis { left: 24px; top: 0; bottom: 0; transform: none; }
  .reforma-timeline-row {
    grid-template-columns: 56px 1fr;
    padding: 20px 0;
  }
  .reforma-timeline-row + .reforma-timeline-row { border-top: none; }
  .reforma-timeline-year-block {
    grid-column: 2;
    grid-row: 1;
    padding-right: 0;
    text-align: left;
    margin-bottom: 4px;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .reforma-timeline-year { font-size: 36px; }
  .reforma-timeline-tag { margin-top: 0; }
  .reforma-timeline-marker { grid-column: 1; grid-row: 1 / span 2; align-items: flex-start; padding-top: 12px; }
  .reforma-timeline-card {
    grid-column: 2;
    grid-row: 2;
    padding: 16px 18px;
  }
  .reforma-timeline-card::before { display: none; }
}

/* FAQ */
.reforma-faq {
  max-width: 840px;
  margin: 0 auto;
}
.reforma-faq-item {
  border-top: 1px solid rgba(14,42,74,0.10);
}
.reforma-faq-item:last-child { border-bottom: 1px solid rgba(14,42,74,0.10); }
.reforma-faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #0E2A4A;
  letter-spacing: -0.005em;
  gap: 24px;
}
.reforma-faq-q:hover { color: #EF6923; }
.reforma-faq-q-icon {
  width: 28px; height: 28px;
  border: 1px solid rgba(14,42,74,0.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.2,0.6,0.2,1), background 200ms, border-color 200ms;
  color: #0E2A4A;
}
.reforma-faq-item.open .reforma-faq-q-icon {
  transform: rotate(45deg);
  background: #EF6923;
  border-color: #EF6923;
  color: #FFFFFF;
}
.reforma-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(0.2,0.6,0.2,1);
}
.reforma-faq-item.open .reforma-faq-a { max-height: 600px; }
.reforma-faq-a-inner {
  padding: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
  max-width: 720px;
}

/* =========================================================
   CARREIRAS
   ========================================================= */
.career-positions { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(14,42,74,0.10); }
.career-position {
  padding: 28px 0;
  border-bottom: 1px solid rgba(14,42,74,0.10);
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr 140px;
  gap: 32px;
  align-items: center;
  transition: padding-left 200ms;
}
.career-position:hover { padding-left: 24px; background: linear-gradient(90deg, #FFF8F2 0%, transparent 100%); }
.career-position h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0E2A4A;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
}
.career-position-team {
  font-size: 12px;
  color: #6B7280;
}
.career-position-meta {
  font-size: 13px;
  color: #4B5563;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.04em;
}
.career-position-meta strong {
  display: block;
  font-size: 10px;
  color: #6B7280;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}
.career-position-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #0E2A4A;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 160ms;
}
.career-position-cta:hover { background: #EF6923; }

@media (max-width: 768px) {
  .career-position { grid-template-columns: 1fr; gap: 12px; }
  .career-position:hover { padding-left: 0; }
  .career-position-cta { justify-self: start; }
}

.career-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
.career-perk {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #FFFFFF;
}
.career-perk:nth-child(3n) { border-right: none; }
.career-perk-num {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: #EF6923;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.career-perk h4 {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.career-perk p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .career-perks { grid-template-columns: repeat(2, 1fr); }
  .career-perk:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.12); }
  .career-perk:nth-child(2n) { border-right: none; }
}
@media (max-width: 640px) {
  .career-perks { grid-template-columns: 1fr; }
  .career-perk { border-right: none !important; }
}

/* =========================================================
   TEAM BAND (humanização · foto grande arrastável)
   ========================================================= */
.team-band {
  padding: 96px 0;
  background: #FFFFFF;
}
.team-band-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.team-band-media {
  position: relative;
  padding: 0 18px 18px 0;
}
.team-band-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 74%;
  background: #EF6923;
  border-radius: 16px;
  z-index: 0;
}
.team-band-media image-slot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 440px;
  box-shadow: 0 24px 60px rgba(14,42,74,0.18);
}
.team-band-text .page-section-lead { margin: 0; }
@media (max-width: 900px) {
  .team-band { padding: 64px 0; }
  .team-band-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-band-media { padding: 0 14px 14px 0; }
  .team-band-media image-slot { height: 320px; }
}

/* Botão "Conhecer a EMASFI" na coluna dos números, abaixo deles */
.about-manifesto-cta {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(14, 42, 74, 0.10);
}
.about-manifesto-cta .btn-orange { display: inline-flex; }

/* Hero de página interna sem coluna lateral: o texto usa a largura toda,
   senão o grid de 2 colunas deixa metade da tela vazia à direita. */
.page-hero-inner:has(> div:only-child) {
  grid-template-columns: 1fr;
}
.page-hero-inner > div:only-child {
  max-width: 980px;
}

/* =========================================================
   SERVIÇOS EM DESTAQUE · 4 cards encaixados no rodapé do hero
   ========================================================= */
.hero-cards-section {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 74, 0.08);
  border-top: 3px solid #EF6923;
  padding: 24px 22px 20px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(14, 42, 74, 0.14);
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.28s cubic-bezier(0.2, 0, 0, 1);
}
.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(14, 42, 74, 0.2);
}
.hero-card-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239, 105, 35, 0.1);
  color: #EF6923;
  margin-bottom: 16px;
}
.hero-card-title {
  font-size: 17px; font-weight: 700; color: #0E2A4A;
  letter-spacing: -0.01em; margin: 0 0 7px; line-height: 1.25;
}
.hero-card-desc {
  font-size: 13.5px; line-height: 1.5;
  color: rgba(14, 42, 74, 0.68); margin: 0 0 14px;
}
.hero-card-link {
  font-size: 12.5px; font-weight: 600; color: #EF6923;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;  /* trava o "Saiba mais" no rodapé, alinhado nos 4 cards */
}
@media (max-width: 1100px) {
  .hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-cards { grid-template-columns: 1fr; gap: 14px; }
  .hero-cards-section { margin-top: -40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card, .hero-card:hover { transition: none; transform: none; }
}
