/* Estilos modernizados - visual tecnológico e acessível */
:root {
  --bg-1: #cae7f8; /* slightly lighter deep navy */
  --bg-2: #f5def5; /* slightly lighter secondary */
  --nav-bg: #ffffffb9;
  --nav-text: #86257e;
  --glass: rgba(255, 255, 255, 0.04);
  --muted: #39495a;
  --accent-cyan: rgb(0, 212, 255);
  --accent-magenta: rgb(161, 75, 255);
  --accent-green: #25d366; /* WhatsApp green (logo accent) */
  --logo-bg: #083428; /* dark green block for logo */
  --logo-accent: var(--accent-green);
  --white: #ffffff;
  --dark: #202e2e;
  --card-radius: 14px;
  --container-max: 1200px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(
    180deg,
    var(--bg-1),
    var(--bg-2)
  ); /* Cor sólida neutra e clara */
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero .container {
  padding: 0 50px;
}

/* Typography improvements for legibility */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.15;
  margin-top: 0.25rem;
}

.headline {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  margin: 0;
  font-weight: 800;
}
.subtitle {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Make paragraph text easier to read */
p,
.card p,
.subtitle,
.lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Card headings and body text */
.card h3,
.service-card h3,
.benefit-card h4,
.solution-card h4 {
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--dark);
}
.card p,
.service-card p {
  font-size: 0.98rem;
  color: var(--muted);
}

/* Form inputs readable */
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 0.95rem;
  line-height: 1.4;
}

section {
  padding: 60px 0; /* Padding padronizado */
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-image: url("/assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 26, 53, 0.808); /* Azul escuro com transparência */
  z-index: 0;
}
.hero .container,
.hero > *:not(.bg-elements) {
  position: relative;
  z-index: 1;
}
.hero .bg-elements {
  display: none; /* Ocultar elementos decorativos antigos */
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  padding: 8px 14px;
  border-radius: 999px;
  color: #031026;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  margin: 0 auto;
}

.badge .icon {
  width: 18px;
  height: 18px;
}

.icon {
  width: 20px;
  height: 20px;
}
.headline {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.02;
  margin: 0;
  font-weight: 800;
  color: #ffffff; /* Cor branca para sobressair */
}
.headline .highlight {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 6px;
  border-radius: 6px;
}
.subtitle {
  color: rgba(255, 255, 255, 0.95); /* Branco com leve transparência */
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.subtitle .green {
  color: var(--accent-green);
  font-weight: 600;
}

.stats {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.stat {
  background: linear-gradient(180deg, rgba(125, 179, 223, 0.377), transparent);
  padding: 14px 18px;
  border-radius: 12px;
  min-width: 160px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.stat .value {
  font-weight: 800;
  font-size: 1.4rem;
}
.stat div {
  color: rgba(255, 255, 255, 0.9); /* Branco para sobressair */
  font-size: 0.95rem;
  margin-top: 6px;
}
.value.green {
  color: var(--accent-green);
}
.value.blue {
  color: var(--accent-cyan);
}
.value.purple {
  color: var(--accent-magenta);
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}
.btn-histories {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  color: var(--dark);
  cursor: pointer;
  font-weight: 700;
}
.btn.primary {
  background: var(--white);
  color: #071027;
  box-shadow: 0 8px 30px rgba(57, 48, 66, 0.12);
}
.btn.outline {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
.btn.light {
  background: rgba(255, 255, 255, 0.06);
}

.trust {
  margin-top: 26px;
  color: var(--muted);
  text-align: center;
}
.logos {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}
.logos div {
  width: 80px;
  height: 36px;
  background: linear-gradient(
    90deg,
    rgba(0, 212, 255, 0.5),
    rgba(161, 75, 255, 0.5)
  );
  border-radius: 8px;
}
.logos h5 {
  color: var(--nav-text);
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

/* SERVICES */
.services-section {
  padding: 60px 0; /* Padding padronizado */
  background: transparent; /* Alternado - sem background */
}

.services-section .section-title {
  font-size: 1.8rem;
  margin-top: 6px;
}
.services-section .container {
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.service-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 14px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
  text-align: center;
  align-items: center;
}
.service-card .bar {
  height: 56px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.bar.blue {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}
.bar.purple {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}
.bar.green {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}
.bar.orange {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}
.card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.icon-box i,
.icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--dark);
  display: block;
}
.card-header h3 {
  margin: 0;
  font-size: 1.05rem;
}
.card-header p {
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card-content {
  margin-top: auto;
}
.card-content ul {
  list-style: none;
  padding: 0;
  color: var(--muted);
  margin: 12px 0;
}
.card-content li {
  margin: 8px 0;
}
.btn.dark {
  background: #071027;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
}

.cta-box {
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}

/* BENEFITS */
.benefits {
  padding: 60px 0; /* Padding padronizado */
  background: transparent; /* Alternado - sem background */
}

.benefits .benefits-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card .icon-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.card h3 {
  margin: 12px 0 6px 0;
}
.card p {
  color: var(--muted);
  margin: 0;
}

.success {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}
.success .stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.success .stat-item {
  min-width: 140px;
  text-align: center;
}
.success .stat-item .stat-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-magenta);
}
/* ensure stat icons are centered */
.success .stat-item .stat-icon {
  display: block;
  margin: 0 auto 6px auto;
}
.success .stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  margin-top: 6px;
}

/* CONTACT */
.contact-section {
  margin-bottom: -40px;
  padding: 60px 0; /* Padding padronizado */
  border-radius: 0;
  background: #ffffff; /* Background branco sólido para destacar */
}
.contact-section .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}
.contact-section .title {
  font-size: 1.8rem;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.form-card {
  max-width: 650px;
  width: 100%;
}

/* Footer Contact styles */
.footer-contact {
  padding: 46px 0 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 22px;
  align-items: start;
}
.footer-form {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  padding: 26px;
  border-radius: 14px;
}
.footer-form .muted {
  text-align: left;
  margin-top: 0;
  margin-bottom: 14px;
}
.footer-contact .footer-info {
  display: flex;
  gap: 18px;
  flex-direction: column;
  text-align: left;
}
.footer-contact .footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-contact .logo-img.small {
  width: 68px;
  height: 68px;
  border-radius: 10px;
}
.footer-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.footer-contacts ul li {
  margin: 8px 0;
  color: var(--muted);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.social-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.footer-bottom {
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
  }
}
.contact-info {
  max-width: 650px;
  margin-left: -100px;
  width: 100%;
  /* destacar bloco de contato com mesmo estilo do form-card */
  /* destaque visual do card do formulário */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  padding: 22px 20px;
  border-radius: 14px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.4),
    0 6px 18px rgba(16, 102, 155, 0.08) inset;
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: visible;
}

/* Make the contact form visually larger and centered on wide screens */
.contact-section .form-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 26px;
}

/* SITE FOOTER */
.site-footer {
  position: relative;
  margin-top: 36px;
  color: #ffffff; /* Texto branco para contrastar com background */
  background-image: url("/assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 40px 0 12px 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 26, 53, 0.808); /* Mesmo overlay do hero */
  z-index: 0;
}

.site-footer .footer-inner,
.site-footer .footer-bottom,
.site-footer .footer-inner *,
.site-footer .footer-bottom * {
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  color: rgba(255, 255, 255, 0.95); /* Títulos brancos */
}

.site-footer .footer-inner {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  /* align the main block (left) to the left of the container */
  justify-content: flex-start;
  padding: 18px 20px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 320px;
  /* ensure the left column content is left-aligned */
  align-items: flex-start;
  text-align: left;
}
.footer-logo {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}
.footer-slogan {
  color: rgba(255, 255, 255, 0.85); /* Branco com transparência */
  font-size: 0.98rem;
  margin-top: 6px;
}
.footer-contacts {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-icon {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.9); /* Branco para contrastar */
}
.footer-link {
  color: rgba(255, 255, 255, 0.9); /* Branco para contrastar */
  font-weight: 700;
  text-decoration: none;
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: auto;
  margin-left: auto;
  text-align: left;
}
.footer-socials h4,
.footer-links h4 {
  margin: 0 0 10px 0;
}
.social-list {
  display: flex;
  gap: 10px;
}
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.04); /* subtle contrast on light page */
  color: var(--nav-text); /* keep social icons aligned with site accent color */
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.social i {
  width: 18px;
  height: 18px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8); /* Branco com transparência */
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Borda branca sutil */
  padding: 12px 0 26px 0;
  margin-top: 12px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.85); /* Branco para contrastar */
}
.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.85);
}
.policies {
  display: flex;
  gap: 14px;
}
.policies a {
  color: rgba(255, 255, 255, 0.8); /* Branco para contrastar */
  text-decoration: none;
  font-size: 0.95rem;
}
.policies a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-footer .footer-inner {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .footer-left,
  .footer-right {
    min-width: auto;
    width: 100%;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* decorative vertical stripe + subtle glow */
.contact-info::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 18px;
  bottom: 18px;
  width: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
  box-shadow: 0 10px 30px rgba(161, 75, 255, 0.12),
    0 4px 14px rgba(37, 211, 102, 0.08);
  filter: blur(2px);
  opacity: 0.95;
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.5),
    0 8px 30px rgba(16, 102, 155, 0.1) inset;
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.44),
    0 8px 28px rgba(16, 102, 155, 0.09) inset;
}
.info-item {
  display: flex;
  gap: 12px;
  margin-left: 10px;
  /* align-items: center;
  justify-content: center;
  text-align: left; */
}
.info-item .icon {
  /* width: 44px; */
  height: 44px;
  display: inline-flex;
  /* align-items: center;
  justify-content: center; */
  border-radius: 8px;
  font-size: 18px;
  margin-left: 10px;
}

/* Form internals: keep labels/inputs left-aligned for readability, but keep card centered */
.form-card h3 {
  text-align: center;
}
.form-card .form-group {
  text-align: left;
}
.form-card .form-row {
  display: flex;
  gap: 12px;
}
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
  width: 100%;
}

@media (max-width: 1000px) {
  .contact-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .contact-info {
    text-align: center;
  }
  .info-item {
    justify-content: center;
  }
  /* evitar que a barra decorativa colida no layout móvel */
  .form-card::before {
    display: none;
  }
  .contact-info::after {
    display: none;
  }
}
.form-card {
  /* destaque visual do card do formulário */
  background: #cae7f881;
  padding: 22px 20px;
  border-radius: 14px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.4),
    0 6px 18px rgba(16, 102, 155, 0.08) inset;
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: visible;
}

/* decorative vertical stripe + subtle glow */
.form-card::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 18px;
  bottom: 18px;
  width: 8px;
  border-radius: 8px;
  background: linear-gradient(
    175deg,
    var(--accent-magenta),
    var(--accent-cyan)
  );
  box-shadow: 0 10px 30px rgba(161, 75, 255, 0.12),
    0 4px 14px rgba(37, 211, 102, 0.08);
  filter: blur(2px);
  opacity: 0.95;
}

.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.5),
    0 8px 30px rgba(16, 102, 155, 0.1) inset;
}
.contact-form .form-row {
  display: flex;
  gap: 12px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.582);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 10px;
  border-radius: 8px;
  color: var(--dark);
}
.submit-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border: none;
  color: #031026;
  font-weight: 800;
}

/* feedback area (mensagens de envio) */
.form-feedback {
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  display: none;
  text-align: center;
  font-size: 0.95rem;
}
.form-feedback.success {
  display: block;
  color: #04331f;
  background: linear-gradient(
    90deg,
    rgba(37, 211, 102, 0.14),
    rgba(16, 102, 155, 0.03)
  );
  border: 1px solid rgba(37, 211, 102, 0.12);
}
.form-feedback.error {
  display: block;
  color: #3b0f12;
  background: linear-gradient(
    90deg,
    rgba(255, 65, 66, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 65, 66, 0.12);
}

/* Responsive */
@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .headline {
    font-size: 1.9rem;
  }
  .stat {
    min-width: 130px;
  }
}

/* small helpers */
.muted {
  color: var(--muted);
}

/* NAVBAR */
.navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  color: var(--nav-text);
  /* z-index: 2000; */
  padding: 8px 0 0 0; /* Margem menor no topo */
  display: flex;
  justify-content: space-between;
  margin-bottom: -15px; /* Sobreposição com hero */
}
/* Botão hambúrguer */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
}
.nav-inner {
  max-width: var(--container-max);
  /* width: 60%; */
  margin: 15px 10px 0px 0px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.308);
  backdrop-filter: blur(50px);
  border-radius: 20px; /* Bordas arredondadas apenas embaixo */
  box-shadow: 0 4px 20px rgba(2, 6, 23, 0.15);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--nav-text);
}
.logo svg {
  border-radius: 8px;
}
.logo-text {
  font-weight: 800;
  font-size: 1rem;
  color: var(--nav-text);
}
.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: flex-end; /* Alinhar na linha superior */
  padding-top: 0; /* Sem padding superior */
}
.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 700;
  padding-top: 0; /* Alinhar no topo */
}
.nav-links a:hover {
  color: var(--accent-magenta);
}

/* compensate for fixed navbar height */
/* body {
  padding-top: 72px;
} */

/*Navbar hide/show transition */
.navbar {
  transition: transform 280ms ease, opacity 240ms ease;
}
.navbar.nav-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

/* Back to top button */
.back-to-top {
  position: fixed !important;
  right: 30px !important;
  bottom: 30px !important;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(2, 6, 23, 0.25),
    0 8px 40px rgba(161, 75, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 300ms ease, transform 300ms ease, box-shadow 300ms ease,
    background 300ms ease;
  z-index: 99999 !important;
  pointer-events: none;
  visibility: hidden;
}
.back-to-top i,
.back-to-top svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke-width: 2.5;
  display: block;
}
.back-to-top:empty::before {
  content: "↑";
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}
.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}
.back-to-top.visible:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 6px 30px rgba(2, 6, 23, 0.35),
    0 12px 50px rgba(161, 75, 255, 0.4);
  background: linear-gradient(
    135deg,
    var(--accent-magenta),
    var(--accent-cyan)
  );
}
.back-to-top.visible:active {
  transform: translateY(-2px) scale(1) !important;
}

/* WhatsApp tooltip / toast used on desktop when copying the message */
.wa-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  bottom: 26px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    rgba(0, 128, 64, 0.12),
    rgba(37, 211, 102, 0.06)
  );
  color: #07311f;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  opacity: 0;
  transition: transform 260ms ease, opacity 220ms ease;
  z-index: 5000;
}
.wa-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----- MOBILE ----- */
@media (max-width: 800px) {
  /* Garante que o hamburger fique preso ao header */
  header.navbar {
    position: relative;
  }

  /* Hamburger sempre fixo no canto */
  .hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 28px;
    cursor: pointer;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
  }

  .nav-inner {
    position: absolute;
    top: 70px; /* ajusta conforme o tamanho da navbar */
    right: 10px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;

    background: transparent; /* tira o fundo branco gigante */
    box-shadow: none; /* remove a sombra grandona */
    border-radius: 0; /* remove borda arredondada do container */
    display: none; /* fica invisível até abrir */
  }

  /* Quando clicar no hamburger */
  .nav-inner.show {
    display: block;
  }

  /* Estilo do quadradinho do menu */
  .nav-links {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 180px; /* deixa firme, sem ficar gigante */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-links a {
    color: #000;
    font-weight: bold;
    text-align: center;
  }

  /* Ajuste do menu */
  #mobile-menu {
    /* display: none; */
    /* position: absolute; */
    top: 70px;
    right: 20px;
    z-index: 9998;
  }

  #mobile-menu.active {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    top: 0;
    left: 0;
    right: 0;
  }

  /* Mostra o hambúrguer */
  .hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nav-text);
  }

  /* Impede layout quebrado */
  .nav-inner {
    justify-content: space-between !important;
  }

  /* Some o menu no mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 30px;
    right: 10px;
    background: linear-gradient(
      75deg,
      rgba(15, 88, 122, 0.849)
    );
    padding: 20px;
    border-radius: 16px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    z-index: 99999;
  }

  /* Quando ativo */
  .nav-links.active {
    display: flex;
  }

  #mobile-menu {
    position: relative;
    z-index: 9999;
  }

  #mobile-menu.active {
    display: block; /* aparece quando o JS ativa */
  }

  .nav-links a {
    color: #dbd7d7 !important;
    font-size: 1.1rem;
  }

  .contact-section .form-card {
    max-width: 370px;
  }

  .btn.small {
    margin-left: 100px;
  }
}

@media (max-width: 600px) {
  .back-to-top {
    right: 20px;
    bottom: 25px;
    width: 48px;
    height: 48px;
  }
  .back-to-top i,
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Header: center logo and title */
.logo-center {
  display: flex;
  margin-left: 25px;
  align-items: flex-start; /* Alinhar no topo */
  gap: 6px;
}
.logo-img {
  width: 115px;
  height: 115px;
  display: block;
}
.logo-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-top: 4px;
  margin-right: 50px;
  color: var(--nav-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.logo-title:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.3),
    0 4px 10px rgba(16, 102, 155, 0.08) inset;
}
.nav-inner {
  gap: 8px;
}

/* New sections (pain/solution/benefits) - Backgrounds alternados */
.pain-section {
  padding: 60px 0; /* Padding padronizado */
  background: #ffffff; /* Background branco sólido para destacar */
}

.solution-section {
  padding: 60px 0; /* Padding padronizado */
  background: transparent;
}

.automation-benefits {
  padding: 60px 0; /* Padding padronizado */
  background: #ffffff; /* Background branco sólido para destacar */
}
.pain-section .lead,
.solution-section .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 12px;
}

/* AI Examples Section */
.ai-examples-section {
  padding: 60px 0; /* Padding padronizado */
  background: #ffffff; /* Background branco sólido para destacar */
}
.ai-examples-section .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 20px 0 16px 0;
  text-align: center;
}
.ai-examples-section .section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.7;
}

.conversation-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.conversation-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.conversation-image-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  transition: transform 220ms ease, box-shadow 220ms ease;
  max-width: 100%;
}

.conversation-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

.conversation-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.conversation-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.822), transparent);
  padding: 16px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.conversation-image-wrapper:hover .conversation-overlay {
  opacity: 1;
}

.conversation-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.conversation-info .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

.conversation-caption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

.ai-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.ai-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

.ai-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.ai-stat-icon i,
.ai-stat-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.ai-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.ai-stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  max-width: 120px;
}

@media (max-width: 1000px) {
  .conversation-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
  }
  .conversation-item {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .conversation-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
  }
  .conversation-item {
    max-width: 100%;
  }
  .conversation-image {
    max-height: 350px;
  }
  .ai-stats {
    gap: 30px;
  }
  .ai-stat-value {
    font-size: 1.6rem;
  }
}
.automation-benefits .benefit-list {
  list-style: none;
  padding: 0;
  margin: 14px auto 0;
  max-width: 720px;
}
.automation-benefits .benefit-list li {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  border-radius: 10px;
  margin: 8px 0;
  display: inline-block;
  min-width: 220px;
}

/* Improve spacing of cards and benefits grid */
.cards {
  gap: 20px;
}
.card {
  padding: 22px;
}
.card .metric {
  font-size: 1.05rem;
  margin-top: 8px;
}

/* Success stats spacing already defined; ensure icons and text centered */
.success .stat-item {
  padding: 8px;
}

/* Modal */
.modal {
  display: none;
}
.modal.open {
  display: block;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.modal-content {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(3, 20, 34, 0.96);
  padding: 22px;
  border-radius: 12px;
  max-width: 720px;
  width: 90%;
  z-index: 1001;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 8px;
}
.testimonial .quote {
  font-style: italic;
  margin: 0;
  color: var(--dark);
}
.testimonial .who {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-weight: 700;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-magenta);
}
.cards .metric {
  font-weight: 800;
  margin-top: 5px;
}

/* Pain cards */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  justify-items: center;
  margin-top: 18px;
}
.pain-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 12px;
  padding: 35px;
  min-width: 220px;
  min-height: 270px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pain-card h4 {
  margin: 10px 0 8px 0;
  font-size: 1.05rem;
}
.pain-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
.icon-box.accent-a {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box.accent-b {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box.accent-c {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-card .icon-box i {
  color: #fff;
  width: 22px;
  height: 22px;
}

/* Solution cards */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  justify-items: center;
  margin-top: 18px;
}
.solution-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 12px;
  padding: 35px;
  min-width: 220px;
  min-height: 270px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.solution-card h4 {
  margin: 10px 0 8px 0;
}
.solution-card p {
  color: var(--muted);
  margin: 0;
}

/* Ensure solution-cards inside contact-info center correctly */
.contact-info .solution-cards {
  justify-content: center;
}
.contact-info .solution-card {
  margin: 0 auto;
  text-align: center;
}

/* Benefits cards */
.benefits-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  justify-items: center;
  margin-top: 18px;
}
.benefit-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 12px;
  padding: 35px;
  min-width: 200px;
  min-height: 270px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefit-card h4 {
  margin: 10px 0 8px 0;
}
.benefit-card p {
  color: var(--muted);
  margin: 0;
}

/* Hover / interaction for all cards */
.service-card,
.card,
.pain-card,
.testimonial,
.solution-card,
.benefit-card,
.conversation-image-wrapper {
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.service-card:hover,
.card:hover,
.pain-card:hover,
.testimonial:hover,
.solution-card:hover,
.benefit-card:hover,
.conversation-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

/* Ensure lists inside cards center their items */
.card-content ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.btn.small {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 300px;
}

/* Center form and contact info as requested */
.form-card,
.contact-info {
  text-align: left;
}
