/* ========================================================
   OortHub – Landing Page Styles
   Cor principal: #043d6c
   ======================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.highlight {
  color: #043d6c;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #043d6c;
  margin-bottom: 0.5rem;
}

.section-tag--light {
  color: #fff;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0a0a23;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #444;
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  text-align: center;
}

.btn--primary {
  background: #043d6c;
  color: #fff;
  padding: 0.7rem 1.6rem;
}

.btn--primary:hover {
  background: #065a9e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 61, 108, 0.3);
}

.btn--outline {
  background: transparent;
  color: #043d6c;
  padding: 0.7rem 1.6rem;
  border: 2px solid #043d6c;
}

.btn--outline:hover {
  background: #043d6c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 61, 108, 0.3);
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

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

/* ========================================================
   NAVBAR
   ======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(4, 61, 108, 0.08);
  transition: box-shadow 0.3s;
}

.navbar--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar__logo img {
  height: 30px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  position: relative;
  transition: color 0.2s;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #043d6c;
  transition: width 0.3s;
}

.navbar__link:hover {
  color: #043d6c;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  white-space: nowrap;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.navbar__mobile .navbar__link {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(170deg, #f0f7ff 0%, #fff 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0a0a23;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__svg {
  width: 100%;
  max-width: 420px;
}

/* ========================================================
   ABOUT / FUNÇÕES
   ======================================================== */
.about {
  padding: 5rem 0;
  text-align: center;
  background: #fff;
}

.about__pain {
  background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
  border-left: 4px solid #043d6c;
  border-radius: 0 12px 12px 0;
  padding: 2rem 2.5rem;
  max-width: 750px;
  margin: 0 auto 3rem;
  text-align: left;
}

.about__pain-title {
  font-size: 1.3rem;
  color: #043d6c;
  margin-bottom: 0.5rem;
}

.about__pain-subtitle {
  color: #444;
  font-size: 1rem;
}

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

.feature-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(4, 61, 108, 0.1);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: #f0f7ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0a0a23;
}

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

/* ========================================================
   MARKETPLACES
   ======================================================== */
.marketplaces {
  padding: 5rem 0;
  background: #f8fafe;
  text-align: center;
}

.marketplaces__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.marketplace-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 240px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.marketplace-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(4, 61, 108, 0.1);
}

.marketplace-card--disabled {
  opacity: 0.5;
  filter: grayscale(60%);
  position: relative;
}

.marketplace-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

.marketplace-card__logo {
  /* height: 60px; */
  width: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.marketplace-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0a23;
  margin-bottom: 0.5rem;
}

.marketplace-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.marketplace-card__badge--active {
  background: #e6f7ee;
  color: #0a7c42;
}

.marketplace-card__badge--soon {
  background: #fef3e2;
  color: #b07d10;
}

.marketplaces__footer {
  color: #555;
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ========================================================
   CONTATO
   ======================================================== */
.contact {
  padding: 5rem 0;
  background: linear-gradient(160deg, #043d6c, #065a9e);
  color: #fff;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.contact__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.contact__benefits svg {
  stroke: #8ec5fc;
  flex-shrink: 0;
}

.contact__form {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  color: #1a1a2e;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d9dfe7;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafbfd;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #043d6c;
  box-shadow: 0 0 0 3px rgba(4, 61, 108, 0.12);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.75rem;
}

/* ========================================================
   FAQ / ACCORDION
   ======================================================== */
.faq {
  padding: 5rem 0;
  background: #fff;
  text-align: center;
}

.accordion {
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
}

.accordion__item {
  border: 1px solid #e8edf3;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.accordion__item:hover {
  box-shadow: 0 4px 15px rgba(4, 61, 108, 0.06);
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  background: #fafbfd;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s;
}

.accordion__header:hover {
  background: #f0f5fb;
}

.accordion__icon {
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion__item.active .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion__body p {
  padding: 0 1.25rem 1.25rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion__item.active .accordion__body {
  max-height: 300px;
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: #0a0a23;
  color: #fff;
  padding: 3rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  height: 36px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer__links h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer__links a,
.footer__links span {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: #8a93a6;
  transition: color 0.2s;
}

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

.footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: #5a6377;
}

.footer__disclaimer {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: #fff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.7;
}

/* ========================================================
   ANIMATIONS (entrada suave)
   ======================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   RESPONSIVO
   ======================================================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image {
    order: -1;
  }

  .hero__svg {
    max-width: 320px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__tagline {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__cta,
  .navbar__actions {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__mobile.open {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .marketplaces__grid {
    flex-direction: column;
    align-items: center;
  }

  .marketplace-card {
    width: 100%;
    max-width: 300px;
  }
}
