/* Vitória Obras — v4 corporativo/premium */
:root {
  --navy: #0B1929;
  --navy-2: #071321;
  --blue: #2563A8;
  --sky: #4B91D1;
  --white: #FFFFFF;
  --off: #F3F7FC;
  --steel: #E2ECF5;
  --text: #1E2937;
  --muted: #5D6B7C;
  --whatsapp: #1C884B;
  --shadow: 0 22px 70px rgba(11,25,41,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Barlow, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  background: var(--navy-2);
  color: rgba(255,255,255,.76);
  font-size: 13px;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--steel);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.brand-symbol {
  color: var(--blue);
  font-size: 28px;
  transform: rotate(45deg);
  display: inline-block;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-main {
  font-family: Barlow, sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: .18em;
}
.brand-sub {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .23em;
  color: var(--blue);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}
.main-nav a:hover { color: var(--blue); }
.nav-cta {
  padding: 11px 17px;
  border-radius: 2px;
  background: var(--navy);
  color: #fff !important;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 21px;
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 720px;
  background: var(--navy);
}
.hero-left {
  display: flex;
  align-items: center;
  padding: 90px 7vw;
  background:
    linear-gradient(135deg, rgba(75,145,209,.08), transparent 40%),
    var(--navy);
}
.hero-copy { max-width: 680px; }
.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}
h1, h2, h3, h4 {
  margin: 0 0 20px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
}
h1, .hero h2, .dark h2, .final-cta h2 {
  font-family: "Playfair Display", serif;
}
h1 {
  color: #fff;
  font-size: clamp(46px, 5.5vw, 78px);
  letter-spacing: -.035em;
}
h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.025em; }
h3 { font-size: 22px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero p {
  max-width: 610px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 800;
  transition: .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4f88; transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }

.hero-right {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center/cover no-repeat;
}
.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,25,41,.05), rgba(11,25,41,.52));
}
.metrics-panel {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 48px;
  width: min(500px, calc(100% - 96px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}
.metrics-panel div {
  padding: 24px;
  border-right: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.metrics-panel div:nth-child(2n) { border-right: 0; }
.metrics-panel div:nth-child(n+3) { border-bottom: 0; }
.metrics-panel strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
}
.metrics-panel span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 5px;
}

.segment-strip {
  background: var(--navy-2);
}
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.segment-grid a {
  padding: 24px;
  color: rgba(255,255,255,.82);
  border-right: 1px solid rgba(255,255,255,.10);
  font-weight: 700;
}
.segment-grid a:hover { background: rgba(255,255,255,.06); color: #fff; }

.section { padding: 104px 0; }
.intro-grid,
.split,
.dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.intro-text p { font-size: 19px; }
.strong { color: var(--navy); font-weight: 700; }

.services,
.scenarios,
.who,
.method {
  background: var(--off);
}
.section-title {
  max-width: 820px;
  margin-bottom: 52px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--steel);
}
.services-grid article {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.services-grid article:nth-child(3n) { border-right: 0; }
.services-grid article:nth-child(n+4) { border-bottom: 0; }
.services-grid span {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.dark {
  background: var(--navy);
}
.dark h2,
.dark p {
  color: #fff;
}
.dark p { color: rgba(255,255,255,.76); }
.note {
  padding: 20px;
  border-left: 3px solid var(--sky);
  background: rgba(255,255,255,.07);
  font-weight: 700;
}
.control-box {
  background: #fff;
  padding: 38px;
  box-shadow: var(--shadow);
}
.control-box ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.control-box li,
.check-list li {
  position: relative;
  padding-left: 24px;
}
.control-box li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.scenario-grid article {
  background: #fff;
  box-shadow: 0 14px 44px rgba(11,25,41,.08);
}
.scenario-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.scenario-grid div {
  padding: 28px;
}
.scenario-grid span {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.investor-cards {
  display: grid;
  gap: 18px;
}
.investor-cards article,
.profile-card,
.method-grid article {
  background: #fff;
  border: 1px solid var(--steel);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(11,25,41,.06);
}
.profile-card {
  background: var(--navy);
  color: #fff;
}
.profile-card h3,
.profile-card p {
  color: #fff;
}
.profile-initial {
  display: inline-flex;
  width: 72px;
  height: 72px;
  justify-content: center;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 22px;
}
.profile-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}

.image-frame {
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.method-grid span {
  color: var(--blue);
  font-weight: 800;
  font-size: 32px;
}
.final-cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 96px 0;
}
.final-cta h2,
.final-cta p {
  color: #fff;
}
.final-inner {
  max-width: 860px;
}

.footer {
  background: var(--navy-2);
  color: #fff;
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
}
.footer h3,
.footer h4 {
  color: #fff;
}
.footer p,
.footer a {
  color: rgba(255,255,255,.72);
}
.footer a { display: block; margin-bottom: 10px; }
.footer-bottom {
  margin-top: 48px;
  padding: 22px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
  font-size: 14px;
}
.floating-whatsapp {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute;
    top: 124px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--steel);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 0; }
  .nav-cta { margin-top: 8px; }
  .hero,
  .intro-grid,
  .split,
  .dark-grid {
    grid-template-columns: 1fr;
  }
  .hero-right { min-height: 520px; }
  .services-grid,
  .scenario-grid,
  .segment-grid,
  .method-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid article,
  .segment-grid a {
    border-right: 0;
  }
  .services-grid article {
    border-bottom: 1px solid var(--steel);
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1220px); }
  .topbar { display: none; }
  .header-inner { min-height: 76px; }
  .main-nav { top: 76px; }
  .brand-main { font-size: 24px; }
  .brand-sub { font-size: 9px; letter-spacing: .14em; }
  .hero-left { padding: 70px 24px; }
  .hero-right { min-height: 460px; }
  .metrics-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    grid-template-columns: 1fr;
  }
  .metrics-panel div {
    border-right: 0;
  }
  .section { padding: 74px 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .control-box ul,
  .check-list {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    left: 14px;
    right: 14px;
    text-align: center;
  }
}
