/* Fonts */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.ttf') format('truetype');
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

a {
  color: #0065AE;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #005a9c;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', Helvetica, serif;
  font-weight: 700;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--small {
  max-width: 800px;
}

.container--xlarge {
  max-width: 1400px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Poppins', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: #0065AE;
  color: #fff;
  border-color: #0065AE;
}

.btn--primary:hover {
  background-color: #005a9c;
  border-color: #005a9c;
  color: #fff;
}

.btn--outline {
  background-color: transparent;
  color: #0065AE;
  border-color: #0065AE;
}

.btn--outline:hover {
  background-color: #0065AE;
  color: #fff;
}

.btn--white {
  background-color: #fff;
  color: #333;
  border-color: #fff;
}

.btn--white:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.btn--white-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--white-outline:hover {
  background-color: rgba(255,255,255,0.15);
}

.btn--dark {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.btn--dark:hover {
  background-color: #222;
  border-color: #222;
  color: #fff;
}

.btn--full {
  display: block;
  width: 100%;
}

.btn--disabled {
  cursor: not-allowed;
  background-color: transparent;
  color: #888;
  border-color: #ccc;
  font-size: 0.82rem;
  line-height: 1.3;
}

.btn--disabled:hover {
  background-color: transparent;
  color: #888;
  border-color: #ccc;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.6);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modal-in 0.2s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 10px;
}

.modal__close:hover {
  color: #333;
}

.modal__title {
  font-size: 1.4rem;
  color: #0065AE;
  margin: 0 0 14px;
}

.modal__dialog p {
  color: #555;
  line-height: 1.55;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.modal__dialog a:not(.btn) {
  color: #0065AE;
  text-decoration: underline;
}

.modal__dialog .btn {
  margin-top: 16px;
}

body.modal-open {
  overflow: hidden;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav__logo img {
  height: 50px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.nav__link:hover {
  color: #0065AE;
  background-color: #f5f5f5;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  background: #0065AE;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__image {
  flex: 1;
}

.hero__image img {
  border-radius: 12px;
}

/* Hero Mobile */
.hero--mobile {
  display: none;
  background: #0065AE;
  padding: 60px 0;
  text-align: center;
}

.hero--mobile .hero__title {
  color: #fff;
  font-size: 2rem;
}

.hero--mobile .hero__subtitle {
  color: rgba(255,255,255,0.85);
}

/* Section */
.section {
  padding: 60px 0 80px;
}

.section--white {
  background: #fff;
}

.section--light {
  background: #f5f8fb;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Steps / Features */
/* Platform features marquee — full-width auto-scrolling carousel */
.features__marquee {
  overflow: hidden;
  padding: 20px 0 24px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}

.features__marquee img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.features__track {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: max-content;
}

.features__track.is-ready {
  animation: features-marquee var(--marquee-duration, 60s) linear infinite;
}

.features__marquee:hover .features__track.is-ready {
  animation-play-state: paused;
}

@keyframes features-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-distance, -50%)); }
}

.feature-card {
  flex: 0 0 320px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card__image {
  background: #f5f8fb;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card__heading {
  font-size: 1.1rem;
  color: #0065AE;
  margin: 0 0 10px;
}

.feature-card__text {
  color: #666;
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0;
}

.feature-card__text strong {
  color: #333;
}

/* Team — carousel layout (myPNA style) */
.team__carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.team__carousel-mask {
  overflow: hidden;
}

.team__carousel-mask.has-overflow {
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.team__track {
  display: flex;
  overflow-x: auto;
  gap: 32px;
  justify-content: safe center;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.team__track::-webkit-scrollbar {
  display: none;
}

.team__member {
  flex: 0 0 250px;
  text-align: center;
  scroll-snap-align: start;
}

.team__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid #d1d5db;
  transition: border-color 0.2s;
}

.team__member:hover .team__photo {
  border-color: #0065AE;
}

.team__name {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.team__tag {
  font-size: 0.85rem;
  color: #666;
  display: block;
}

.team__about {
  font-size: 0.85rem;
  color: #666;
}

.team__about strong {
  color: #333;
}

.team__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #0065AE;
  font-size: 1.3rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}

.team__carousel-btn:hover {
  background: #0065AE;
  color: #fff;
  border-color: #0065AE;
}

.team__carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  background: #fff;
  color: #999;
  border-color: #d1d5db;
}

.team__carousel-btn--prev {
  left: -20px;
}

.team__carousel-btn--next {
  right: -20px;
}

.team__carousel-btn.is-visible {
  display: flex;
}

.team__cta {
  text-align: center;
  margin-top: 40px;
}

/* Pricing */
.pricing__scroll {
  overflow-x: auto;
  padding: 20px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pricing__scroll.is-draggable {
  cursor: grab;
}

.pricing__scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.pricing__scroll.is-dragging .pricing__card {
  pointer-events: none;
}

.pricing__scroll::-webkit-scrollbar {
  display: none;
}

.pricing__cards {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: stretch;
}

.pricing__card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 240px;
  position: relative;
  scroll-snap-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.pricing__card--featured {
  border-color: #0065AE;
  box-shadow: 0 8px 24px rgba(0, 101, 174, 0.12);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FDDB00;
  color: #2B2B2B;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0065AE;
  margin-bottom: 6px;
}

.pricing__card-info {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
  min-height: 2.4em;
}

.pricing__card-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2B2B2B;
  line-height: 1;
  margin-bottom: 20px;
}

.pricing__card-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
}

.pricing__card-price sup {
  font-size: 1rem;
}

.pricing__divider {
  width: 40px;
  height: 2px;
  background: #e0e0e0;
  margin: 0 auto 20px;
}

.pricing__features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex-grow: 1;
  padding: 0;
}

.pricing__feature {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.4;
}

.pricing__feature::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

.pricing__feature--off {
  color: #aaa;
  text-decoration: line-through;
}

.pricing__feature--off::before {
  content: '✗';
  color: #ef4444;
}

.pricing__feature-value {
  color: #888;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #0065AE;
  color: #fff;
  padding: 48px 24px;
}

.footer__inner--centered {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer__link {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer__social a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.footer__social a:hover {
  color: #fff;
}

.footer__social svg {
  width: 24px;
  height: 24px;
}

.footer__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__dgert img {
  height: 60px;
  opacity: 0.9;
}

.footer__livro img {
  height: 48px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer__livro img:hover {
  opacity: 1;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* Legal Pages */
.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0a2540;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #0a2540;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #444;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: #444;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  color: #0065AE;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #0065AE;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing__cards {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }

  .pricing__card {
    flex: none;
    width: 280px;
    min-width: 280px;
  }

}

@media (max-width: 768px) {
  .hero {
    display: none;
  }

  .hero--mobile {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__burger {
    display: flex;
  }

  .nav__inner {
    position: relative;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .feature-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}
