:root {
  --multi-teal: #03a689;
  --multi-green: #1b7b4d;
  --multi-deep-green: #034b3f;
  --multi-deep-blue: #04364f;
  --multi-orange: #f58402;
  --multi-bg: #fefbee;
  --text-main: #04364f;
  --text-body: #1b7b4d;
  --white: #ffffff;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.12);
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--multi-bg);
  color: var(--text-body);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  height: 48px;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  transition: font-weight 0.15s ease-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--multi-teal);
  transition: width 0.22s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  font-weight: 800;
}

.btn-boleto {
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  background-color: var(--multi-deep-green);
  color: var(--white);
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background-color 0.25s ease-out;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-boleto:hover {
  transform: translateY(-1px);
  background-color: var(--multi-orange);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* MOBILE NAV */

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  z-index: 9999;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #004f4f; /* ajuste se quiser */
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

@media (max-width: 880px) {
  header {
    padding: 0.75rem 0;     /* 🔥 Dá espaço REAL para o logo */
  }

  .header-inner {
    padding: 0 1rem;        /* 🔥 Remove apertos laterais sem cortar o logo */
    min-height: 64px;       /* 🔥 GARANTE altura mínima para não cortar */
    display: flex;
    align-items: center;      /* dá um pouco mais de espaço vertical */
  }

  .logo-area img {
    height: 42px;           /* 🔥 Tamanho ideal para mobile */
    max-height: 42px;
    object-fit: contain;
  }

  nav {
    position: fixed;
    inset: 80px 0 auto 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    transform: translateY(-120%);
    transition: transform 0.25s ease-out;
    z-index: 60;
  }

  nav.open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-boleto {
    align-self: center;
    margin-top: 0.75rem;
  }

  .menu-toggle {
    display: flex; /* 🔹 Só aparece em mobile */
  }
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px; /* começa escondido */
  width: 260px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -3px 0 10px rgba(0,0,0,0.15);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.35s ease;
  z-index: 9998;
}

/* quando abre */
.mobile-nav.open {
  right: 0;
}

/* links do menu */
.mobile-nav a {
  font-size: 18px;
  text-decoration: none;
  color: #004f4f;
  font-weight: 500;
}

/* overlay escuro por trás */
#menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

#menuOverlay.show {
  opacity: 1;
  pointer-events: all;
}

/* HERO */

main {
  padding-top: 80px;
}

#hero {
  background: linear-gradient(
    135deg,
    var(--multi-deep-green),
    var(--multi-deep-blue)
  );
  color: var(--white);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-title {
  font-size: clamp(2.3rem, 3.1vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.hero-highlight {
  color: var(--multi-orange);
}

.hero-text {
  font-size: 1rem;
  max-width: 30rem;
  color: #e7f3f1;
}

.hero-image-wrapper {
  justify-self: center;
  max-width: 100%;   /* AUMENTE AQUI */
  width: 100%;        /* Garante expansão proporcional */
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1rem 3rem;
  }

  .hero-image-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  #hero {
    padding-top: 1.5rem;
  }
}

/* SEÇÕES GENÉRICAS */

section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: var(--text-body);
}

/* Classe de negrito para usar em qualquer parte do texto */
.text-strong {
  font-weight: 700;
}

/* QUEM SOMOS */

#quem-somos {
  background-color: var(--multi-bg);
}

/* VANTAGENS */

#vantagens {
  background-color: #ffffff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.benefit-card {
  background-color: var(--multi-deep-green);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease-out,
              box-shadow 0.2s ease-out,
              background-color 0.2s ease-out;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  background-color: var(--multi-green);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
}

.benefit-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.benefit-text {
  font-size: 0.95rem;
  color: #f4f6f8;
}

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

/* BLOCOS LARANJA – DESCONTOS */

#descontos {
  background-color: var(--multi-orange);
  color: var(--white);
}

.discount-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.discount-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.discount-label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.discount-value {
  font-size: 1.6rem;
  font-weight: 800;
}

.discount-caption {
  font-size: 0.98rem;
  opacity: 0.95;
}

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

/* PARCEIROS */

#parceiros {
  background-color: var(--multi-bg);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.partner-card {
  background-color: #ffffff;
  width: 180px;
  height: 110px;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-height: 70%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease-out, opacity 0.25s ease-out,
    transform 0.25s ease-out;
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .partners-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .partners-logos {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */

footer {
  background-color: var(--multi-deep-green);
  color: var(--white);
  padding-top: 2.8rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.2fr;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
}

.footer-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-wrapper img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* força branco no placeholder/logo */
}

.footer-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-block-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  font-size: 0.92rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.88;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.4rem;
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0 1.2rem;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-info,
  .footer-contact,
  .footer-links {
    text-align: center;
  }
}

section.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Quando a section entra em viewport */
section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   PÁGINAS LEGAIS – TERMOS / POLÍTICA
   ========================================= */


.section-legal {
  background: var(--multi-bg);
  /* espaçamento em relação ao header fixo */
  padding: 3rem 0 3.5rem;
}

.section-legal .legal-inner {
  /* quem controla o espaço vertical é a própria section */
  padding-top: 0;
  padding-bottom: 0;
}

.section-legal .legal-heading {
  max-width: 52rem;
  margin: 0 auto 2rem;        /* espaço consistente até o card */
  background: transparent;
  box-shadow: none;
}

.section-legal .legal-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;      /* distância para o subtítulo */
  text-align: left;
}

.section-legal .legal-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: #273142;             /* bem legível em fundo claro */
}

/* Card principal de conteúdo jurídico */
.section-legal .legal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem 2.25rem;
  max-width: 960px;
  margin: 0 auto;             /* centralizado, sem sobreposição */
  line-height: 1.6;
}

/* Títulos dos tópicos (h2) */
.section-legal .section-title {
  text-align: left;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2.25rem;        /* distância padrão após o fim do tópico anterior */
  margin-bottom: 0.5rem;      /* título próximo do seu texto */
}

/* Primeiro h2 dentro do card começa sem espaço extra no topo */
.section-legal .section-title:first-of-type {
  margin-top: 0;
}

/* Parágrafos dentro do card */
.section-legal .legal-card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: #273142;
}

/* Listas dentro do card */
.section-legal .legal-card ul,
.section-legal .legal-card ol {
  margin-top: 0;
  margin-bottom: 1.1rem;
  padding-left: 1.2rem;
}

.section-legal .legal-card li {
  margin-bottom: 0.35rem;
}

/* Observação final em tom mais discreto */
.section-legal .legal-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #555555;
}

/* Responsivo */
@media (max-width: 880px) {
  .section-legal {
    padding: 2.75rem 0 3rem;
  }

  .section-legal .legal-card {
    padding: 1.6rem 1.4rem;
  }

  .section-legal .legal-title {
    font-size: 2rem;
  }
}

#boleto {
  padding: 80px 0;
  background-color: var(--white);
}

.boleto-form-wrapper {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: center;
}

#cpfForm {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

#cpfForm input {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  flex: 1;
  min-width: 200px;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--multi-orange);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #e65c00;
}

#results table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
}

#results th,
#results td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

#results th {
  background-color: var(--multi-orange);
  color: white;
}