:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #111418;
  --text-soft: #6a7280;
  --line: #e3eaf4;
  --green: #004a2c;
  --green-soft: #e9f3ef;
  --blue: #0b2f73;
  --blue-soft: #edf2fd;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 22px rgba(13, 22, 40, 0.05);
  --shadow-md: 0 22px 50px rgba(13, 22, 40, 0.08);
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='60 110 80 110'%3E%3Cpath fill='rgba(1,48,20,0.016)' d='M78.19,192.76c-3.47-6.54-6.24-13.33-8.3-20.37-.98-5.05.12-19.82,6.99-19.04-1.67-7.47,3-7.61,9.26-6.45l10.77,2.43c8.69-2.65,13.25-.77,13.69,5.65h.75c2.87,7.27,9.07,13.91,10.1,21.86,3.56,27.39-27.4,35.34-43.25,15.91Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='60 110 80 110'%3E%3Cpath fill='rgba(2,42,104,0.012)' d='M78.19,192.76c-3.47-6.54-6.24-13.33-8.3-20.37-.98-5.05.12-19.82,6.99-19.04-1.67-7.47,3-7.61,9.26-6.45l10.77,2.43c8.69-2.65,13.25-.77,13.69,5.65h.75c2.87,7.27,9.07,13.91,10.1,21.86,3.56,27.39-27.4,35.34-43.25,15.91Z'/%3E%3C/svg%3E"),
    linear-gradient(115deg, rgba(233, 243, 239, 0.5), transparent 45%),
    linear-gradient(250deg, rgba(237, 242, 253, 0.55), transparent 40%),
    repeating-linear-gradient(
      135deg,
      rgba(11, 47, 115, 0.03) 0,
      rgba(11, 47, 115, 0.03) 1px,
      transparent 1px,
      transparent 26px
    ),
    #f7f9fc;
  background-repeat: repeat, repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: 28px 36px, 28px 36px, auto, auto, auto, auto;
  background-position: 0 0, 14px 18px, 0 0, 0 0, 0 0, 0 0;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-soft);
  max-width: 60ch;
  margin-top: 0.65rem;
}

.section-head p.no-line-break {
  white-space: nowrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.82);
  border-bottom: 1px solid rgba(11, 47, 115, 0.1);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

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

.brand-logo {
  height: calc(81px * 1.38);
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  color: #2b323b;
  font-size: 0.95rem;
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.menu a:hover {
  color: var(--blue);
  transform: scale(1.05);
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.btn {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-with-icon {
  gap: 8px;
}

.btn-icon-end {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.btn-main {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(130deg, var(--green), #00381f);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 74, 44, 0.2);
}

.btn-pulse {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn-main:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(10, 34, 74, 0.12);
}

.btn-ghost {
  padding: 0.76rem 1.15rem;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #d5e0f7;
}

.btn-system {
  padding: 0.55rem 0.95rem;
  font-size: 0.87rem;
  color: #405067;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #c8d4e8;
  box-shadow: none;
}

.btn-system:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #aebed8;
  box-shadow: 0 8px 18px rgba(10, 34, 74, 0.1);
}

.hero {
  padding: 40px 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.76rem;
  border-radius: 999px;
  border: 1px solid #cee1d7;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  margin-bottom: 0.95rem;
  animation: rise 0.7s ease both;
  transform-origin: left center;
}

h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.03;
  max-width: 620px;
  animation: rise 0.8s ease both;
  transform-origin: left center;
}

.hero-hover-highlight {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  transition: color 0.3s ease;
  will-change: color;
}

.tag.hero-hover-highlight {
  display: inline-flex;
}

h1.hero-hover-highlight {
  display: inline-block;
}

.tag.hero-hover-highlight:hover {
  color: var(--blue);
}

h1.hero-hover-highlight:hover {
  color: var(--green);
}

.hero p {
  margin: 1.1rem 0 1.8rem;
  max-width: 50ch;
  color: var(--text-soft);
  animation: rise 0.95s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  animation: rise 1.05s ease both;
}

.hero-list {
  margin-top: 30px;
  display: grid;
  gap: 15px;
  color: var(--text-soft);
  animation: rise 1.15s ease both;
}

.hero-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.6rem;
  padding: 0.72rem 1.1rem 0.72rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 47, 115, 0.16);
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(11, 47, 115, 0.08) 62%,
    rgba(11, 47, 115, 0.03) 84%,
    rgba(11, 47, 115, 0) 100%
  );
  box-shadow: 0 8px 18px rgba(11, 47, 115, 0.07);
  line-height: 1.6;
}

.hero-list li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
}

.hero-list li span {
  font-size: 0.93rem;
}

.hero-side {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fafcff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: zoom 0.8s ease 0.2s both;
}

.hero-highlight-cards {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 0.85rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid #d6e0f1;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 51, 102, 0.05) 100%);
  box-shadow: 0 10px 22px rgba(10, 34, 74, 0.08);
  padding: 1.05rem;
  text-align: left;
  transition: 0.3s ease;
}

.hero-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
}

.hero-card-title {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border: 1px solid #d6e0f1;
  border-radius: 999px;
  background: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(10, 34, 74, 0.14);
}

.side-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

main section {
  padding: 3.2rem 0;
}

.section-divider {
  width: min(var(--max-width), calc(100% - 2.2rem));
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(0, 74, 44, 0),
    rgba(0, 74, 44, 0.34),
    rgba(11, 47, 115, 0.34),
    rgba(11, 47, 115, 0)
  );
  opacity: 0.3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-topics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0.25rem;
}

.service-topic {
  display: flex;
  align-items: flex-start;
  gap: 0.78rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.service-topic:last-child {
  margin-bottom: 0;
}

.service-topic:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 74, 44, 0.45);
  box-shadow: 0 20px 38px rgba(12, 23, 44, 0.16);
}

.service-topic svg {
  width: 30px;
  height: 30px;
  margin-top: 0.12rem;
  flex: 0 0 30px;
  color: #16a34a;
}

.service-topic h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.service-topic p {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(12, 23, 44, 0.09);
}

.card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.03rem;
  color: var(--green);
  margin-bottom: 0.38rem;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.segment {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.segment:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 74, 44, 0.45);
  box-shadow: 0 20px 38px rgba(12, 23, 44, 0.16);
}

.segment h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--blue);
}

.segment h3 svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--blue);
}

.segment p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.step {
  border: 1px dashed #ccd8ed;
  border-radius: 16px;
  background: #fcfdff;
  padding: 1.08rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 23, 44, 0.07);
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.step h4 {
  font-family: "Sora", sans-serif;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid #d6e0f1;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 51, 102, 0.05) 100%);
  box-shadow: 0 10px 22px rgba(10, 34, 74, 0.08);
  padding: 0.95rem;
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(10, 34, 74, 0.14);
}

.faq-item h4 {
  display: inline-flex;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  padding: 0.36rem 0.72rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #fff9c4 0%, #ffe0b2 100%);
  color: #4e3b14;
}

.faq-item p {
  color: var(--text-soft);
  font-size: 0.94rem;
  text-align: justify;
}

.cta {
  margin-top: 1.4rem;
  border-radius: 22px;
  background: linear-gradient(140deg, #0b2f73, #0a2557);
  color: #fff;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 24px 40px rgba(11, 47, 115, 0.2);
}

.cta h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.cta p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.86);
}

.cta .btn-main {
  background: #fff;
  color: #0b2f73;
  box-shadow: none;
  padding: 0.96rem 1.44rem;
  font-size: 1.02rem;
  transition: 0.3s ease-in-out;
}

.cta .btn-main .btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  flex: 0 0 18px;
}

.cta .btn-main:hover {
  animation: cta-hover-pulse 0.9s ease-in-out infinite;
}

footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 1.4rem 0 2rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  display: grid;
  justify-items: center;
  gap: 0.38rem;
}

.footer-title {
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #3c4656;
  line-height: 1.45;
  text-align: center;
}

.footer-subtitle {
  max-width: 76ch;
  font-size: 0.82rem;
  color: #6a7280;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.footer-legal {
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: #4f5d72;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 93, 114, 0.35);
}

.footer-legal a:hover {
  color: #1f2d42;
  border-bottom-color: rgba(31, 45, 66, 0.5);
}

.footer-logo {
  height: calc(81px * 1.38);
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 65px;
  height: 65px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  animation: whatsapp-pulse 1.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
}

.whatsapp-float span {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(18, 140, 70, 0.24);
  }

  50% {
    box-shadow: 0 16px 30px rgba(18, 140, 70, 0.35);
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 26px rgba(0, 74, 44, 0.2);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 16px 34px rgba(0, 74, 44, 0.28);
  }
}

@keyframes cta-hover-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.32);
  }

  50% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .steps,
  .faq,
  .cta {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }

  .cta {
    align-items: flex-start;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
  }

  /* Corrige overflow horizontal causado por nowrap */
  .section-head p.no-line-break {
    white-space: normal;
  }

  .footer-subtitle {
    white-space: normal;
  }

  /* Hero mais compacto — mais conteúdo visível acima da dobra */
  .hero {
    padding: 22px 0 2.4rem;
  }

  /* Pills da hero-list viram cards quando empilham – evita text-wrap dentro de pill */
  .hero-list li {
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
  }

  /* Sidebar de cards mais compacta quando empilhada */
  .hero-side {
    padding: 0.9rem;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
  }

  .brand-logo {
    height: calc(64px * 1.38);
  }

  .navbar .btn {
    width: auto;
    padding-inline: 1rem;
    white-space: nowrap;
  }

  .side-note {
    grid-template-columns: 1fr;
  }

  /* Botões do hero empilhados limpamente (já são 100% largura) */
  .hero-actions {
    flex-direction: column;
  }

  /* CTA mais ajustada em telas pequenas */
  .cta {
    padding: 1.2rem 1.1rem;
    border-radius: 16px;
  }

  /* Permite que perguntas longas do FAQ quebrem linha */
  .faq-item h4 {
    display: flex;
    font-size: 0.91rem;
    white-space: normal;
  }

  /* Espaço extra no final para o botão flutuante do WhatsApp não cobrir o footer */
  footer {
    padding-bottom: 5rem;
  }

  /* h1 um pouco menor em telas muito pequenas (< 400px) */
  h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }
}
