:root {
  --navy: #0B1F3A;
  --navy-mid: #14304F;
  --teal: #0D9488;
  --teal-soft: #CCFBF1;
  --amber: #F59E0B;
  --amber-bright: #FBBF24;
  --amber-soft: #FEF3C7;
  --slate: #334155;
  --slate-soft: #64748B;
  --bg: #F8FAFC;
  --white: #ffffff;
  --line: #E2E8F0;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(11, 31, 58, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
  --brand-gradient: linear-gradient(120deg, #0B1F3A 0%, #0D9488 48%, #F59E0B 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(11,31,58,.95) 0%, rgba(13,148,136,.75) 52%, rgba(245,158,11,.85) 100%);
  --brand-bar: linear-gradient(90deg, #0B1F3A 0%, #0D9488 50%, #F59E0B 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.top-utility {
  background-color: #0B1F3A;
  background-image: linear-gradient(
    90deg,
    #F59E0B 0%,
    #FBBF24 18%,
    #0D9488 52%,
    #0B1F3A 100%
  );
  border-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.top-utility__inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: .75rem; min-height: 30px; padding: .25rem 0;
}
.top-utility__spacer { flex: 1; }
.top-utility__nav {
  display: flex; flex-wrap: wrap; gap: .65rem 1.1rem;
  justify-content: flex-end; margin-left: auto;
}
.top-utility a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(11,31,58,.35);
}
.top-utility a:hover { color: var(--amber-soft); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 0; min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.brand img {
  height: 52px;
  width: auto;
  max-width: min(340px, 58vw);
  display: block;
  margin: 0 auto;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
.nav a { color: rgba(255,255,255,0.86); font-size: 0.88rem; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--amber); }
.nav-cta {
  background: linear-gradient(135deg, var(--amber), #FBBF24 55%, #F59E0B);
  color: var(--navy) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(245,158,11,.28);
}
.nav-cta:hover { filter: brightness(1.05); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.hero-carousel { position: relative; background: var(--navy); color: #fff; overflow: hidden; min-height: 480px; }
.carousel-track { display: flex; transition: transform 0.6s ease; }
.carousel-slide {
  min-width: 100%; padding: 4.5rem 0 5rem; position: relative;
  background: var(--navy);
}
.carousel-slide.has-bg {
  background-size: cover;
  background-position: center;
}
.carousel-slide.has-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,31,58,0.94) 0%, rgba(13,148,136,0.45) 55%, rgba(245,158,11,0.38) 100%);
}
.carousel-slide .container { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) {
  .carousel-slide .container { grid-template-columns: 1.2fr 0.8fr; }
}
.carousel-slide h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15; font-weight: 800; max-width: 18ch;
}
.carousel-slide p { color: rgba(255,255,255,0.78); max-width: 42ch; font-size: 1.05rem; }
.carousel-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  min-height: 220px; display: grid; place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.carousel-media img { width: 100%; height: 240px; object-fit: cover; }
.carousel-media video { width: 100%; height: 240px; object-fit: cover; display: block; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 1.25rem;
  display: flex; justify-content: center; gap: 0.4rem;
}
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.35); cursor: pointer;
}
.carousel-dots button.is-active { background: var(--amber); }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 600;
  border: 0; cursor: pointer; font-size: 0.95rem;
}
.btn-primary { background: var(--brand-gradient); color: #fff; }
.btn-amber { background: linear-gradient(135deg, #FBBF24, var(--amber)); color: var(--navy); font-weight: 700; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.section { padding: 4rem 0; }
.section-head { margin-bottom: 2rem; max-width: 640px; }
.section-head .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #0f766e 40%, var(--amber) 100%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(13,148,136,0.25);
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  line-height: 1.2;
  display: inline-block;
  background: rgba(11, 31, 58, 0.06);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  max-width: 100%;
}
.section-head p { color: var(--slate-soft); margin-top: 0.75rem; }

.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(13,148,136,0.4); }
.card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--slate-soft); font-size: 0.92rem; }
.card .meta { font-size: 0.75rem; color: var(--teal); font-weight: 600; margin-bottom: 0.35rem; }

.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--teal), var(--amber));
}
.timeline-item { position: relative; padding: 0 0 1.75rem 1.25rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.5rem; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); border: 2px solid var(--navy);
}
.timeline-item .period { color: var(--teal); font-weight: 700; font-size: 0.8rem; }
.timeline-item h3 { color: var(--navy); margin: 0.2rem 0; }

.band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, #0f766e 72%, rgba(245,158,11,.55) 100%);
  color: #fff; padding: 3.5rem 0;
}
.band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
.band p { color: rgba(255,255,255,0.78); max-width: 50ch; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow); max-width: 640px;
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--line); font: inherit; background: #fff; color: var(--slate);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.alert {
  padding: 0.85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: 0.92rem;
}
.alert-success { background: var(--teal-soft); color: #115e59; }
.alert-error { background: #fee2e2; color: #991b1b; }

.gallery-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-grid figure {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; }
.gallery-grid figcaption { padding: 0.75rem; font-size: 0.85rem; color: var(--slate-soft); }

.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #0a2a3a 55%, #0f3d32 100%);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #0B1F3A, #0D9488, #F59E0B) 1;
  color: rgba(255,255,255,0.7);
  margin-top: 2rem;
  font-size: 0.88rem;
  overflow: visible;
}
.footer-expandable {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}
.footer-expandable__clip {
  overflow: hidden;
  min-height: 0;
}
.site-footer.is-expanded .footer-expandable {
  grid-template-rows: 1fr;
  opacity: 1;
}
.site-footer.is-expanded .footer-expandable__clip {
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding: 1.75rem 0 1.25rem;
}
.site-footer h4 {
  color: rgba(245,158,11,0.9);
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a:hover { color: var(--amber); }
.footer-brand {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
}
.footer-brand img { height: 44px; width: auto; max-width: 240px; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.8rem; opacity: 0.65; max-width: 260px; }
.footer-links a { display: block; padding: 0.2rem 0; opacity: 0.7; font-size: 0.86rem; }
.footer-links a:hover { opacity: 1; }
.footer-bar {
  position: relative;
  border-top: 1px solid transparent;
  overflow: visible;
}
.site-footer.is-expanded .footer-bar {
  border-top-color: rgba(255,255,255,0.08);
}
.footer-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
  min-height: 56px;
}
.footer-bar__logo-link {
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
  line-height: 0;
}
.footer-bar__logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  display: block;
}
.footer-bar__copy {
  flex: 1;
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.5;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.4;
}
.footer-toggle {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #071526;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12), 0 3px 10px rgba(0,0,0,0.35);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.2s ease, transform 0.3s ease;
  overflow: hidden;
}
.footer-toggle:hover {
  box-shadow: 0 0 0 2px rgba(13,148,136,0.45), 0 4px 14px rgba(0,0,0,0.45);
}
.footer-toggle__icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s ease;
  background: #fff;
}
.site-footer.is-expanded .footer-toggle__icon {
  transform: rotate(180deg);
}
.site-footer.is-expanded .footer-toggle {
  box-shadow: 0 0 0 2px rgba(245,158,11,0.4), 0 3px 10px rgba(0,0,0,0.35);
}
.tagline { color: var(--teal); font-size: 0.75rem; letter-spacing: 0.08em; }

@media (max-width: 760px) {
  .brand img { height: 42px; max-width: min(260px, 68vw); }
  .header-inner { min-height: 76px; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-mid); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { color: rgba(255,255,255,0.9); }
  .footer-bar__copy { font-size: 0.58rem; text-align: left; }
  .footer-toggle { width: 36px; height: 36px; }
  .footer-toggle__icon { width: 28px; height: 28px; }
}

/* ?? Floating announcement (v?deo intro) ?? */
.floating-announcement {
  position: fixed; z-index: 90; width: min(360px, calc(100vw - 1.5rem));
  border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35);
  color: #fff; isolation: isolate; transition: opacity .2s ease, transform .2s ease;
}
.floating-announcement--pos-right { right: 1rem; bottom: 1rem; }
.floating-announcement--pos-left { left: 1rem; bottom: 1rem; }
.floating-announcement--pos-center { left: 50%; bottom: 1.25rem; transform: translateX(-50%); }
.floating-announcement.is-closing { opacity: 0; transform: translateY(12px) scale(.96); }
.floating-announcement--pos-center.is-closing { transform: translateX(-50%) translateY(12px) scale(.96); }
.floating-announcement__video, .floating-announcement__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.floating-announcement__bg { background-size: cover; background-position: center; }
.floating-announcement__bg--fallback { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.floating-announcement__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,31,58,.35) 0%, rgba(11,31,58,.88) 70%);
}
.floating-announcement__inner { position: relative; z-index: 2; padding: 1.1rem 1.15rem 1.25rem; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.floating-announcement__close {
  position: absolute; top: .55rem; right: .55rem; width: 34px; height: 34px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.floating-announcement__close:hover { background: var(--amber); color: var(--navy); }
.floating-announcement__headline { font-size: 1.15rem; font-weight: 800; margin: 0 0 .35rem; }
.floating-announcement__tagline { font-size: .92rem; font-weight: 600; color: var(--amber); margin: 0 0 .4rem; }
.floating-announcement__desc { font-size: .82rem; color: rgba(255,255,255,.88); margin: 0 0 .85rem; line-height: 1.45; }
.floating-announcement__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.floating-announcement__actions .btn { font-size: .78rem; padding: .45rem .85rem; }

/* ?? Detail pages ?? */
.detail-hero { background: linear-gradient(135deg, var(--navy) 0%, #0f4c4a 55%, rgba(245,158,11,.65) 100%); color: #fff; padding: 3rem 0 2.5rem; }
.detail-hero .eyebrow {
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #0f766e 40%, var(--amber) 100%);
}
.detail-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); margin: .35rem 0 .75rem; line-height: 1.15; }
.detail-hero p.lead { max-width: 46rem; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.detail-body { display: grid; gap: 1.75rem; grid-template-columns: 1.6fr .9fr; align-items: start; }
.detail-prose h2 { color: var(--navy); font-size: 1.25rem; margin: 1.5rem 0 .6rem; }
.detail-prose h3 { color: var(--navy-mid); font-size: 1.05rem; margin: 1.2rem 0 .45rem; }
.detail-prose p, .detail-prose li { color: var(--slate); margin-bottom: .7rem; }
.detail-prose ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1rem; }
.detail-prose li { margin-bottom: .35rem; }
.detail-aside .card { position: sticky; top: 110px; }
.detail-aside .card h3 { margin-bottom: .75rem; }
.highlight-list { display: grid; gap: .55rem; margin: 1rem 0; }
.highlight-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem;
  list-style: none; font-weight: 600; color: var(--navy); font-size: .92rem;
}
.card-link { display: inline-block; margin-top: .75rem; color: var(--teal); font-weight: 700; font-size: .88rem; }
.card-link:hover { color: var(--amber); }
@media (max-width: 900px) {
  .detail-body { grid-template-columns: 1fr; }
  .detail-aside .card { position: static; }
  .floating-announcement { width: min(100vw - 1rem, 340px); }
}

/* Erros humanizados */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.error-seal { margin-bottom: 1rem; }
.error-debug {
  margin-top: 1rem; padding: .75rem; background: #0f172a; color: #e2e8f0;
  border-radius: 10px; font-size: .75rem; overflow: auto; max-height: 220px;
}
.btn-ghost {
  display: inline-block; background: #e2e8f0; color: var(--navy);
  border-radius: 999px; padding: .55rem 1rem; font-weight: 600; text-align: center;
}

/* Tend?ncias zebradas */
.news-list { display: grid; gap: 1rem; }
.news-card {
  border-radius: var(--radius-lg); padding: 1.25rem 1.35rem;
  border: 1px solid transparent;
}
.news-card--navy { background: rgba(11,31,58,0.08); border-color: rgba(11,31,58,0.12); }
.news-card--teal { background: rgba(13,148,136,0.10); border-color: rgba(13,148,136,0.18); }
.news-card--amber { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.22); }
.news-card h3 { color: var(--navy); margin: .35rem 0 .5rem; font-size: 1.15rem; }
.news-card p { color: var(--slate); margin-bottom: .65rem; }

.gallery-card { display: block; color: inherit; }
.gallery-card .card-link { display: inline-block; margin-top: .35rem; color: var(--teal); font-weight: 600; font-size: .85rem; }

/* Modal expertise */
.expertise-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.expertise-modal[hidden] { display: none !important; }
.expertise-modal__backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.55); }
.expertise-modal__panel {
  position: relative; z-index: 1; width: min(720px, 100%);
  max-height: min(86vh, 720px); overflow: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.expertise-modal__close {
  position: absolute; top: .75rem; right: .75rem; width: 36px; height: 36px;
  border: 0; border-radius: 999px; background: #e2e8f0; cursor: pointer; font-size: 1.25rem;
}
.expertise-modal__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.expertise-modal__head h2 { margin: 0; color: var(--navy); font-size: 1.35rem; }

/* Erros humanizados */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.error-seal { margin-bottom: 1rem; }
.error-debug {
  margin-top: 1rem; padding: .75rem; background: #0f172a; color: #e2e8f0;
  border-radius: 10px; font-size: .75rem; overflow: auto; max-height: 220px;
}
.btn-ghost {
  display: inline-block; background: #e2e8f0; color: var(--navy);
  border-radius: 999px; padding: .55rem 1rem; font-weight: 600;
}

/* Tend?ncias zebradas */
.news-list { display: grid; gap: 1rem; }
.news-card {
  border-radius: var(--radius-lg); padding: 1.25rem 1.35rem;
  border: 1px solid transparent; backdrop-filter: blur(6px);
}
.news-card--navy { background: rgba(11,31,58,0.08); border-color: rgba(11,31,58,0.12); }
.news-card--teal { background: rgba(13,148,136,0.10); border-color: rgba(13,148,136,0.18); }
.news-card--amber { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.22); }
.news-card h3 { color: var(--navy); margin: .35rem 0 .5rem; font-size: 1.15rem; }
.news-card p { color: var(--slate); margin-bottom: .65rem; }

.gallery-card { display: block; color: inherit; }
.gallery-card .card-link { display: inline-block; margin-top: .35rem; color: var(--teal); font-weight: 600; font-size: .85rem; }

/* Modal expertise */
.expertise-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.expertise-modal[hidden] { display: none !important; }
.expertise-modal__backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.55); }
.expertise-modal__panel {
  position: relative; z-index: 1; width: min(720px, 100%);
  max-height: min(86vh, 720px); overflow: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.expertise-modal__close {
  position: absolute; top: .75rem; right: .75rem; width: 36px; height: 36px;
  border: 0; border-radius: 999px; background: #e2e8f0; cursor: pointer; font-size: 1.25rem;
}
.expertise-modal__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.expertise-modal__head h2 { margin: 0; color: var(--navy); font-size: 1.35rem; }

/* Tabela zebrada arredondada */
.zebra-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.zebra-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.zebra-table th {
  text-align: left; padding: 0.85rem 1rem; background: var(--navy); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.zebra-table td { padding: 0.8rem 1rem; border-bottom: 1px solid rgba(11,31,58,0.06); vertical-align: top; }
.zebra-table tbody tr:nth-child(odd) { background: rgba(11,31,58,0.04); }
.zebra-table tbody tr:nth-child(even) { background: rgba(13,148,136,0.07); }
.zebra-table tbody tr:hover { background: rgba(245,158,11,0.12); }
.zebra-table .meta { color: var(--teal); font-size: 0.75rem; font-weight: 700; }

/* Home overlays estilo Total ? fech�veis; voltam ao entrar na home */
.home-overlays {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
}
.home-overlay {
  pointer-events: auto;
  position: absolute;
  background: rgba(11, 31, 58, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,0.08);
  transition: opacity .22s ease, transform .22s ease;
}
.home-overlay.is-closing { opacity: 0; transform: translateY(10px) scale(.98); }
.home-overlay.is-hidden, .home-overlay[hidden] { display: none !important; }
.home-overlay__close {
  position: absolute; top: .65rem; right: .65rem; z-index: 3;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: transparent;
  color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.home-overlay__close:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.home-overlay__eyebrow {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--amber); margin: 0 0 .35rem;
}
.home-overlay__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 .55rem; line-height: 1.15;
}
.home-overlay__title--sm { font-size: 1.05rem; margin-bottom: .75rem; }
.home-overlay--talk {
  left: clamp(1rem, 3vw, 2rem); top: 1.25rem; transform: none;
  width: min(400px, calc(100% - 2rem));
  min-height: 260px; overflow: hidden;
}
.home-overlay--talk.is-closing { transform: translateY(8px) scale(.98); }
.home-overlay__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .35;
}
.home-overlay__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(11,31,58,.55), rgba(11,31,58,.92));
}
.home-overlay__body { position: relative; z-index: 2; padding: 1.35rem 1.35rem 1.5rem; }
.home-overlay__brand {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; opacity: .85; margin-bottom: .65rem;
}
.home-overlay__hero-line {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem;
}
.home-overlay__years {
  font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1;
}
.home-overlay__divider {
  width: 2px; height: 2.4rem; background: var(--amber); flex-shrink: 0;
}
.home-overlay__tag {
  font-size: .95rem; font-weight: 600; max-width: 18ch; line-height: 1.35;
  color: rgba(255,255,255,.92);
}
.home-overlay__desc {
  font-size: .88rem; color: rgba(255,255,255,.78); margin-bottom: 1rem; line-height: 1.5;
}
.home-overlay__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.home-overlay__actions .btn-ghost {
  border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent;
}
.home-overlay--news {
  top: 1.25rem; right: clamp(1rem, 3vw, 2rem);
  width: min(380px, calc(100% - 2rem));
  padding: 1rem 2.5rem 1.1rem 1rem;
  max-height: min(78vh, 520px);
  overflow: auto;
}
.home-overlay__news-head { margin-bottom: .35rem; padding-right: .5rem; }
.home-overlay__tracks { display: grid; gap: .65rem; }
.home-overlay__track {
  display: block;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border-left: 3px solid var(--teal);
  transition: background .15s ease, transform .15s ease;
}
.home-overlay__track:hover { background: rgba(255,255,255,.12); transform: translateX(-2px); }
.home-overlay__track--navy { border-left-color: #94a3b8; }
.home-overlay__track--teal { border-left-color: var(--teal); }
.home-overlay__track--amber { border-left-color: var(--amber); }
.home-overlay__track-meta {
  display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--amber); margin-bottom: .25rem;
}
.home-overlay__track strong {
  display: block; font-size: .84rem; line-height: 1.35; font-weight: 700;
}
.home-overlay__track-sum {
  display: block; font-size: .76rem; color: rgba(255,255,255,.72); line-height: 1.4; margin-top: .25rem;
}
@media (max-width: 860px) {
  .home-overlays {
    position: relative; inset: auto; padding: 1rem;
    display: grid; gap: .85rem;
  }
  .home-overlay--talk { order: 1; }
  .home-overlay--news { order: 2; max-height: none; }
  .home-overlay--talk, .home-overlay--news {
    position: relative; left: auto; right: auto; top: auto; transform: none; width: 100%;
  }
  .home-overlay--talk.is-closing { transform: scale(.98); }
}

/* Orçamento: news esquerda + form direita (sticky) */
.orcamento-page { padding-top: 1.5rem; }
.orcamento-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}
.orcamento-rail__sticky {
  position: sticky;
  top: 5.5rem;
}
.orcamento-rail--news h2 { font-size: 1.35rem; margin: .2rem 0 .5rem; color: var(--navy); }
.orcamento-rail__lead { color: var(--slate-soft); font-size: .9rem; margin-bottom: 1rem; }
.orcamento-tracks { display: grid; gap: .7rem; }
.orcamento-track {
  display: block;
  padding: .85rem .95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11,31,58,.08);
  border-left: 3px solid var(--teal);
  box-shadow: 0 8px 24px rgba(11,31,58,.06);
}
.orcamento-track:hover { border-color: rgba(13,148,136,.35); }
.orcamento-track--navy { border-left-color: var(--navy); }
.orcamento-track--teal { border-left-color: var(--teal); }
.orcamento-track--amber { border-left-color: var(--amber); }
.orcamento-track__meta {
  display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--teal); margin-bottom: .25rem;
}
.orcamento-track strong { display: block; color: var(--navy); font-size: .92rem; line-height: 1.35; }
.orcamento-track span { display: block; color: var(--slate-soft); font-size: .8rem; margin-top: .3rem; line-height: 1.4; }
.orcamento-rail__hint { margin-top: 1rem; font-size: .88rem; }
.orcamento-rail__hint a { color: var(--teal); font-weight: 700; }
.form-card--sticky { margin: 0; }

/* Trajetória detalhe enriquecida */
.detail-story { max-width: 960px; }
.detail-story__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.detail-story__figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: 0 12px 30px rgba(11,31,58,.1);
}
.detail-story__figure img {
  display: block; width: 100%; height: 220px; object-fit: cover;
}
.detail-story__figure figcaption {
  padding: .65rem .85rem;
  font-size: .8rem;
  color: var(--slate-soft);
  background: #fff;
}
.detail-story__prose { max-width: 48rem; }

@media (max-width: 900px) {
  .orcamento-layout { grid-template-columns: 1fr; }
  .orcamento-rail__sticky { position: static; }
  .orcamento-rail--form { order: -1; }
  .detail-story__gallery { grid-template-columns: 1fr; }
  .top-utility__mail { display: none; }
}
