/* GestorPrev — estilo institucional inspirado em landing RPPS (3IT-like) */
:root {
  --gp-navy: #061a4d;
  --gp-navy-mid: #0a2f86;
  --gp-primary: #0a2f86;
  --gp-primary-dark: #061a4d;
  --gp-ink: #1a2333;
  --gp-muted: #5c6b80;
  --gp-line: #dde5f0;
  --gp-bg: #ffffff;
  --gp-soft: #f3f6fb;
  --gp-font: "Titillium Web", Helvetica, Arial, sans-serif;
  --gp-header-h: 78px;
  --gp-shadow: 0 28px 60px rgba(6, 26, 77, 0.18);
}

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

html { scroll-behavior: smooth; }

body.gp-body {
  margin: 0;
  font-family: var(--gp-font);
  color: var(--gp-ink);
  background: var(--gp-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.gp-container {
  width: min(1180px, calc(100% - 2.75rem));
  margin-inline: auto;
}

/* —— Header —— */
.gp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--gp-header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.gp-header.is-scrolled {
  background: rgba(6, 26, 77, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gp-header__inner {
  width: min(1180px, calc(100% - 2.75rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gp-brand__mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.gp-brand__text span {
  font-weight: 400;
  opacity: 0.92;
}

.gp-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.gp-nav a {
  padding: 0.55rem 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.gp-nav a:hover,
.gp-nav a.is-active {
  color: #fff;
}

.gp-nav__cta {
  margin-left: 0.35rem !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 0.45rem 1rem !important;
}

.gp-nav__cta:hover {
  background: #fff;
  color: var(--gp-navy) !important;
}

.gp-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

/* —— Hero (estilo 3IT) —— */
.gp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 50% at 78% 55%, rgba(10, 47, 134, 0.45), transparent 60%),
    linear-gradient(135deg, #04133a 0%, #061a4d 40%, #0a2f86 100%);
}

.gp-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.75rem));
  margin: 0 auto;
  padding: calc(var(--gp-header-h) + 2rem) 0 3.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.gp-hero__copy {
  max-width: 34rem;
}

.gp-hero__brandline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8bce8;
}

.gp-hero__brandline img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.gp-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.gp-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.gp-hero__sub {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.gp-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
}

.gp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gp-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.gp-hero__visual::before {
  content: "";
  position: absolute;
  width: min(78%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 55%, transparent 70%);
  z-index: 0;
}

.gp-hero__crest {
  position: relative;
  z-index: 1;
  width: min(58%, 340px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0.35) 100%);
  mask-image: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0.35) 100%);
  animation: gp-float 7s ease-in-out infinite;
}

.gp-hero__visual img {
  position: relative;
  z-index: 1;
}

@keyframes gp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gp-btn:hover { transform: translateY(-1px); }

.gp-btn--primary {
  background: #fff;
  color: var(--gp-navy);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.gp-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.gp-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.gp-btn--solid {
  background: var(--gp-primary);
  color: #fff;
}

.gp-btn--solid:hover { background: var(--gp-primary-dark); }

/* —— Sections —— */
.gp-section {
  padding: 5.5rem 0;
  background: #fff;
}

.gp-section--soft { background: var(--gp-soft); }
.gp-section--navy {
  background: linear-gradient(135deg, var(--gp-navy) 0%, var(--gp-navy-mid) 100%);
  color: #fff;
}

.gp-section__head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.gp-section__head--left {
  margin-left: 0;
  text-align: left;
}

.gp-section__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gp-primary);
}

.gp-section--navy .gp-section__eyebrow { color: #a8bce8; }

.gp-section__head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gp-ink);
}

.gp-section--navy .gp-section__head h2 { color: #fff; }

.gp-section__head p {
  margin: 0;
  color: var(--gp-muted);
  font-size: 1.08rem;
}

.gp-section--navy .gp-section__head p { color: rgba(255, 255, 255, 0.78); }

.gp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.gp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Empresa / métricas —— */
.gp-about__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.gp-about__intro p {
  margin: 0;
  color: var(--gp-muted);
  font-size: 1.08rem;
}

.gp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gp-metrics__item {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--gp-line);
  text-align: center;
}

.gp-section--soft .gp-metrics__item {
  box-shadow: 0 10px 30px rgba(6, 26, 77, 0.05);
}

.gp-metrics__item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gp-primary);
  line-height: 1;
}

.gp-metrics__item span {
  color: var(--gp-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* —— Soluções —— */
.gp-solutions {
  display: grid;
  gap: 4rem;
}

.gp-solution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.gp-solution--flip .gp-solution__media { order: 2; }
.gp-solution--flip .gp-solution__body { order: 1; }

.gp-solution__media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--gp-shadow);
  background: var(--gp-navy);
}

.gp-solution__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gp-solution:hover .gp-solution__media img {
  transform: scale(1.03);
}

.gp-solution__body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gp-solution__text {
  margin: 0 0 1rem;
  color: var(--gp-muted);
  font-size: 1.02rem;
}

.gp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.gp-feature-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  color: var(--gp-muted);
  font-size: 0.98rem;
}

.gp-feature-list li::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: #e8eef8
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230a2f86' d='M6.5 11.2 3.3 8l1-1 2.2 2.2 5-5 1 1z'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

/* —— Consultoria —— */
.gp-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.gp-service {
  padding: 1.35rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--gp-line);
  border-top: 3px solid var(--gp-primary);
}

.gp-service__img {
  width: 72px;
  height: 72px;
  margin-bottom: 0.95rem;
  border-radius: 10px;
  object-fit: cover;
}

.gp-service h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.gp-service p {
  margin: 0;
  color: var(--gp-muted);
  font-size: 0.98rem;
}

@media (max-width: 960px) {
  .gp-services {
    grid-template-columns: 1fr;
  }
}

/* —— Contato —— */
.gp-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.gp-contact__info {
  display: grid;
  gap: 1.35rem;
}

.gp-contact__item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gp-navy);
}

.gp-contact__item p,
.gp-contact__item a {
  margin: 0;
  color: var(--gp-muted);
}

.gp-contact__item a:hover { color: var(--gp-primary); }

.gp-form {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--gp-line);
  box-shadow: 0 16px 40px rgba(6, 26, 77, 0.08);
}

.gp-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gp-form .gp-field { margin-bottom: 1rem; }

.gp-form input,
.gp-form textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--gp-ink);
  background: #fff;
}

.gp-form input:focus,
.gp-form textarea:focus {
  outline: none;
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 3px rgba(10, 47, 134, 0.18);
}

.gp-form textarea {
  min-height: 140px;
  resize: vertical;
}

.gp-form__status {
  display: none;
  margin-top: 0.75rem;
  font-weight: 700;
}

.gp-form__status.is-ok { display: block; color: #1f7a4d; }
.gp-form__status.is-err { display: block; color: #c0392b; }

/* —— Footer —— */
.gp-footer {
  background: linear-gradient(135deg, #04133a 0%, #061a4d 45%, #0a2f86 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.gp-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr 0.9fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.gp-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gp-footer__logo img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.gp-footer__logo span span {
  font-weight: 400;
  opacity: 0.9;
}

.gp-footer__brand p {
  margin: 0;
  max-width: 22ch;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gp-footer__col h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gp-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.gp-footer__col p,
.gp-footer__col li {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gp-footer__col a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  transition: color 0.2s ease;
}

.gp-footer__col a:hover {
  color: #fff;
}

.gp-footer__social {
  display: flex;
  gap: 0.55rem;
}

.gp-footer__social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gp-footer__social a:hover {
  background: var(--gp-primary);
  border-color: var(--gp-primary);
}

.gp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
  text-align: center;
}

.gp-footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 960px) {
  .gp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gp-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .gp-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .gp-nav {
    position: fixed;
    top: calc(var(--gp-header-h) + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 8px;
    background: #061a4d;
    box-shadow: var(--gp-shadow);
  }

  .gp-nav.is-open { display: flex; }

  .gp-nav__cta {
    text-align: center;
    justify-content: center;
  }

  .gp-hero__inner,
  .gp-about__intro,
  .gp-solution,
  .gp-solution--flip,
  .gp-contact,
  .gp-metrics,
  .gp-services {
    grid-template-columns: 1fr;
  }

  .gp-solution--flip .gp-solution__media,
  .gp-solution--flip .gp-solution__body { order: initial; }

  .gp-hero__crest {
    width: min(62%, 260px);
  }

  .gp-hero__visual::before {
    width: min(85%, 300px);
  }
}
