:root {
  --ml-navy: #0b1f3a;
  --ml-navy-deep: #071528;
  --ml-navy-soft: #132844;
  --ml-gold: #c4a46a;
  --ml-gold-dark: #a68545;
  --ml-gold-soft: rgba(196, 164, 106, 0.16);
  --ml-white: #ffffff;
  --ml-paper: #f4f5f7;
  --ml-muted: #6b7280;
  --ml-text: #1a1f2c;
  --ml-shadow: 0 14px 36px rgba(11, 31, 58, 0.14);
  --ml-radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.ml-body {
  margin: 0;
  background: var(--ml-white);
  color: var(--ml-text);
  font-family: "Source Sans 3", sans-serif;
  overflow-x: hidden;
}

.ml-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.ml-topbar {
  background: var(--ml-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.ml-topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  min-height: 40px;
}

.ml-topbar a {
  color: inherit;
  text-decoration: none;
}

.ml-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 164, 106, 0.18);
}

.ml-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.ml-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ml-gold);
  line-height: 1.05;
}

.ml-logo strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ml-logo small {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.15rem;
}

.ml-logo img {
  max-height: 56px;
  width: auto;
}

.ml-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.ml-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.ml-nav a:hover,
.ml-nav a.active {
  color: var(--ml-gold);
  border-bottom-color: var(--ml-gold);
}

.ml-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ml-gold);
  font-weight: 600;
  font-size: 1.08rem;
}

.ml-header-actions a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ml-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(196, 164, 106, 0.45);
  color: var(--ml-gold);
  width: 42px;
  height: 42px;
  border-radius: var(--ml-radius);
}

.ml-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(7, 21, 40, 0.88) 0%, rgba(11, 31, 58, 0.55) 55%, rgba(11, 31, 58, 0.28) 100%),
    var(--ml-hero-image, linear-gradient(135deg, #0b1f3a, #1a3558)) center/cover no-repeat;
  color: #fff;
}

.ml-hero-content {
  padding: 4.5rem 0 5rem;
  max-width: 720px;
}

.ml-hero h1 {
  margin: 0 0 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-transform: uppercase;
}

.ml-hero h1 span {
  color: var(--ml-gold);
}

.ml-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ml-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(180deg, #d4b67a 0%, var(--ml-gold) 55%, var(--ml-gold-dark) 100%);
  color: var(--ml-navy-deep) !important;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border-radius: var(--ml-radius);
  border: 0;
  box-shadow: 0 10px 24px rgba(166, 133, 69, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ml-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(166, 133, 69, 0.42);
  color: var(--ml-navy-deep) !important;
}

.ml-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--ml-navy);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--ml-radius);
  border: 0;
}

.ml-btn-navy:hover {
  background: var(--ml-navy-soft);
  color: #fff !important;
}

.ml-section {
  padding: 4.25rem 0;
}

.ml-section-paper { background: var(--ml-paper); }
.ml-section-white { background: var(--ml-white); }

.ml-section-head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.ml-kicker {
  margin: 0 0 0.45rem;
  color: var(--ml-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ml-title {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--ml-navy);
  letter-spacing: 0.02em;
}

.ml-sub {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--ml-muted);
  line-height: 1.55;
}

.ml-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.ml-about-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ml-shadow);
  background: var(--ml-navy);
  aspect-ratio: 4 / 5;
}

.ml-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ml-about-photo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ml-gold);
  font-size: 4rem;
  background: linear-gradient(160deg, var(--ml-navy), var(--ml-navy-soft));
}

.ml-about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1rem 0 1.4rem;
  color: var(--ml-navy);
  font-weight: 600;
  font-size: 1.05rem;
}

.ml-about-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ml-about-meta i { color: var(--ml-gold-dark); }

.ml-about-text {
  margin: 0;
  color: var(--ml-muted);
  font-size: 1.15rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

#quem-somos .ml-section-head {
  text-align: left;
  margin-bottom: 2rem;
}

#quem-somos .ml-section-head .ml-sub {
  margin: 0;
  max-width: none;
  font-size: 1.15rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

#quem-somos .ml-kicker {
  font-size: 0.9rem;
}

#quem-somos .ml-title {
  font-size: clamp(2.15rem, 3.4vw, 2.85rem);
}

.ml-about-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.ml-about-contacts a,
.ml-about-contacts span {
  color: var(--ml-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
}

.ml-about-contacts a:hover { color: var(--ml-navy); }

.ml-esp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ml-esp-card {
  background: var(--ml-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--ml-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.22s ease;
}

.ml-esp-card:hover { transform: translateY(-4px); }

.ml-esp-media {
  background: var(--ml-navy);
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--ml-gold);
  font-size: 2.4rem;
}

.ml-esp-body {
  padding: 1.15rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.ml-esp-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ml-navy);
}

.ml-esp-body p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ml-partners-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ml-partner-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: center;
  background: var(--ml-paper);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: var(--ml-shadow);
}

.ml-partner-photo {
  width: 200px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ml-navy);
}

.ml-partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ml-partner-photo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ml-gold);
  font-size: 3rem;
}

.ml-partner-body h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  color: var(--ml-navy);
}

.ml-partner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  color: var(--ml-navy);
  font-weight: 600;
  font-size: 1rem;
}

.ml-partner-meta i { color: var(--ml-gold-dark); }

.ml-partner-desc {
  margin: 0;
  color: var(--ml-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ml-consultoria {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.94), rgba(7, 21, 40, 0.96)),
    var(--ml-navy);
  color: #fff;
}

.ml-consultoria .ml-title { color: #fff; }
.ml-consultoria .ml-sub { color: rgba(255, 255, 255, 0.78); }

.ml-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.ml-form .full { grid-column: 1 / -1; }

.ml-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.ml-form input,
.ml-form select,
.ml-form textarea {
  width: 100%;
  border: 1px solid rgba(196, 164, 106, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: var(--ml-radius);
  padding: 0.7rem 0.85rem;
}

.ml-form input::placeholder,
.ml-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ml-form select option { color: #111; }

.ml-alert {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: var(--ml-radius);
}

.ml-alert-success {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.ml-alert-error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.ml-footer {
  background: var(--ml-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.8rem 0 1.2rem;
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ml-footer h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1rem;
}

.ml-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ml-footer-contact a,
.ml-footer-contact span {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ml-footer-contact i { color: var(--ml-gold); }

.ml-social {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.ml-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196, 164, 106, 0.45);
  color: var(--ml-gold);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.1rem;
}

.ml-social a:hover {
  background: var(--ml-gold-soft);
}

.ml-footer-bottom {
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.ml-footer-bottom-actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.ml-footer-acesso {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ml-footer-acesso:hover {
  color: var(--ml-gold);
}

.ml-fab-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  z-index: 1100;
}

.ml-detail-hero {
  background: var(--ml-navy);
  color: #fff;
  padding: 3.5rem 0 2.8rem;
}

.ml-detail-hero h1 {
  margin: 0.4rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.ml-detail-hero p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ml-detail-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--ml-muted);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.ml-detail-content p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 980px) {
  .ml-esp-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-about-grid { grid-template-columns: 1fr; }
  .ml-partner-card { grid-template-columns: 1fr; }
  .ml-partner-photo { width: min(220px, 100%); margin: 0 auto; }
  .ml-nav,
  .ml-header-actions { display: none; }
  .ml-menu-toggle { display: grid; place-items: center; }
  .ml-nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: var(--ml-navy);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(196, 164, 106, 0.2);
  }
}

@media (max-width: 640px) {
  .ml-logo strong { font-size: 1.45rem; }
  .ml-logo small { letter-spacing: 0.14em; font-size: 0.68rem; }
  .ml-header-inner { min-height: 72px; }
  .ml-esp-grid { grid-template-columns: 1fr; }
  .ml-form { grid-template-columns: 1fr; }
  .ml-footer-grid { grid-template-columns: 1fr; }
  .ml-social { justify-content: flex-start; }
  .ml-hero-content { padding: 3.4rem 0 3.8rem; }
}
