:root {
  --ml-petrol: #0B131F;
  --ml-gold: #C5A880;
  --ml-surface: #131D2D;
  --ml-border: #1F2E45;
  --ml-white: #FFFFFF;
  --ml-slate: #94A3B8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--ml-petrol);
  color: var(--ml-white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .ml-roman { font-family: 'Cinzel', Georgia, serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.ml-shell {
  width: min(1140px, 100% - 32px);
  margin: 0 auto;
}

.ml-oab-bar {
  background: #070D15;
  border-bottom: 1px solid var(--ml-border);
  color: var(--ml-gold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 7px 0;
}
.ml-oab-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.ml-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 19, 31, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ml-border);
}
.ml-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.site-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.ml-nav {
  display: none;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--ml-slate);
}
.ml-nav a:hover { color: var(--ml-gold); }
.ml-header-end { display: flex; align-items: center; gap: 10px; }
.ml-header-cta {
  display: none;
  background: var(--ml-gold);
  color: var(--ml-petrol);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
}
.ml-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.ml-burger span {
  width: 20px;
  height: 2px;
  background: var(--ml-gold);
  display: block;
}
.ml-drawer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 18px;
  background: var(--ml-surface);
  border-top: 1px solid var(--ml-border);
}
.ml-drawer[hidden] { display: none; }
.ml-drawer a { padding: 7px 4px; font-weight: 500; }
.ml-drawer-cta {
  background: var(--ml-gold);
  color: var(--ml-petrol);
  border-radius: 8px;
  text-align: center;
  padding: 11px !important;
  font-weight: 700 !important;
}

.ml-hero { padding: 44px 0 60px; }
.ml-hero-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
.ml-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ml-gold);
  margin-bottom: 10px;
}
.ml-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  line-height: 1.15;
}
.ml-lead {
  margin: 0 0 22px;
  color: var(--ml-slate);
  font-size: 1.02rem;
  max-width: 58ch;
}
.ml-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.ml-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  border: 0;
  background: var(--ml-gold);
  color: var(--ml-petrol);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
}
.ml-btn-gold:hover { filter: brightness(1.06); }
.ml-btn-full { width: 100%; }
.ml-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(197, 168, 128, 0.45);
  color: var(--ml-gold);
  font-size: 0.84rem;
  font-weight: 600;
}
.ml-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}
.ml-facts div {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 12px 14px;
}
.ml-facts strong {
  display: block;
  font-family: 'Cinzel', serif;
  color: var(--ml-gold);
  font-size: 1.1rem;
}
.ml-facts span { font-size: 0.78rem; color: var(--ml-slate); }

.ml-portrait-card {
  margin: 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: var(--ml-surface);
}
.ml-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.ml-portrait-card figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--ml-border);
}
.ml-portrait-card strong { display: block; font-size: 0.96rem; }
.ml-portrait-card span { font-size: 0.8rem; color: var(--ml-gold); }

.ml-section { padding: 56px 0; }
.ml-section-surface {
  background: var(--ml-surface);
  border-top: 1px solid var(--ml-border);
  border-bottom: 1px solid var(--ml-border);
}
.ml-sec-head { margin-bottom: 24px; max-width: 680px; }
.ml-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.38rem, 2.9vw, 2rem);
  line-height: 1.2;
}
.ml-sec-head p { margin: 0; color: var(--ml-slate); }

.ml-principles { display: grid; gap: 16px; }
.ml-card {
  background: var(--ml-petrol);
  border: 1px solid var(--ml-border);
  border-top: 2px solid var(--ml-gold);
  border-radius: 8px;
  padding: 22px;
}
.ml-card[hidden] { display: none; }
.ml-roman {
  font-size: 1.15rem;
  color: var(--ml-gold);
  font-weight: 700;
}
.ml-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ml-gold);
}
.ml-card h3 { margin: 8px 0; font-size: 1.08rem; }
.ml-card p { margin: 0; color: var(--ml-slate); font-size: 0.92rem; }

.ml-socias-grid { display: grid; gap: 28px; align-items: center; }
.ml-socias-media { display: grid; gap: 14px; }
.ml-photo-box {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.3);
  background: var(--ml-surface);
}
.ml-photo-box img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ml-photo-box figcaption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--ml-gold);
}
.ml-socias-copy p { color: var(--ml-slate); }
.ml-socias-notes { display: grid; gap: 12px; margin-top: 18px; }
.ml-socias-notes div {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 14px 16px;
}
.ml-socias-notes strong { display: block; color: var(--ml-gold); font-size: 0.88rem; margin-bottom: 4px; }
.ml-socias-notes span { font-size: 0.9rem; color: var(--ml-slate); }

.ml-area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ml-area-tab {
  background: var(--ml-petrol);
  color: var(--ml-white);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.ml-area-tab.is-active {
  background: var(--ml-gold);
  color: var(--ml-petrol);
  border-color: var(--ml-gold);
}
.ml-areas-grid { display: grid; gap: 16px; }

.ml-plantao-box {
  background: var(--ml-surface);
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: 8px;
  padding: 26px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.ml-plantao-box p { color: var(--ml-slate); margin: 0; }
.ml-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.ml-timeline li {
  background: var(--ml-petrol);
  border: 1px solid var(--ml-border);
  border-left: 3px solid var(--ml-gold);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: var(--ml-slate);
}
.ml-timeline strong { color: var(--ml-white); }

.ml-rev-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 22px;
}
.ml-score-pill {
  background: var(--ml-petrol);
  border: 1px solid var(--ml-gold);
  color: var(--ml-gold);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}
.ml-quotes { display: grid; gap: 16px; }
.ml-quote {
  margin: 0;
  background: var(--ml-petrol);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 20px;
}
.ml-quote p { margin: 0 0 12px; color: #E2E8F0; }
.ml-quote footer { font-size: 0.8rem; color: var(--ml-gold); font-weight: 600; }

.ml-contact-grid { display: grid; gap: 24px; align-items: start; }
.ml-contact-copy { color: var(--ml-slate); }
.ml-address-card {
  background: var(--ml-surface);
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  padding: 18px;
}
.ml-address-card strong { display: block; font-size: 0.8rem; color: var(--ml-gold); }
.ml-address-card p { margin: 4px 0 12px; }
.ml-map-link { color: var(--ml-gold); font-weight: 600; font-size: 0.9rem; }

.ml-form {
  background: var(--ml-surface);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 8px;
  padding: 22px;
}
.ml-form h3 { margin: 0 0 14px; font-size: 1.15rem; color: var(--ml-gold); }
.ml-field { margin-bottom: 14px; }
.ml-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.ml-field input, .ml-field select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--ml-border);
  background: var(--ml-petrol);
  color: var(--ml-white);
  font-family: inherit;
  font-size: 0.94rem;
}
.ml-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.ml-feedback--success {
  background: rgba(197, 168, 128, 0.16);
  border: 1px solid var(--ml-gold);
}
.ml-feedback--error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid #EF4444;
}
.ml-wa-reply {
  display: inline-block;
  margin-top: 8px;
  color: var(--ml-gold);
  font-weight: 700;
}

.ml-footer {
  border-top: 1px solid var(--ml-border);
  padding: 22px 0 32px;
}
.ml-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.ml-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--ml-slate);
  font-size: 0.85rem;
}
.ml-footer-wa {
  color: var(--ml-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .site-logo { height: 50px; }
  .ml-nav { display: flex; }
  .ml-header-cta { display: inline-flex; }
  .ml-burger { display: none; }
  .ml-hero-grid { grid-template-columns: 1.12fr 0.88fr; }
  .ml-principles { grid-template-columns: repeat(3, 1fr); }
  .ml-socias-grid { grid-template-columns: 1fr 1fr; }
  .ml-socias-media { grid-template-columns: 1fr 1fr; }
  .ml-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-plantao-box { grid-template-columns: 0.95fr 1.05fr; }
  .ml-quotes { grid-template-columns: repeat(3, 1fr); }
  .ml-contact-grid { grid-template-columns: 1fr 1fr; }
}
