*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0F1F3D;
  --navy-40: rgba(15,31,61,0.4);
  --navy-10: rgba(15,31,61,0.08);
  --gray: #6b7280;
  --light: #f7f8fa;
  --border: #eaecf0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: #fff;
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.metis-logo { display: block; height: 28px; width: auto; }
.footer-logo .metis-logo { height: 26px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--navy); text-decoration: none; opacity: 0.55; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

.nav-btn {
  background: var(--navy);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

/* ─── HERO TEXT ─── */
.hero-text {
  text-align: center;
  padding: 64px 40px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero-headline .hl { color: var(--navy-40); }

.hero-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 34px;
}

.hero-desc strong { color: var(--navy); font-weight: 600; }

.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  padding: 12px 24px;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
}

/* ─── VIDEO ─── */
.video-outer {
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.video-container {
  width: 100%;
  max-width: 900px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: 0 24px 64px rgba(15,31,61,0.16);
}

.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
  font-family: inherit;
}
.play-btn:hover { background: rgba(255,255,255,0.24); }
.play-btn svg { margin-left: 4px; }

.video-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 56px 36px 28px;
  background: linear-gradient(to top, rgba(8,15,30,0.88) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 5;
}

.video-overlay-title {
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.video-overlay-title em { font-style: normal; color: rgba(255,255,255,0.48); font-weight: 300; }

.video-stats { display: flex; gap: 24px; align-items: flex-end; }
.v-stat { text-align: right; }
.v-stat-n { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.v-stat-n sup { font-size: 12px; opacity: 0.55; }
.v-stat-l { font-size: 10px; color: rgba(255,255,255,0.48); margin-top: 3px; line-height: 1.3; }

/* ─── TRUST BAR / MARQUEE ─── */
.trust-bar {
  padding: 20px 0 20px 60px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  overflow: hidden;
}

.trust-label { font-size: 11px; color: #bbb; font-weight: 500; white-space: nowrap; letter-spacing: 0.03em; line-height: 1.5; max-width: 85px; flex-shrink: 0; }

.trust-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: trustScroll 28s linear infinite;
}

.trust-marquee-track:hover { animation-play-state: paused; }

.trust-logo-img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity .2s;
}

.trust-marquee-track:hover .trust-logo-img { opacity: 0.75; }

@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION BASE ─── */
section { padding: 96px 60px; }
.section-inner { max-width: 1080px; margin: 0 auto; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.45;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title .hl { color: var(--navy-40); }

.section-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  max-width: 540px;
}

/* ─── MISSÃO / SOBRE ─── */
.missao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.missao-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-10);
  position: relative;
}

.missao-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* photo placeholder */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #dce5f0 0%, #c8d8ea 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.photo-placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px dashed rgba(15,31,61,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(15,31,61,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.missao-content {}

.missao-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--navy-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pillar-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

/* ─── IMPACTO NÚMEROS ─── */
.impacto-bg {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.impacto-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.impacto-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: grayscale(100%) saturate(0) brightness(0.88);
}

.impacto-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,31,61,0.62) 0%, rgba(15,31,61,0.78) 100%);
}

.impacto-bg .section-inner {
  position: relative;
  z-index: 1;
}

.impacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  border-radius: 16px;
  overflow: hidden;
}

.impacto-card {
  background: rgba(255,255,255,0.05);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impacto-card:first-child { border-radius: 16px 0 0 16px; }
.impacto-card:last-child { border-radius: 0 16px 16px 0; }

.impacto-num {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.impacto-num sup { font-size: 24px; opacity: 0.5; }

.impacto-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  line-height: 1.5;
}

.impacto-desc-row {
  margin-top: 64px;
  max-width: 640px;
}

.impacto-desc-row .section-title { color: #fff; }
.impacto-desc-row .section-desc { color: rgba(255,255,255,0.55); }

/* ─── PROJETOS ─── */
.projetos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.projeto-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  background: #fff;
}

a.projeto-card,
a.projeto-card:hover,
a.projeto-card:focus,
a.projeto-card:active,
a.projeto-card * {
  text-decoration: none;
  color: inherit;
}

.projeto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15,31,61,0.10);
}

.projeto-card.featured {
  grid-column: span 2;
}

.projeto-photo {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #c8d8ea 0%, #a8bedb 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projeto-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.projeto-card.featured .projeto-photo { aspect-ratio: 16/8; }

.projeto-photo-placeholder {
  font-size: 11px;
  font-weight: 600;
  color: rgba(15,31,61,0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* unique tones per card */
.projeto-card:nth-child(1) .projeto-photo { background: linear-gradient(135deg, #b8cfe8 0%, #8fb0cc 100%); }
.projeto-card:nth-child(2) .projeto-photo { background: linear-gradient(135deg, #c4d8c8 0%, #8fb09a 100%); }
.projeto-card:nth-child(3) .projeto-photo { background: linear-gradient(135deg, #d4c8e0 0%, #a898c0 100%); }
.projeto-card:nth-child(4) .projeto-photo { background: linear-gradient(135deg, #e0d0b8 0%, #c0a888 100%); }
.projeto-card:nth-child(5) .projeto-photo { background: linear-gradient(135deg, #c8d8e8 0%, #a0b8d0 100%); }

.projeto-body { padding: 20px 22px 22px; }

.projeto-local {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.7;
}

.projeto-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.projeto-card.featured .projeto-title { font-size: 20px; }

.projeto-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

.projeto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.projeto-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.projeto-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-10);
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0.7;
}

.projeto-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.5;
}

.projeto-card:hover .projeto-link { opacity: 1; }

.projeto-link:hover { opacity: 1; }

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
}

/* ─── COMO FUNCIONA ─── */
.como-bg { background: var(--light); }

.como-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  border-radius: 16px;
  overflow: hidden;
}

.como-step {
  background: #fff;
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.2;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

/* ─── DEPOIMENTO / DESTAQUE ─── */
.destaque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.destaque-main {
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  position: relative;
  isolation: isolate;
}

/* Troque a URL abaixo pela sua imagem de fundo */
.destaque-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1200&q=80');
  background-size: cover;
  background-position: center;
}

.destaque-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,31,61,0.88) 0%, rgba(15,31,61,0.72) 50%, rgba(15,31,61,0.85) 100%);
}

.destaque-main > * {
  position: relative;
  z-index: 2;
}

.destaque-quote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.destaque-quote em { font-style: normal; color: rgba(255,255,255,0.45); font-weight: 300; }

.destaque-autor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.destaque-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.destaque-autor-info {}
.destaque-autor-name { font-size: 13px; font-weight: 600; color: #fff; }
.destaque-autor-role { font-size: 12px; color: rgba(255,255,255,0.45); }

.destaque-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.destaque-stat-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.destaque-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.destaque-stat-num sup { font-size: 20px; opacity: 0.45; }
.destaque-stat-label { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ─── CTA FINAL ─── */
.cta-final {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-final .section-title { margin-bottom: 16px; }
.cta-final .section-desc { margin: 0 auto 40px; }

.cta-final-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ─── FOOTER ─── */
footer {
  padding: 48px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { display: flex; align-items: center; text-decoration: none; }

.footer-info { font-size: 12px; color: var(--gray); line-height: 1.7; }
.footer-info a { color: var(--navy); text-decoration: none; font-weight: 600; }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--gray); text-decoration: none; opacity: 0.7; }
.footer-links a:hover { opacity: 1; }

.footer-copy { width: 100%; font-size: 11px; color: var(--gray); opacity: 0.5; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }

/* ─── DEPOIMENTOS ─── */
.depoimentos-section { background: var(--light); }

.depoimentos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
}

.depoimentos-nav { display: flex; gap: 10px; }

.dep-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.dep-nav-btn:hover { background: var(--navy); border-color: var(--navy); }
.dep-nav-btn:hover svg path { stroke: #fff; }

.depoimentos-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.depoimentos-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.depoimentos-viewport.is-dragging .depoimentos-track {
  transition: none !important;
}

.depoimentos-track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.dep-card {
  flex: 0 0 calc(50% - 8px);
  min-width: calc(50% - 8px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15,31,61,0.06);
}

.dep-card-photo {
  position: relative;
  flex-shrink: 0;
  height: 192px;
  overflow: hidden;
}

.dep-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dep-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.dep-card-quote {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 16px;
}

.dep-card-quote::before {
  display: none;
}

.dep-card-autor {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dep-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.dep-card-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.dep-card-role { font-size: 12px; color: var(--gray); line-height: 1.45; margin-top: 2px; }

.dep-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dep-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.dep-dot.active { background: var(--navy); transform: scale(1.15); }

@media (max-width: 768px) {
  .dep-card { flex: 0 0 100%; min-width: 100%; }
  .dep-card-photo { height: 140px; }
  .depoimentos-header { flex-direction: column; align-items: flex-start; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-headline { animation: fadeUp .5s .0s both; }
.hero-desc     { animation: fadeUp .5s .1s both; }
.cta-row       { animation: fadeUp .5s .18s both; }
.video-outer   { animation: fadeUp .5s .26s both; }
.trust-bar     { animation: fadeUp .45s .36s both; }