/* ===== HEADER / NAVBAR ===== */

.header-nav {
  position: sticky; /* use fixed se quiser sempre colado no topo */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

html.dark .header-nav {
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-nav .logo img {
  display: block;
}

/* Nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.nav-link:hover {
  color: #0b2e6f;
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #0b2e6f;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA button */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  background-color: #f97316;
  color: #ffffff;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.45);
}

/* Responsivo header */
@media (max-width: 1024px) {
  .header-nav .container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    gap: 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
    margin-left: 1.25rem;
  }
}

@media (max-width: 768px) {
  .header-nav .container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .cta-button {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}

/* ===== FOOTER ===== */

.site-footer {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 4rem 0 2rem 0;
}

html.dark .site-footer {
  background-color: #1e293b;
  color: #e5e7eb;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

html.dark .footer-link {
  color: #e5e7eb;
}

.footer-link:hover {
  color: #0b2e6f;
}

html.dark .footer-link:hover {
  color: #ffb84d;
}

.footer-description {
  margin-top: 0.75rem;
}

.footer-copy {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

html.dark .footer-copy {
  border-top-color: #334155;
}

/* Responsivo footer */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}



.header-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-transform: uppercase;
    color: #111827;
    font-weight: 500;
    letter-spacing: .03em;
    opacity: .85;
    transition: .2s;
    position: relative;
}

.nav-link:hover {
    opacity: 1;
    color: #0B2E6F;
}

.nav-link::after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:0;
    height:2px;
    background:#0B2E6F;
    transition:width .2s;
}

.nav-link:hover::after {
    width:100%;
}

.cta-button {
    background: #F97316;
    color: white;
    padding: .6rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(249,115,22,.35);
    transition: .2s;
}

.cta-button:hover {
    background:#EA580C;
    transform: translateY(-1px);
}



/* ===== FOOTER ===== */

.site-footer {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 4rem 0 2rem 0;
}

html.dark .site-footer {
  background-color: #1e293b;
  color: #e5e7eb;
}

/* container próprio do footer, não usa .container do Bootstrap */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand img {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-description {
  margin: 0;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

html.dark .footer-link {
  color: #e5e7eb;
}

.footer-link:hover {
  color: #0b2e6f;
}

html.dark .footer-link:hover {
  color: #ffb84d;
}

.footer-copy {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

html.dark .footer-copy {
  border-top-color: #334155;
}

/* responsivo */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}
