:root {
  --jdi-blue-dark: #0f2d52;
  --jdi-blue: #1e4e79;
  --jdi-gold: #c9a227;
  --jdi-white: #ffffff;
  --jdi-gray: #f5f7fa;
  --jdi-text: #1f2937;
  --jdi-border: rgba(255,255,255,0.12);
  --jdi-radius: 14px;
  --jdi-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--jdi-text);
  background: #fff;
  font-family: "Inter", sans-serif;
}

.jdi-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.jdi-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 45, 82, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jdi-border);
}

.jdi-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.jdi-brand {
  display: flex;
  align-items: center;
}

.jdi-logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--jdi-white);
  line-height: 1.1;
}

.jdi-logo-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.jdi-logo-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.jdi-nav {
  display: flex;
  align-items: center;
}

.jdi-menu,
.jdi-mobile-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.jdi-menu a,
.jdi-mobile-menu a {
  color: var(--jdi-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity .2s ease;
}

.jdi-menu a:hover,
.jdi-mobile-menu a:hover {
  opacity: 0.8;
}

.jdi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}

.jdi-btn-primary {
  background: var(--jdi-gold);
  color: #0f172a;
}

.jdi-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--jdi-shadow);
}

.jdi-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.jdi-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

.jdi-mobile-nav {
  display: none;
  background: var(--jdi-blue-dark);
  border-top: 1px solid var(--jdi-border);
}

.jdi-mobile-nav .jdi-container {
  padding: 16px 0 20px;
}

.jdi-mobile-menu {
  flex-direction: column;
  gap: 14px;
}

.jdi-mobile-cta {
  margin-top: 16px;
  width: 100%;
}

.site-content {
  min-height: 60vh;
}

.jdi-footer {
  background: var(--jdi-blue-dark);
  color: var(--jdi-white);
  padding: 56px 0 24px;
  margin-top: 60px;
}

.jdi-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.jdi-footer h3,
.jdi-footer h4 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--jdi-white);
}

.jdi-footer p,
.jdi-footer li,
.jdi-footer a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  line-height: 1.7;
}

.jdi-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jdi-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .jdi-nav,
  .jdi-header-cta {
    display: none;
  }

  .jdi-mobile-toggle {
    display: flex;
  }

  .jdi-mobile-nav.is-open {
    display: block;
  }

  .jdi-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   AJUSTES GERAIS
========================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--jdi-text);
  background: #fff;
  font-family: "Inter", sans-serif;
}

.site-content,
#content,
main#content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================
   CONTAINER PADRÃO
========================= */

.jdi-container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .jdi-container {
    width: calc(100% - 32px);
  }
}

/* =========================
   HEADER
========================= */

.jdi-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 45, 82, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jdi-border);
}

.jdi-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.jdi-brand {
  display: flex;
  align-items: center;
}

.jdi-logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--jdi-white);
  line-height: 1.1;
}

.jdi-logo-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.jdi-logo-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.jdi-nav {
  display: flex;
  align-items: center;
}

.jdi-menu,
.jdi-mobile-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.jdi-menu a,
.jdi-mobile-menu a {
  color: var(--jdi-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity .2s ease;
}

.jdi-menu a:hover,
.jdi-mobile-menu a:hover {
  opacity: 0.8;
}

.jdi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}

.jdi-btn-primary {
  background: var(--jdi-gold);
  color: #0f172a;
}

.jdi-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--jdi-shadow);
}

.jdi-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.jdi-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

.jdi-mobile-nav {
  display: none;
  background: var(--jdi-blue-dark);
  border-top: 1px solid var(--jdi-border);
}

.jdi-mobile-nav .jdi-container {
  padding: 16px 0 20px;
}

.jdi-mobile-menu {
  flex-direction: column;
  gap: 14px;
}

.jdi-mobile-cta {
  margin-top: 16px;
  width: 100%;
}

/* =========================
   FOOTER
========================= */

.jdi-footer {
  background: var(--jdi-blue-dark);
  color: var(--jdi-white);
  padding: 56px 0 24px;
  margin-top: 60px;
}

.jdi-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.jdi-footer h3,
.jdi-footer h4 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--jdi-white);
}

.jdi-footer p,
.jdi-footer li,
.jdi-footer a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  line-height: 1.7;
}

.jdi-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jdi-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.92rem;
}

/* =========================
   ELEMENTOR - CONTEÚDO
========================= */

.elementor .e-con,
.elementor .elementor-section,
.elementor .elementor-container,
.elementor .e-con-inner {
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .jdi-nav,
  .jdi-header-cta {
    display: none;
  }

  .jdi-mobile-toggle {
    display: flex;
  }

  .jdi-mobile-nav.is-open {
    display: block;
  }

  .jdi-footer-grid {
    grid-template-columns: 1fr;
  }
}