* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "League Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f7fa;
  color: #1e293b;

  padding-top: 85px;
}

/* IMAGENS */

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

/* HEADER */

header {
  width: 100%;
  height: 85px;

  padding: 0 6%;

  display: flex;
  justify-content: flex-start;
  gap: 60px;
  align-items: center;

  position: fixed;
  top: 0;
  left: 0;

  background: rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(226, 232, 240, 0.8);

  z-index: 1000;

  transition: 0.3s ease;
}

/* LOGO */

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

.logo img {
  width: 190px;
  height: auto;
  object-fit: contain;

  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.03);
}

/* NAVBAR */

nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

nav a {
  position: relative;

  padding: 12px 18px;
  border-radius: 12px;

  text-decoration: none;

  color: #1e293b;

  font-size: 17px;
  font-weight: 700;

  letter-spacing: 0.3px;

  transition: all 0.3s ease;
}

/* HOVER */

nav a:hover {
  color: #6495ED;

  background: rgba(91, 33, 182, 0.08);

  transform: translateY(-2px);
}

/* LINHA */

nav a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 4px;

  width: 0%;
  height: 2px;

  background: #6495ED;

  border-radius: 999px;

  transition: 0.3s ease;

  transform: translateX(-50%);
}

nav a:hover::after {
  width: 60%;
}

/* HERO */

.hero {
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 120px 8%;

  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);

  line-height: 1.1;

  margin-bottom: 20px;

  color: #0f172a;
}

.hero-text p {
  font-size: 1.1rem;

  color: #475569;

  line-height: 1.7;

  margin-bottom: 35px;

  max-width: 600px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 28px;

  border: none;
  border-radius: 12px;

  font-size: 1rem;
  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;

  text-decoration: none;

  display: inline-block;
}

.btn-primary {
  background: #6495ED;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;

  border: 1px solid #cbd5e1;

  color: #0f172a;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

/* HERO CARD */

.hero-card {
  flex: 1;

  background: white;

  padding: 40px;

  border-radius: 24px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hero-card h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.hero-card ul {
  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 15px;
}

.hero-card li {
  background: #f8fafc;

  padding: 15px;

  border-radius: 12px;

  font-weight: 500;
}

/* SECTIONS */

section {
  padding: 80px 6%;
}

.section-title {
  text-align: center;

  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;

  margin-bottom: 15px;
}

.section-title p {
  color: #64748b;
}

/* CARDS */

.cards {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 25px;
}

.card {
  background: white;

  padding: 30px;

  border-radius: 20px;

  transition: 0.3s;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 15px;

  color: #0f172a;
}

.card p {
  color: #64748b;

  line-height: 1.6;
}

/* PARTNERS */

.partners {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

  gap: 20px;

  align-items: center;

  margin-top: 40px;
}

.partner {
  background: white;

  padding: 25px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 120px;

  box-shadow: 0 4px 20px rgba(0,0,0,0.05);

  transition: 0.3s;
}

.partner:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow: 0 12px 35px rgba(91,33,182,0.12);

  border: 1px solid rgba(91,33,182,0.15);
}

.partner img {
  width: 100%;

  max-width: 190px;
  max-height: 95px;

  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.8;

  transition: 0.3s;
}

.partner img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.section-title .partner-tip {
  margin-top: 19px;

  color: black;

  font-size: 25px;
}

/* CONTACT */

.contact-box {
  background: #0f172a;

  color: white;

  padding: 50px;

  border-radius: 30px;

  text-align: center;
}

.contact-box h2 {
  margin-bottom: 20px;

  font-size: 2.2rem;
}

.contact-box p {
  margin-bottom: 15px;

  color: #cbd5e1;
}

.contact-box a {
  color: white;

  text-decoration: none;

  transition: color 0.3s ease;
}

.contact-box a:hover {
  color: #D9D4D4;
}

/* FOOTER */

footer {
  margin-top: 80px;

  padding: 35px 20px;

  background: #020617;

  border-top: 1px solid rgba(255,255,255,0.05);

  text-align: center;

  color: #94a3b8;

  font-size: 0.95rem;

  line-height: 1.8;
}

footer p:first-child {
  color: #e2e8f0;

  font-weight: 600;
}

/* ANIMAÇÕES */

.card,
.partner {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.card.show,
.partner.show {
  opacity: 1;

  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 900px) {

  nav {
    display: none;
  }

  .hero {
    flex-direction: column;

    text-align: center;
  }

  .buttons {
    justify-content: center;
  }
}

/* MOBILE FINO */

@media (max-width: 768px) {

  body {
    padding-top: 75px;
  }

  header {
    height: 75px;

    padding: 0 5%;

    justify-content: center;
  }

  .logo img {
    width: 150px;
  }

  section {
    padding: 70px 5%;
  }

  .hero {
    padding: 60px 5%;

    gap: 30px;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);

    line-height: 1.2;
  }

  .hero-text p {
    font-size: 1rem;

    max-width: 100%;
  }

  .btn {
    width: 100%;

    max-width: 320px;
  }

  .hero-card {
    width: 100%;

    padding: 30px 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title .partner-tip {
    font-size: 18px;
  }

  .contact-box {
    padding: 35px 20px;
  }

  .contact-box h2 {
    font-size: 1.8rem;
  }

  footer {
    font-size: 0.85rem;

    padding: 25px 15px;
  }

  .partners {
    grid-template-columns: repeat(2, 1fr);
  }
}
