:root {
  --bg: #040415;
  --bg-alt: #05051a;
  --text: #f7f7ff;
  --muted: #d5d2df;
  --muted-2: #c7c6d3;
  --blue: #202d70;
  --blue-2: #1a265e;
  --line: #30479a;
  --accent: #6576dd;
  --accent-soft: #111638;
  --info: #062b53;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.48;
}

a { color: #7c8ff0; font-weight: 700; text-decoration: underline; }
img { max-width: 100%; display: block; }
strong { font-weight: 800; }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 14px 34px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: var(--bg);
}

.hero-page {
  max-width: 1331px;
  min-height: 550px;
  border-top: 0;
  padding: 16px 10px 17px 0;
  display: grid;
  grid-template-columns: 61.7% 38.3%;
  align-items: center;
  gap: 0;
}

.hero-copy {
  text-align: center;
  padding: 50px 60px 30px 65px;
}

.mare-logo {
  width: 640px;
  max-width: 88%;
  margin: 0 auto 40px;
}

h1, h2, h3, p { margin-top: 0; }

.hero-page h1 {
  font-size: clamp(34px, 3.35vw, 46px);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -.04em;
}

.hero-page p {
  max-width: 680px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 18px;
}

.hero-image {
  margin: 0;
  height: 517px;
  border-radius: 6px;
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.centered { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--accent);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}
.button.filled { background: var(--accent); color: #fff; }
.button.outline { background: transparent; color: #7388ff; }

.tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #11163d;
  color: #d9ddf5;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}
.tag-outline {
  border: 1px solid #6076df;
  background: transparent;
  color: #8ca0ff;
}

.page h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1.22;
  letter-spacing: -.04em;
  font-weight: 800;
}

.lead {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-grid { grid-template-columns: 1.08fr .87fr; }
.planning-grid { grid-template-columns: .87fr 1.08fr; gap: 42px; }
.partners-grid { grid-template-columns: 1fr .98fr; gap: 44px; }
.powerbi-grid { grid-template-columns: 1fr .96fr; gap: 32px; }

.text-block p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.stacked-cards { display: grid; gap: 18px; margin-top: 24px; }
.stacked-cards article {
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px 18px;
  min-height: 112px;
  display: grid;
  align-content: center;
  text-align: center;
  background: transparent;
}
.stacked-cards h3 { margin-bottom: 14px; font-size: 22px; color: #d7d5df; }
.stacked-cards p { margin: 0; color: var(--muted); font-size: 18px; }
.accent-left article { border-left: 7px solid var(--accent); text-align: left; padding-left: 20px; }
.accent-left h3 { color: #d7d5df; }

.image-card { margin: 0; border-radius: 6px; overflow: hidden; }
.about-image { margin-top: 66px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.solution-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.blue-card {
  background: var(--blue);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.solution-card {
  min-height: 286px;
  padding: 17px 24px 20px;
  text-align: center;
  display: grid;
  align-content: center;
}
.round-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #6474de;
  color: #fff;
  font-size: 22px;
}
.solution-card h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.2; color: #dedce7; }
.solution-card p { margin: 0; color: #e0deea; font-size: 18px; line-height: 1.55; }
.wide-card { min-height: 202px; padding-inline: 24px; }
.info-bar {
  margin-top: 20px;
  min-height: 104px;
  padding: 20px 26px 20px 20px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  background: #062c55;
  color: #fff;
}
.info-bar p { margin: 0; font-size: 18px; line-height: 1.55; }
.info-icon { color: #99dcff; font-size: 20px; }

.powerbi-page { min-height: 629px; padding-top: 32px; }
.powerbi-page h2 { margin-bottom: 24px; }
.delivery-card {
  background: #4c5bb4;
  border-radius: 10px;
  padding: 16px 16px 10px 18px;
  color: #050515;
}
.delivery-card h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
ul { margin: 0; padding-left: 28px; }
.delivery-card li, .examples-card li { margin-bottom: 9px; font-size: 18px; line-height: 1.45; }
.examples-card { padding: 16px 0 0 0; color: var(--muted); }
.examples-card h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }

.planning-page { min-height: 814px; padding-top: 32px; }
.planning-image { margin-top: 18px; }
.planning-page .text-block { margin-top: 10px; }

.process-page { min-height: 862px; padding-top: 0; }
.process-page .lead { margin-bottom: 22px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 38px;
}
.process-steps article { min-width: 0; }
.chevron {
  height: 72px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%, 4% 50%);
  color: #e9ebff;
  font-size: 28px;
}
.process-steps h3 { font-size: 22px; color: #d7d5df; margin: 0 18px 8px; }
.process-steps p { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0 18px; }
.process-diagram {
  width: min(880px, 100%);
  margin: 0 auto 30px;
}
.process-diagram img { width: 100%; }
.process-example { color: var(--muted); font-size: 18px; line-height: 1.45; margin-bottom: 0; }

.payment-page { min-height: 663px; padding-top: 32px; }
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.payment-grid .blue-card { padding: 18px 18px; min-height: 274px; }
.payment-grid h3 { color: #dedce7; font-size: 22px; margin-bottom: 8px; }
.payment-grid p { color: #e0deea; font-size: 18px; line-height: 1.55; margin-bottom: 0; }
.note-bar {
  margin-top: 20px;
  padding: 22px 22px 22px 20px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  border-radius: 6px;
  background: #121840;
}
.note-bar p { margin: 0; color: #fff; font-size: 18px; line-height: 1.55; }
.note-bar span { color: #9dacff; font-size: 20px; margin-top: 4px; }

.partners-page { min-height: 841px; padding-top: 0; }
.partners-page h2 { margin-bottom: 40px; }
.partners-image { margin-top: 10px; }

.contact-page { min-height: 713px; padding-top: 58px; }
.contact-page h2 { margin-bottom: 26px; }
.contact-lead { text-align: center; color: var(--muted); font-size: 18px; line-height: 1.6; margin-bottom: 22px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-top: 20px;
}
.contact-card { min-height: 175px; padding: 18px; }
.contact-card .round-icon { margin: 0 0 16px; }
.contact-card h3 { font-size: 22px; color: #dedce7; margin-bottom: 10px; }
.contact-card p { color: #e0deea; font-size: 18px; margin-bottom: 0; }
.contact-card a { color: #7c8ff0; }
.contact-actions { margin-top: 18px; }

@media (max-width: 900px) {
  .hero-page, .two-columns, .solution-grid.three, .process-steps, .payment-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-page { padding: 34px 14px; }
  .hero-copy { padding: 30px 8px; }
  .hero-image { height: auto; }
  .about-image, .planning-image, .partners-image { margin-top: 0; }
  .page h2 { font-size: clamp(32px, 8vw, 44px); }
}

@media (max-width: 560px) {
  .page { padding-inline: 14px; }
  .mare-logo { max-width: 100%; margin-bottom: 28px; }
  .button { width: 100%; }
  .actions { width: 100%; }
  .hero-page h1 { font-size: 36px; }
  .hero-page p, .lead, .text-block p, .solution-card p, .payment-grid p, .contact-card p { font-size: 16px; }
}


/* Hero sem imagem - versão solicitada */
.hero-page.hero-page-noimage {
  max-width: var(--max);
  min-height: auto;
  padding: 28px 14px 34px;
  display: block;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(380px, 1fr);
  gap: 34px;
  align-items: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-copy.hero-copy-right {
  text-align: left;
  padding: 0;
}

.hero-page.hero-page-noimage .mare-logo {
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.hero-page.hero-page-noimage h1 {
  margin-bottom: 18px;
}

.hero-page.hero-page-noimage p {
  max-width: 760px;
  margin: 0 0 24px;
}

.hero-actions {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-brand {
    justify-content: flex-start;
  }

  .hero-page.hero-page-noimage .mare-logo {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .hero-page.hero-page-noimage {
    padding-top: 22px;
  }

  .hero-page.hero-page-noimage .mare-logo {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: 100%;
  }
}


/* Hero refinado v3: mais centralizado, logo menor e botões no estilo Gamma */
.hero-page.hero-page-noimage {
  padding: 34px 14px 40px;
}

.hero-layout {
  grid-template-columns: 340px 560px;
  justify-content: center;
  gap: 44px;
  max-width: 980px;
  margin: 0 auto;
}

.hero-brand {
  justify-content: center;
}

.hero-page.hero-page-noimage .mare-logo {
  max-width: 350px;
}

.hero-copy.hero-copy-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-page.hero-page-noimage h1 {
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-page.hero-page-noimage p {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
}

.hero-actions .button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
}

.hero-actions .button.filled {
  background: #6678e8;
  border-color: #6678e8;
  color: #ffffff;
}

.hero-actions .button.outline {
  background: transparent;
  border: 1px solid #4f67e8;
  color: #5f78ff;
}

.hero-actions .button.filled:hover,
.hero-actions .button.outline:hover {
  transform: none;
  filter: brightness(1.03);
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 300px minmax(320px, 1fr);
    gap: 28px;
    max-width: 860px;
  }

  .hero-page.hero-page-noimage .mare-logo {
    max-width: 300px;
  }
}

@media (max-width: 760px) {
  .hero-layout {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 20px;
  }

  .hero-brand,
  .hero-copy.hero-copy-right {
    justify-content: center;
    text-align: center;
  }

  .hero-page.hero-page-noimage .mare-logo {
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-page.hero-page-noimage p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .button {
    min-width: 250px;
  }
}


/* Ajuste v4: logomarca 20% maior em relação à versão v3 */
.hero-page.hero-page-noimage .mare-logo {
  max-width: 420px;
}

@media (max-width: 980px) {
  .hero-page.hero-page-noimage .mare-logo {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .hero-page.hero-page-noimage .mare-logo {
    max-width: 312px;
  }
}


/* Ajuste v5: a logomarca ocupa toda a área destinada a ela no hero */
.hero-page.hero-page-noimage .hero-layout {
  grid-template-columns: 470px 560px;
  max-width: 1090px;
  gap: 42px;
}

.hero-page.hero-page-noimage .hero-brand {
  width: 100%;
}

.hero-page.hero-page-noimage .mare-logo {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
}

@media (max-width: 1120px) {
  .hero-page.hero-page-noimage .hero-layout {
    grid-template-columns: minmax(390px, 44vw) minmax(440px, 1fr);
    max-width: 100%;
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .hero-page.hero-page-noimage .hero-layout {
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 24px;
  }

  .hero-page.hero-page-noimage .mare-logo {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .hero-copy.hero-copy-right {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-page.hero-page-noimage .mare-logo {
    width: min(100%, 420px);
  }
}
