/* ============================================================
   MSL Prime — Administração e Gestão de Condomínios
   Design tokens: Midnight navy + brushed gold, derived from the
   brand presentation (MSL Prime Comercial).
   ============================================================ */

:root {
  /* Color */
  --navy-900: #101b33;
  --navy-800: #1a2a4a;
  --navy-700: #1e3560;
  --gold-500: #c9a84c;
  --gold-300: #e8ca80;
  --gold-100: #f6ecd2;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #1a2233;
  --ink-muted: #5b6577;
  --border: #e3e8f0;

  /* Type */
  --font-display: "Fraunces", "Cambria", serif;
  --font-body: "Public Sans", "Calibri", sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px -12px rgba(16, 27, 51, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(16, 27, 51, 0.12);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

::selection { background: rgba(201, 168, 76, 0.32); color: inherit; }
::-moz-selection { background: rgba(201, 168, 76, 0.32); color: inherit; }

#formulario { scroll-margin-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
.lede { font-size: 1.1rem; color: var(--ink-muted); max-width: 620px; }

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

.bg-surface { background: var(--surface); }
.bg-tint { background: #eef1f8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-300); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-word { font-family: var(--font-display); color: #fff; font-size: 1.18rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-word span { color: var(--gold-500); }
.logo-img { height: 38px; width: auto; display: block; }
.logo-img-footer { height: 34px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem; font-weight: 500;
  padding: 6px 2px; position: relative;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 3px; background: var(--gold-500); border-radius: 3px;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn-gold { padding: 9px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none; background: none; border: none; padding: 8px;
  color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--navy-800);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 28px; transform: translateY(-12px);
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a.active::after { display: none; }
  .header-actions .btn-gold { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero .lede { color: rgba(255,255,255,0.78); margin-top: 18px; margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-bars { position: absolute; opacity: 0.16; pointer-events: none; }
.hero-page { padding: 64px 0 60px; }
.hero-page h1 { color: #fff; }
.hero-page .lede { color: rgba(255,255,255,0.78); margin-top: 16px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 280px; }
}

/* ---------- Hero visual (bars motif) ---------- */
.hero-visual { display: flex; justify-content: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: 0.97rem; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; stroke: var(--navy-800); }
.icon-badge.on-navy { background: rgba(255,255,255,0.1); }
.icon-badge.on-navy svg { stroke: var(--gold-300); }

/* Service block with bullet list */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.service-card .icon-badge { margin-bottom: 16px; }
.service-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.service-card li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-muted); align-items: flex-start; }
.service-card li svg { width: 17px; height: 17px; stroke: var(--gold-500); flex-shrink: 0; margin-top: 3px; }

/* ---------- Values strip (Profissionalismo / Transparência / Proximidade) ---------- */
.values-strip { display: flex; gap: 18px; flex-wrap: wrap; }
.value-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 20px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 0.92rem;
}
.value-pill svg { width: 18px; height: 18px; stroke: var(--gold-300); }

/* ---------- Process (Como Funciona) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step { display: flex; flex-direction: column; gap: 14px; }
.process-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.process-bars i { display: block; width: 6px; background: var(--gold-500); border-radius: 3px 3px 0 0; }
.process-step h3 { font-size: 1.05rem; }
.process-step p { color: var(--ink-muted); font-size: 0.93rem; }
.process-step .step-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--gold-500); font-weight: 700; letter-spacing: 0.05em; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.price-card .eyebrow { color: var(--gold-300); }
.price-card h2 { color: #fff; }
.price-card .price-sub { color: rgba(255,255,255,0.7); margin-top: 8px; margin-bottom: 26px; }
.price-card ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.price-card li svg { width: 18px; height: 18px; stroke: var(--gold-300); margin-top: 3px; flex-shrink: 0; }
.price-note { font-size: 0.85rem; color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; }

.extras-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; }
.extras-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.extras-table tr { border-bottom: 1px solid var(--border); }
.extras-table tr:last-child { border-bottom: none; }
.extras-table td { padding: 13px 0; font-size: 0.95rem; }
.extras-table td:last-child { text-align: right; font-weight: 700; color: var(--navy-800); font-family: var(--font-display); }
.extras-foot { margin-top: 18px; font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  border-radius: var(--radius);
  padding: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy-800); color: #fff; border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
}
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-row h3 { font-size: 0.95rem; color: rgba(255,255,255,0.65); font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { font-size: 1.02rem; font-weight: 600; }
.contact-info-row a:hover { color: var(--gold-300); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-row.two { flex-direction: row; gap: 20px; }
.form-row.two > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 0.97rem; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fbfcfe; color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold-500); outline: none; }
.form-row textarea { resize: vertical; min-height: 120px; }
@media (max-width: 560px) { .form-row.two { flex-direction: column; } }

.form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 600; }
.form-status.ok { color: #1e7a4c; }
.form-status.err { color: #b3261e; }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-tagline { color: rgba(255,255,255,0.55); margin-top: 14px; max-width: 320px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
/* Content is visible by default; JS only adds a subtle lift-in so nothing
   ever depends on JavaScript running to be seen. */
.reveal { opacity: 1; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { transform: translateY(0); }

/* ---------- Misc ---------- */
.divider-bars { display: flex; gap: 5px; align-items: flex-end; height: 22px; margin-bottom: 18px; }
.divider-bars i { width: 5px; background: var(--gold-500); border-radius: 2px 2px 0 0; }
