@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --custom-primary: #D71059;
  --font-family: 'Poppins', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: #fff;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary) !important;
  border-color: var(--custom-primary) !important;
  color: #fff !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
}

#navbar {
  width: 100%;
  padding: 24px 0; /* cria respiro */
  position: relative;
  z-index: 10;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  max-height: 48px; /* ajuste conforme necessário */
}

.navbar-links {
  display: flex;
  gap: 32px;
}

/* LINKS NAVBAR */
.navbar-links a {
  color: #c2171a;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

/* hover elegante (sublinhado animado) */
.navbar-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #c2171a;
  transition: width 0.25s ease;
}

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

/* opcional: leve escurecida no hover */
.navbar-links a:hover {
  color: #a91416;
}

/* ================= HERO ================= */

#hero {
  min-height: 110vh; /* deixa mais alta que a tela */
}

.hero-overlay {
  min-height: 110vh;
  padding-top: 80px; /* distância do navbar */
  padding-bottom: 80px;
}


#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Imagem de fundo */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay + conteúdo */
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
}

/* Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* Texto */
.hero-text {
  color: #fff;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 560px;
}

/* Form */
.hero-form {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ================= RESPONSIVO ================= */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-form {
    padding: 32px;
  }
}

/* ================= SOLUÇÕES ================= */

.solutions-carousel {
  padding: 100px 0;
  background: #f1f3f8;
}

.solutions-carousel h2 {
  text-align: center;
  margin-bottom: 64px;
}

/* GRID DE 4 */
.solutions-track {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* ITEM */
.solution-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* IMAGEM */
.solution-item img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  margin-bottom: 24px;
}

/* TEXTO */
.solution-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.solution-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

/* CTA */
.solutions-carousel .btn-primary {
  display: block;
  margin: 64px auto 0;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .solutions-track {
    flex-wrap: wrap;
    justify-content: center;
  }

  .solution-item {
    max-width: 320px;
  }
}

.lista-beneficios {
  list-style: none;
  padding-left: 0;
}

.lista-beneficios li {
  margin-bottom: 10px;
}

.lista-beneficios li i {
  color: #28a745; /* cor do check */
  margin-right: 8px;
}

/* ================= DIFERENCIAIS ================= */

.diferenciais-carousel {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
}

.diferenciais-carousel h2 {
  margin-bottom: 64px;
}

/* GRID */
.diferenciais-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ITEM */
.diferencial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ÍCONE */
.diferencial-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}

/* TÍTULO */
.diferencial-item h3 {
  font-size: 16px;
  font-weight: 600;
}

/* TEXTO */
.diferenciais-info {
  margin-top: 64px;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.diferenciais-cta {
  margin-top: 32px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .diferenciais-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 500px) {
  .diferenciais-track {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ================= DIFERENCIAIS ================= */

.diferenciais-carousel {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.diferenciais-carousel h2 {
  text-align: center;
  margin-bottom: 64px;
}

/* ÍCONES */
.diferenciais-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}


/* ITEM */
.diferencial-item {
  flex: 1;
  max-width: 220px;
  text-align: center;
}


.diferencial-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}

.diferencial-item h3 {
  font-size: 16px;
  font-weight: 600;
}

/* TEXTO + BOTÃO */
.diferenciais-bottom {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.diferenciais-bottom p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* BOTÃO */
.btn-diferenciais {
  background: #c4161c;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-diferenciais:hover {
  background: #a51217;
}

@media (max-width: 768px) {
  .diferenciais-track {
    flex-wrap: wrap;
    justify-content: center;
  }
}

#segmentos {
  padding: 100px 0;
}

.segmentos-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* IMAGEM */
.segmentos-image {
  flex: 1;
}

.segmentos-image img {
  width: 100%;
  max-width: 520px;
  display: block;
}

/* CONTEÚDO */
.segmentos-content {
  flex: 1;
}

.segmentos-content h2 {
  margin-bottom: 24px;
}

.segmentos-content ul {
  margin-bottom: 32px;
  padding-left: 18px;
}

.segmentos-content li {
  margin-bottom: 10px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .segmentos-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .segmentos-content ul {
    text-align: left;
  }
}

#segmentos {
  padding: 100px 0;
  background-color: #f1f3f8;
}

#historia {
  padding: 100px 0;
}

.historia-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* TEXTO */
.historia-content {
  flex: 1;
}

.historia-content h2 {
  margin-bottom: 24px;
}

.historia-content p {
  margin-bottom: 16px;
}

/* IMAGEM */
.historia-image {
  flex: 1;
}

.historia-image img {
  width: 100%;
  max-width: 520px;
  display: block;
  margin-left: auto;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .historia-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .historia-content p {
    text-align: left;
  }

  .historia-image img {
    margin: 0 auto;
  }
}

#cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

/* IMAGEM */
.cta-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

/* OVERLAY */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

/* CONTEÚDO */
.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

#cta h2 {
  color: #fff;
  margin-bottom: 20px;
}

#cta p {
  color: #eaeaea;
  font-size: 18px;
  margin-bottom: 32px;
}

.footer {
  background: #f5f6f8;
  padding: 64px 0 48px;
}

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

/* LOGO */
.footer-logo {
  max-width: 250px;
  height: auto;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0b2b4b;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a i {
  font-size: 16px;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* COPYRIGHT */
.footer-copy {
  font-size: 14px;
  color: #6b7280;
}


/* RESPONSIVO */
@media (max-width: 600px) {
  .footer-links {
    gap: 20px;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: #c2181a;
  color: #ffffff;

  padding: 14px 36px;
  border-radius: 8px;

  font-weight: 600;
  font-size: 16px;
  text-decoration: none;

  border: none;
  cursor: pointer;

  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(194, 24, 26, 0.25);
}

.btn-primary:hover {
  background-color: #a91416;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 24, 26, 0.35);
}

.hero-form button,
.hero-form input[type="submit"] {
  background-color: #c2181a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-form button:hover,
.hero-form input[type="submit"]:hover {
  background-color: #a91416;
}

.btn-primary.center {
  display: inline-flex; /* impede esticar */
  margin: 64px auto 0 auto;
}

.solutions-carousel .btn-primary.center {
  display: inline-flex;
  margin-top: 64px;
}

.solutions-carousel {
  text-align: center;
}


section {
  scroll-margin-top: 120px; /* melhora navegação pelo menu */
}

/* ================= NAVBAR MOBILE ================= */
@media (max-width: 900px) {

  /* botão hambúrguer */
  .navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
  }

  .navbar-toggle span {
    width: 26px;
    height: 3px;
    background-color: #c2171a;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* esconde menu desktop */
  .navbar-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    width: 100%;
    max-height: 0;
    overflow: hidden;

    flex-direction: column;
    align-items: center;
    gap: 24px;

    padding: 0;
    transition: max-height 0.35s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  }

  .navbar-links a {
    padding: 12px 0;
    font-size: 18px;
  }

  /* quando ativo */
  .navbar-wrapper.active .navbar-links {
    max-height: 320px;
    padding: 32px 0;
  }

  /* animação do ícone */
  .navbar-wrapper.active .navbar-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .navbar-wrapper.active .navbar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* DESKTOP continua intacto */
@media (min-width: 901px) {
  .navbar-toggle {
    display: none;
  }
}
