/* Resolve landing – correções de clone */

/* Header */
.drop-shadow-custom {
  box-shadow: 0 4px 20px rgba(25, 45, 87, 0.08);
}

header.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}

/* Hero background section */
section.bg-\[\#ebf4fb\] {
  background-color: #ebf4fb !important;
}

img[alt="Dot Details"] {
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Kanit, "Kanit Fallback", ui-sans-serif, system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

/* Botões convertidos de <button> para <a> */
a.flex,
a.inline-flex,
a[class*="bg-[#7fe786]"],
a[class*="bg-[#7FE786]"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

a[class*="Conhecer"],
a[href="#sobre"].cursor-pointer {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

button[data-consultar-btn] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

button[data-consultar-btn]:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

button[data-consultar-btn]:not(:disabled) {
  opacity: 1;
  cursor: pointer;
}

/* Hero / logos */
img[alt="RESOLVE"],
img[alt="Cenprot"],
img[alt="Green Arrow"],
img[alt="detail rectangle"] {
  display: block;
}

img[alt="Green Arrow"] {
  width: 19px;
  height: 16px;
  flex-shrink: 0;
}

img[alt="detail rectangle"] {
  width: 23px;
  height: 23px;
}

/* ── Footer (pixel-perfect) ── */
footer {
  font-family: Kanit, "Kanit Fallback", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: #fff;
}

/* Top bar: logo Resolve + redes sociais na mesma linha */
footer > div.flex.max-lg\:flex-col {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  min-height: 6rem !important;
  gap: 1.5rem !important;
}

footer > div.flex.max-lg\:flex-col > [data-svg-wrapper] {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

footer > div.flex.max-lg\:flex-col > [data-svg-wrapper] svg {
  display: block;
  width: 137px;
  height: 34px;
}

/* Redes sociais – sempre lado a lado */
footer .flex.align-center.justify-around {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  width: auto !important;
  height: auto !important;
  min-height: 24px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

footer .flex.align-center.justify-around > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  line-height: 0;
}

footer .flex.align-center.justify-around > a > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .flex.align-center.justify-around img {
  width: 24px !important;
  height: 24px !important;
  max-width: none !important;
  display: block !important;
}

/* Divider */
footer .h-px.bg-\[\#333c40\] {
  opacity: 1;
}

/* Bloco principal do footer */
footer > div.flex.max-lg\:flex-col.w-\[70vw\] {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
  gap: 2rem !important;
}

footer .text-white\/95,
footer [class*="text-[23px]"] {
  font-weight: 200 !important;
  font-size: 23px !important;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

footer .text-\[\#667378\].text-xs,
footer .lg\:w-\[624px\].text-xs {
  font-size: 12px !important;
  line-height: 14px !important;
  color: #667378 !important;
}

footer .text-\[\#eaedee\].text-xs {
  font-size: 12px !important;
  line-height: 14px !important;
  color: #eaedee !important;
}

footer .lg\:w-\[624px\].text-xs a {
  color: inherit;
  text-decoration: none;
}

footer .lg\:w-\[624px\].text-xs a:hover {
  text-decoration: underline;
}

/* Logos INEO + Cartórios à direita */
footer > div.flex.max-lg\:flex-col.w-\[70vw\] > div.lg\:w-60,
footer > div.flex.max-lg\:flex-col.w-\[70vw\] > div:last-child {
  flex: 0 0 auto;
}

footer > div.flex.max-lg\:flex-col.w-\[70vw\] > div:last-child .flex.items-center.justify-center.gap-8 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2rem !important;
}

footer > div.flex.max-lg\:flex-col.w-\[70vw\] > div:last-child img {
  width: 125px;
  height: 50px;
  object-fit: contain;
}

/* Header social */
nav.hidden.md\:flex.md\:gap-\[30px\] {
  display: none;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  nav.hidden.md\:flex.md\:gap-\[30px\] {
    display: flex !important;
  }
}

nav.hidden.md\:flex.md\:gap-\[30px\] a {
  display: inline-flex;
}

nav.hidden.md\:flex.md\:gap-\[30px\] img {
  width: 18px;
  height: 18px;
}

/* Tabs Pessoas / Empresas */
.flex.group.items-center.text-\[\#353e42\] {
  display: flex;
}

/* Mobile floating social */
.flex.absolute.bottom-0.top-\[90vh\] {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex.absolute.bottom-0.top-\[90vh\] a {
  display: inline-flex;
}

/* Hero consulta box */
.flex.flex-col.relative.w-full.h-auto.mt-12 {
  position: relative;
}

form.flex.flex-col.w-full.lg\:w-5xl,
form.flex.flex-col.w-full {
  position: relative;
}

/* Banner mobile */
img[alt="RESOLVE"][src*="banner-bg-mobile"] {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1023px) {
  img[alt="RESOLVE"][src*="banner-bg.png"]:not([src*="mobile"]) {
    display: none;
  }

  footer > div.flex.max-lg\:flex-col {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }

  footer .flex.align-center.justify-around {
    justify-content: center !important;
    margin-bottom: 2rem !important;
  }

  footer > div.flex.max-lg\:flex-col.w-\[70vw\] {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  footer .text-white\/95,
  footer [class*="text-[23px]"] {
    font-size: 20px !important;
    text-align: center;
  }

  .flex.absolute.bottom-0.top-\[90vh\] {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    top: auto;
    z-index: 40;
  }

  .whatsapp-float {
    bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  img[alt="RESOLVE"][src*="banner-bg-mobile"] {
    display: none;
  }

  .whatsapp-float {
    bottom: 1.5rem;
  }
}

/* Cards CPF/CNPJ */
button.flex.h-13,
a.flex.h-14.w-\[70\%\] {
  margin-left: auto;
  margin-right: auto;
}

/* Fix typo align-center globally where used as flex helper */
.flex.align-center {
  display: flex;
  align-items: center;
}

.flex.align-top {
  display: flex;
  align-items: flex-start;
}

.flex.align-middle {
  display: flex;
  align-items: center;
}
