:root {
  --blue-900: #1f3e74;
  --blue-700: #2a5197;
  --blue-100: #e7edf7;
  --gray-400: #adb5bd;
  --gray-700: #424242;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(28, 55, 99, 0.15);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--gray-700);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(
      circle at top left,
      rgba(42, 81, 151, 0.12),
      transparent 45%
    ),
    radial-gradient(circle at 70% 10%, rgba(173, 181, 189, 0.25), transparent 40%),
    #f7f9fc;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 81, 151, 0.08);
  z-index: 10;
}

.header-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 64px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue-900);
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.nav {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-700);
  font-size: 1.1rem;
}

.nav a {
  color: var(--gray-700);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-lgpd {
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font: inherit;
  cursor: pointer;
  padding-bottom: 0.2rem;
}

.nav-lgpd:hover {
  color: var(--blue-700);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-700);
  transition: width 0.2s ease;
}

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


.hero {
  min-height: calc(100vh - 96px);
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 1200px;
  height: 1200px;
  left: -260px;
  top: -220px;
  opacity: 0.12;
  background-color: var(--blue-700);
  mask: url("../img/falogo.svg") no-repeat center / contain;
  -webkit-mask: url("../img/falogo.svg") no-repeat center / contain;
  animation: heroFloat 65s linear infinite alternate;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-bottom {
  margin-top: 0;
}

.hero-bottom .lead {
  margin: 0 0 0.9rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--blue-700);
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  color: var(--blue-900);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 2.2vw + 1.8rem, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 1.4vw + 1.4rem, 2.4rem);
}

#contato h2 {
  margin-bottom: 0;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: inline;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero-card {
  background: rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 81, 151, 0.1);
  backdrop-filter: blur(6x);
  -webkit-backdrop-filter: blur(6px);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.hero-card h2 {
  margin-bottom: 0;
}

.hero-card p {
  margin: 0.6rem 0 1rem;
}

.hero-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(42, 81, 151, 0.15);
}

.btn.primary {
  background: var(--blue-700);
  color: var(--white);
  margin: 5px;
}

.btn.ghost {
  border-color: rgba(42, 81, 151, 0.4);
  color: var(--blue-700);
  background: transparent;
  margin: 5px;
}

.btn.small {
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
}

.btn-line {
  border-color: rgba(42, 81, 151, 0.35);
  background: transparent;
  color: var(--blue-700);
  box-shadow: none;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: rgba(42, 81, 151, 0.04);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 2rem;
}

.badge {
  background: var(--blue-700);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.tools-note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: #58606b;
  max-width: 820px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  border: 1px solid rgba(66, 66, 66, 0.08);
  box-shadow: 0 12px 26px rgba(25, 51, 96, 0.08);
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}

.card.highlight {
  background: linear-gradient(140deg, #ffffff, rgba(42, 81, 151, 0.08));
  border: 1px solid rgba(42, 81, 151, 0.2);
}

.card.center {
  text-align: center;
}

.card-icon {
  position: absolute;
  width: 200px;
  height: 200px;
  left: -20px;
  bottom: -20px;
  background-color: var(--blue-700);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-30deg);
}

.icon-pdf {
  mask: url("../img/pics/pic_pdf.svg") no-repeat center / contain;
  -webkit-mask: url("../img/pics/pic_pdf.svg") no-repeat center /
    contain;
}

.icon-clock {
  mask: url("../img/pics/pic_clock.svg") no-repeat center / contain;
  -webkit-mask: url("../img/pics/pic_clock.svg") no-repeat center /
    contain;
}

.icon-paste {
  mask: url("../img/pics/pic_upload.svg") no-repeat center / contain;
  -webkit-mask: url("../img/pics/pic_upload.svg") no-repeat center /
    contain;
}

.icon-screen {
  mask: url("../img/pics/pic_search.svg") no-repeat center /
    contain;
  -webkit-mask: url("../img/pics/pic_search.svg") no-repeat
    center / contain;
}

.icon-task {
  mask: url("../img/pics/pic_task.svg") no-repeat center / contain;
  -webkit-mask: url("../img/pics/pic_task.svg") no-repeat center / contain;
}

.card > :not(.card-icon) {
  position: relative;
  z-index: 1;
}

.card-pdf > * {
  position: relative;
  z-index: 1;
}

.muted {
  color: #58606b;
  font-size: 0.9rem;
}

@media (max-width: 639px) {
  .hero-card p,
  .hero-bottom .lead,
  .section-header p,
  .card:not(.center) p,
  .list-item p,
  .cta-banner p,
  .tools-note,
  #conformidade p,
  #conformidade .muted {
    text-align: justify;
  }
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.pill {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 81, 151, 0.2);
  background: var(--white);
  font-size: 0.9rem;
  text-align: center;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.list-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-700);
  box-shadow: 0 12px 24px rgba(28, 55, 99, 0.08);
}

.cta-banner {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--blue-700);
  color: var(--white);
}

.cta-banner h3 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 1.6rem 0 0;
}

.contact-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-row.divider {
  border-bottom: 1px solid #e1e5ea;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.8rem;
  padding: 0.6rem 0;
  align-items: center;
}

.contact-row + .contact-row {
  border-top: 1px solid rgba(42, 81, 151, 0.08);
  margin-top: 0.4rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.contact-value {
  font-weight: 600;
  color: var(--gray-700);
}

.contact-value span {
  display: inline-block;
}

a.contact-value {
  color: var(--blue-700);
}

.contact-value a {
  color: var(--blue-700);
}

.contact-value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn {
  border: 0;
  background: transparent;
  color: #c7cdd3;
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: #adb5bd;
}

.copy-btn.copied {
  color: var(--blue-700);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 81, 151, 0.1);
  margin-top: auto;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-compact iframe {
  height: 220px;
}


.form-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 81, 151, 0.1);
}

.form-card h3 {
  margin-bottom: 0;
}

form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.float-field {
  position: relative;
  display: grid;
}

.float-field input,
.float-field textarea {
  padding: 1.25rem 0.9rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(66, 66, 66, 0.2);
  font-family: inherit;
  font-size: 0.88rem;
  background: transparent;
}

.float-field input:focus,
.float-field textarea:focus {
  outline: 2px solid rgba(42, 81, 151, 0.4);
  border-color: transparent;
}

.float-field span {
  position: absolute;
  top: 0.4rem;
  left: 0.9rem;
  font-size: 0.7rem;
  color: #8a949c;
  pointer-events: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.4rem;
  background: linear-gradient(135deg, #0f2444, #162e52);
  color: #dfe6f2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand p {
  margin-top: 0;
  margin-bottom: 0;
}
.footer-brand img {
  width: 56px;
  height: auto;
  filter: brightness(0) invert(1);
  align-self: center;
}

.footer-actions {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.footer-links a {
  color: #dfe6f2;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #dfe6f2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-meta {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #b9c6da;
  align-items: center;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  padding: 0.9rem 1.2rem;
  background: rgba(255, 243, 205, 0.65);
  color: #5b4d20;
  font-size: clamp(0.64rem, 0.55vw + 0.45rem, 0.8rem);
  border-radius: 999px;
  border: 1px solid rgba(179, 146, 56, 0.35);
  box-shadow: 0 10px 24px rgba(90, 70, 20, 0.2);
  z-index: 30;
  cursor: pointer;
  transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease,
    left 0.3s ease, bottom 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-banner.hide {
  left: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  padding: 0;
  transform: none;
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
  border-color: transparent;
}

.cookie-banner.hide::after {
  color: rgba(0, 0, 0, 0.3);
  content: "🍪";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-banner.hide .cookie-banner-text,
.cookie-banner.hide .cookie-details {
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cookie-details {
  border: 0;
  background: transparent;
  color: #5b4d20;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 68, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1.5rem;
}

.lgpd-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 68, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1.5rem;
}

.lgpd-modal.open {
  display: flex;
}

.lgpd-modal-content {
  background: #ffffff;
  color: #2b2b2b;
  max-width: 560px;
  width: 100%;
  padding: 1.6rem 1.8rem;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.25);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.lgpd-modal-content h3 {
  margin-top: 0;
}

.lgpd-modal-content p {
  margin: 0.8rem 0;
  font-size: 0.92rem;
}

.lgpd-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #4a4a4a;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: #ffffff;
  color: #2b2b2b;
  max-width: 560px;
  width: 100%;
  padding: 1.6rem 1.8rem;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.25);
  position: relative;
}

.cookie-modal-content h3 {
  margin-top: 0;
}

.cookie-modal-content p {
  margin: 0.8rem 0;
  font-size: 0.92rem;
}

.cookie-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #4a4a4a;
}

.tech-stack {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-align: right;
  margin-left: auto;
  align-self: flex-end;
}

.tech-icons {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.tech-icons img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}


@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    justify-items: start;
  }

  .nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(42, 81, 151, 0.08);
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-actions {
    justify-items: start;
  }

  .footer-links {
    text-align: left;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }


  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (min-height: 700px) {
  .hero,
  .section {
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
  }

  .hero > .container,
  .section > .container {
    width: min(1120px, 92vw);
  }
}

@media (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .card,
  .list-item,
  .form-card,
  .hero-card {
    animation: fadeUp 0.6s ease both;
  }

  .card:nth-child(2) {
    animation-delay: 0.05s;
  }

  .card:nth-child(3) {
    animation-delay: 0.1s;
  }

  .card:nth-child(4) {
    animation-delay: 0.15s;
  }

  .card:nth-child(5) {
    animation-delay: 0.2s;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  15% {
    transform: translate(140px, -18px) rotate(62deg);
  }
  32% {
    transform: translate(300px, 26px) rotate(-48deg);
  }
  55% {
    transform: translate(460px, -22px) rotate(78deg);
  }
  75% {
    transform: translate(620px, 18px) rotate(-36deg);
  }
  100% {
    transform: translate(780px, -12px) rotate(50deg);
  }
}
.section,
.hero {
  scroll-margin-top: 96px;
}
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(25, 51, 96, 0.3);
  z-index: 20;
  font-size: 1.6rem;
  animation: waPulse 7s ease-in-out infinite;
}

@keyframes waPulse {
  0% {
    background: #25d366;
  }
  50% {
    background: var(--blue-700);
  }
  100% {
    background: #25d366;
  }
}
