:root {
  --blue-900: #052A49;
  --blue-700: #1161A0;
  /* principal */
  --blue-600: #1E85C5;
  /* médio */
  --blue-400: #27AAE1;
  /* claro */
  --orange: #F6A41C;
  --gray-500: #A0A0A0;
  --bg: #ffffff;
  --container: 1200px;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(5, 42, 73, .08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--blue-900);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 20px;
}

/* ---------------- Header ---------------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(17, 97, 160, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--blue-700);
}

.brand img {
  height: 36px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--blue-900);
  transition: background .2s ease;
}

nav a:hover {
  background: rgba(30, 133, 197, .08);
}

/* ---------------- Botões ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--blue-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--blue-700);
  border: 1px solid rgba(17, 97, 160, .25);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(17, 97, 160, .06);
}

/* ---------------- Hero Section ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30, 133, 197, .15), transparent 60%),
    linear-gradient(180deg, #F7FBFF 0%, #ECF5FC 60%, #FFFFFF 100%);
  isolation: isolate;
}

.hero .texture {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 164, 28, .12);
  color: #8a5b05;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}

h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  margin: 14px 0 12px;
  color: var(--blue-900);
}

.hero p.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: #244867;
  margin: 0 0 22px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px;
  /*border-radius: 24px; 
  background: #fff; 8?
  box-shadow: var(--shadow); */
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  /*background: radial-gradient(380px 220px at 50% 45%, rgba(255, 255, 255, .9), rgba(39, 170, 225, .15) 60%, transparent 75%); */
  z-index: -1;
}

.hero-logo {
  width: min(420px, 90%);
  height: auto;
  display: block;
}

/* Logotipo maior apenas no Hero Section */
.hero-logo-hero {
  width: min(500px, 90%);
}

/* ---------------- Sections ---------------- */

section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 12px;
  color: var(--blue-900);
}

.section-sub {
  color: #3b5570;
  margin: 0 0 28px;
}

.logo-sobre {
  margin-top: 60px;
  text-align: center;
}

.logo-sobre img {
  width: 260px;
  opacity: .9;
}

/* ---------------- Cards ---------------- */

.cards {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid rgba(17, 97, 160, .12);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(5, 42, 73, .12);
  border-color: rgba(30, 133, 197, .25);
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(17, 97, 160, .12), rgba(39, 170, 225, .12));
  color: var(--blue-700);
  margin-bottom: 12px;
  font-weight: 900;
}

.pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 97, 160, .08);
  color: var(--blue-700);
}

/* ---------------- Feature band ---------------- */

.band {
  background:
    radial-gradient(1000px 400px at 10% 0%, rgba(30, 133, 197, .12), transparent 60%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  border-top: 1px solid rgba(17, 97, 160, .08);
  border-bottom: 1px solid rgba(17, 97, 160, .08);
}

.techline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.techline .chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(17, 97, 160, .25);
  color: var(--blue-700);
  background: #fff;
  font-weight: 700;
  font-size: .9rem;
}

/* ---------------- Grid 4 ---------------- */

.grid-4 {
  display: grid;
  gap: 16px;
}

@media (min-width: 820px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------- Contact ---------------- */

.contact {
  background:
    radial-gradient(900px 360px at 85% 0%, rgba(30, 133, 197, .16), transparent 60%),
    linear-gradient(180deg, #F7FBFF 0%, #EEF6FC 60%, #FFFFFF 100%);
  border-top: 1px solid rgba(17, 97, 160, .08);
}

form {
  display: grid;
  gap: 12px;
  max-width: 700px;
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(17, 97, 160, .12);
  box-shadow: var(--shadow);
}

label {
  font-weight: 600;
  color: #244867;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 97, 160, .25);
  font: inherit;
  color: var(--blue-900);
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.help {
  font-size: .9rem;
  color: #49647e;
}

/* ---------------- Footer ---------------- */

footer {
  background: var(--blue-700);
  color: #fff;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

footer .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

footer .social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

footer .social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: white;
  font-weight: 700;
}

/* ---------------- Animations ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ---------------- Utilities ---------------- */

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.center {
  text-align: center;
}

/* -------- Ajuste responsivo do Hero Section -------- */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-logo-wrap {
    margin-top: 40px;
  }

  .hero-logo {
    width: 70%;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* -------- Menu Responsivo -------- */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--blue-700);
  transition: transform 0.2s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 860px) {
  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    width: 100%;
    max-width: 280px;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid rgba(17, 97, 160, .08);
    border-bottom: 1px solid rgba(17, 97, 160, .08);
    box-shadow: 0 8px 16px rgba(5, 42, 73, .12);
    padding: 16px;
    border-radius: 0 0 12px 12px;
    text-align: right;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  nav ul.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a {
    padding: 12px;
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  /* Esconde o botão "Fale com a Invista" do topo */
  nav ul li:last-child {
    margin-top: 12px;
  }
}

.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.contact-email {
  font-size: 1rem;
  color: #244867;
}

.contact-email a {
  font-weight: 700;
  color: var(--blue-700);
}

.contact-email a:hover {
  text-decoration: underline;
}