/* ═══════════════════════════════════════════════
   SALUBAO — CSS Global
   Compartilhado por todas as páginas do site
   ═══════════════════════════════════════════════ */

:root {
  --forest:      #2C5F2D;
  --forest-dark: #1E4220;
  --moss:        #97BC62;
  --coral:       #D9784F;
  --text:        #27322B;
  --text-muted:  #667066;
  --text-faint:  #94A097;
  --border:      #E6E8E3;
  --green-bg:    #EEF5E8;
  --green-text:  #2C5F2D;
  --red-bg:      #FBEAE6;
  --red-text:    #B6432B;
  --bg:          #FAFAF8;
  --white:       #fff;
  --shadow:      0 2px 16px rgba(30,66,32,.10);
  --radius:      12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.site-header {
  background: var(--forest-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-brand svg { width: 26px; height: 26px; }
.header-brand span {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  letter-spacing: -.3px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13px;
  font-weight: bold;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-link:hover  { background: rgba(255,255,255,.1); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-link.btn-acesso {
  background: var(--moss);
  color: var(--forest-dark);
  margin-left: 6px;
}
.nav-link.btn-acesso:hover { background: #aece75; }

/* Menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #fff;
}
@media (max-width: 600px) {
  .nav-toggle { display: flex; align-items: center; }
  .header-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: var(--forest-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .header-nav.open { display: flex; }
  .nav-link { padding: 10px 12px; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,.55);
  font-size: 11.5px;
  text-align: center;
  padding: 18px 24px;
  margin-top: auto;
  line-height: 1.7;
}
.site-footer a { color: var(--moss); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── MAIN WRAPPER ── */
.page-main { flex: 1; }
.wrap { max-width: 900px; margin: 0 auto; padding: 24px 18px 60px; }
.wrap-sm { max-width: 520px; margin: 0 auto; padding: 32px 18px 60px; }

/* ── COMPONENTES COMUNS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary   { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-secondary { background: #fff; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--forest); color: var(--forest-dark); background: var(--green-bg); }
.btn-danger    { background: var(--red-bg); color: var(--red-text); border: 1px solid #F2C6BC; }
.btn-danger:hover { background: #f8d9d3; }
.btn-full { width: 100%; height: 44px; font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
}
.badge-green  { background: var(--green-bg); color: var(--green-text); border: 1px solid #C9DDBC; }
.badge-red    { background: var(--red-bg);   color: var(--red-text);   border: 1px solid #F2C6BC; }
.badge-orange { background: #FFF3E0;          color: #E65100;           border: 1px solid #FFCC80; }
.badge-gray   { background: #F0F1EE;          color: var(--text-muted); border: 1px solid var(--border); }

.msg-ok  { padding: 12px 14px; background: var(--green-bg); border: 1px solid #C9DDBC; border-radius: 8px; font-size: 12.5px; color: var(--green-text); line-height: 1.5; }
.msg-err { padding: 12px 14px; background: var(--red-bg);   border: 1px solid #F2C6BC; border-radius: 8px; font-size: 12.5px; color: var(--red-text);   line-height: 1.5; }

/* ── PAGE TITLE ── */
.page-title { font-size: 20px; font-weight: bold; color: var(--forest-dark); margin-bottom: 4px; }
.page-sub   { font-size: 13px; color: var(--text-faint); margin-bottom: 20px; }
