/* ==========================================================================
   Health Consultoria Especializada — Design System
   Tokens oficiais: #1b315e | #00965e | #606062
   ========================================================================== */

:root {
  --blue: #1b315e;
  --blue-dark: #122140;
  --blue-mid: #274582;
  --blue-subtle: #eef2f9;
  --blue-border: #c8d5ea;
  --green: #00965e;
  --green-hover: #007d4e;
  --green-light: #e3f5ed;
  --green-glow: rgba(0,150,94,0.18);
  --gray: #606062;
  --gray-light: #94a3b8;
  --gray-border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(27,49,94,.06);
  --shadow-md: 0 4px 16px rgba(27,49,94,.09);
  --shadow-lg: 0 12px 40px rgba(27,49,94,.13);
  --font: 'Plus Jakarta Sans','Inter',system-ui,sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { color: var(--blue); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green-light); color: var(--green);
  font-weight: 700; font-size: .82rem; letter-spacing: .03em;
  padding: .35rem .9rem; border-radius: var(--radius-full); text-transform: uppercase;
}
.badge-blue { background: var(--blue-subtle); color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: var(--radius);
  transition: all .22s var(--ease); white-space: nowrap; cursor: pointer;
}
.btn-green {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 14px rgba(0,150,94,.28);
}
.btn-green:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 7px 22px rgba(0,150,94,.38); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(27,49,94,.22); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* Section header */
.sec-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.sec-header h2 { font-size: 2.1rem; margin-top: .6rem; }
.sec-sub { color: var(--gray); font-size: 1.05rem; margin-top: .7rem; }

/* Text Gradient */
.text-grad {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* =======================================================================
   HEADER
   ======================================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow .25s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo-img { height: 46px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-a {
  font-weight: 600; font-size: .9rem; color: var(--text);
  padding: .4rem 0; position: relative;
}
.nav-a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2.5px; background: var(--green);
  transition: width .22s var(--ease); border-radius: 2px;
}
.nav-a:hover, .nav-a.active { color: var(--blue); }
.nav-a:hover::after, .nav-a.active::after { width: 100%; }

.hdr-btns { display: flex; align-items: center; gap: .75rem; }
.burger { display: none; font-size: 1.5rem; color: var(--blue); padding: .4rem; }

/* =======================================================================
   HERO
   ======================================================================= */
.hero {
  padding: 130px 0 80px;
  background: radial-gradient(ellipse at 80% 0%, #eef2f9 0%, #fff 60%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr .95fr;
  gap: 3rem; align-items: center; position: relative; z-index: 1;
}

.hero-h1 { font-size: 2.75rem; font-weight: 800; color: var(--blue); margin: 1rem 0 1.2rem; }
.hero-p { font-size: 1.1rem; color: var(--gray); max-width: 520px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--gray-border);
}
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* Dashboard Card */
.dash-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border); box-shadow: var(--shadow-lg);
  padding: 1.6rem; position: relative;
}
.dash-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--gray-border);
}
.dash-title {
  font-weight: 700; font-size: .95rem; color: var(--blue);
  display: flex; align-items: center; gap: .5rem;
}
.live-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,150,94,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,150,94,.6); }
  70% { box-shadow: 0 0 0 8px rgba(0,150,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,150,94,0); }
}

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.1rem; }
.metric-box { background: var(--bg-alt); padding: .95rem; border-radius: var(--radius); border: 1px solid rgba(226,232,240,.7); }
.metric-lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); font-weight: 700; margin-bottom: .2rem; }
.metric-val { font-size: 1.45rem; font-weight: 800; color: var(--blue); }
.metric-trend { font-size: .72rem; color: var(--green); font-weight: 700; margin-top: .18rem; display: flex; align-items: center; gap: .2rem; }

.bars-row {
  background: linear-gradient(180deg, var(--blue-subtle) 0%, rgba(238,242,249,.15) 100%);
  border-radius: var(--radius); padding: .9rem;
  height: 100px; display: flex; align-items: flex-end; gap: .65rem;
}
.bar { flex: 1; background: var(--blue-mid); border-radius: 3px 3px 0 0; }
.bar.hi { background: var(--green); }

.float-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--blue); color: #fff;
  padding: .9rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; z-index: 2;
}
.fbadge-icon {
  width: 38px; height: 38px; background: var(--green);
  border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fbadge-label { font-size: .7rem; color: #cbd5e1; font-weight: 700; text-transform: uppercase; }
.fbadge-val { font-size: .95rem; font-weight: 800; }

/* =======================================================================
   STATS
   ======================================================================= */
.stats { background: var(--blue); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: .3rem; }
.stat-lbl { font-size: .9rem; color: #94a3b8; font-weight: 500; }

/* =======================================================================
   SOBRE
   ======================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-box {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-border);
}
.about-tag {
  position: absolute; top: 2rem; right: -1.5rem;
  background: #fff; padding: 1.1rem 1.4rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--green);
}
.about-tag-num { font-size: 1.7rem; font-weight: 800; color: var(--blue); line-height: 1; }
.about-tag-lbl { font-size: .8rem; color: var(--gray); font-weight: 600; margin-top: .2rem; }

.vals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; }
.val-card {
  background: var(--bg-alt); padding: 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--gray-border); transition: all .2s var(--ease);
}
.val-card:hover { transform: translateY(-4px); border-color: var(--green); }
.val-icon {
  width: 40px; height: 40px; background: var(--blue-subtle); color: var(--blue);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: .65rem;
}
.val-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.val-card p { font-size: .82rem; color: var(--text-muted); }

/* =======================================================================
   SERVIÇOS
   ======================================================================= */
.services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }

.svc-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border); padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: all .28s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(0,150,94,.4);
}
.svc-icon {
  width: 54px; height: 54px; background: var(--blue-subtle); color: var(--blue);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.5rem; flex-shrink: 0;
  transition: all .22s var(--ease);
}
.svc-card:hover .svc-icon { background: var(--green); color: #fff; }
.svc-num { font-size: .7rem; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.svc-title { font-size: 1.05rem; line-height: 1.35; margin-bottom: .75rem; }
.svc-desc { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.4rem; flex-grow: 1; }
.svc-link {
  color: var(--green); font-weight: 700; font-size: .875rem;
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto;
  transition: gap .2s var(--ease);
}
.svc-link:hover { gap: .7rem; }

/* =======================================================================
   METODOLOGIA
   ======================================================================= */
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.method-step {
  background: #fff; padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--blue);
}
.method-step:nth-child(even) { border-top-color: var(--green); }
.step-num { font-size: 2.25rem; font-weight: 800; color: var(--blue-subtle); margin-bottom: .45rem; }
.method-step:nth-child(even) .step-num { color: var(--green-light); }
.method-step h4 { font-size: 1rem; margin-bottom: .4rem; }
.method-step p { font-size: .84rem; color: var(--text-muted); }

/* =======================================================================
   APLICATIVO
   ======================================================================= */
.app-sec {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.app-sec::before {
  content: ''; position: absolute;
  top: -150px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,150,94,.12) 0%, transparent 70%);
  pointer-events: none;
}
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.app-grid h2 { color: #fff; font-size: 2.2rem; margin-bottom: .9rem; }
.app-grid p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 1.8rem; }
.app-feats { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2.2rem; }
.app-feat { display: flex; align-items: flex-start; gap: .8rem; font-size: .95rem; color: #f1f5f9; }
.feat-ico {
  width: 22px; height: 22px; background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .7rem; font-weight: 800; margin-top: .1rem;
}

/* Browser Window Mock */
.browser-win {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text);
}
.browser-bar {
  background: #0f172a; padding: .7rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.browser-dots { display: flex; gap: 5px; }
.bdot { width: 9px; height: 9px; border-radius: 50%; }
.bdot-r { background: #ef4444; } .bdot-y { background: #f59e0b; } .bdot-g { background: #10b981; }
.browser-url {
  font-size: .72rem; color: #94a3b8; background: #1e293b;
  padding: .22rem .85rem; border-radius: var(--radius-full); font-family: monospace;
}
.browser-body { padding: 1.4rem; background: var(--bg-alt); }
.app-tabs { display: flex; gap: .45rem; border-bottom: 1px solid var(--gray-border); padding-bottom: .7rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.app-tab {
  padding: .38rem .8rem; font-size: .78rem; font-weight: 700;
  border-radius: 6px; color: var(--text-muted); transition: all .2s var(--ease);
}
.app-tab.active { background: var(--blue); color: #fff; }
.app-tab:hover:not(.active) { background: var(--blue-subtle); color: var(--blue); }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.demo-box { background: #fff; padding: .9rem; border-radius: var(--radius); border: 1px solid var(--gray-border); }
.demo-lbl { font-size: .7rem; color: var(--gray); font-weight: 700; text-transform: uppercase; }
.demo-val { font-size: 1.25rem; font-weight: 800; color: var(--blue); margin: .18rem 0; }
.demo-trend { font-size: .7rem; color: var(--green); font-weight: 700; }

/* =======================================================================
   FAQ
   ======================================================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: #fff; border: 1px solid var(--gray-border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s var(--ease);
}
.faq-item.open { border-color: var(--green); }
.faq-q {
  width: 100%; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 1rem; color: var(--blue); text-align: left;
}
.faq-ico { font-size: 1.1rem; color: var(--green); transition: transform .25s var(--ease); }
.faq-item.open .faq-ico { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 1.5rem; color: var(--text-muted); font-size: .93rem;
  transition: max-height .3s var(--ease), padding .3s var(--ease);
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.2rem; }

/* =======================================================================
   CONTATO
   ======================================================================= */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-card {
  background: var(--blue); color: #fff; border-radius: var(--radius-lg);
  padding: 2.4rem; display: flex; flex-direction: column; justify-content: space-between;
}
.contact-card h3 { color: #fff; font-size: 1.65rem; margin: .75rem 0 .9rem; }
.contact-card p { color: #cbd5e1; font-size: .95rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.4rem; margin: 1.8rem 0; }
.cmethod { display: flex; align-items: flex-start; gap: .9rem; }
.cmethod-ico {
  width: 42px; height: 42px; background: rgba(255,255,255,.1); color: var(--green);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}
.cmethod h5 { color: #fff; font-size: .95rem; margin-bottom: .15rem; }
.cmethod p { color: #cbd5e1; font-size: .875rem; }

.form-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border); padding: 2.4rem; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.45rem; color: var(--blue); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-g { margin-bottom: 1.3rem; }
.form-g label { display: block; font-weight: 700; font-size: .875rem; color: var(--blue); margin-bottom: .45rem; }
.form-ctrl {
  width: 100%; padding: .78rem 1rem;
  border: 1.5px solid var(--gray-border); border-radius: var(--radius);
  font-family: inherit; font-size: .95rem; color: var(--text);
  transition: border-color .2s var(--ease);
}
.form-ctrl:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,150,94,.13); }
.form-note { font-size: .75rem; color: var(--text-muted); text-align: center; margin-top: .7rem; }

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer {
  background: var(--blue-dark); color: #94a3b8;
  padding-top: 4rem; padding-bottom: 2rem;
  border-top: 4px solid var(--green);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { margin-top: .9rem; font-size: .875rem; color: #94a3b8; max-width: 300px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .875rem; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; flex-wrap: wrap; gap: .75rem;
}

/* =======================================================================
   MODAIS
   ======================================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,.72); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 660px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 2rem; position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(22px); transition: transform .25s var(--ease);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 1.4rem; color: var(--gray); padding: .25rem; cursor: pointer;
}
.modal-close:hover { color: var(--blue); }

/* LGPD Banner */
.lgpd {
  position: fixed; bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  max-width: 880px; margin: 0 auto;
  background: #fff; border: 1px solid var(--gray-border);
  border-left: 5px solid var(--green); border-radius: var(--radius);
  padding: 1.2rem 1.65rem; box-shadow: var(--shadow-lg); z-index: 1500;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transform: translateY(160%); transition: transform .35s var(--ease);
}
.lgpd.show { transform: translateY(0); }
.lgpd p { font-size: .84rem; color: var(--text-muted); margin-top: .2rem; }
.lgpd a { color: var(--green); text-decoration: underline; }

/* =======================================================================
   PAINEL ADMIN — ESTILOS COMPLETOS
   ======================================================================= */
.admin-body {
  background: #f0f4f8;
  min-height: 100vh;
}

/* Admin Login Screen */
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a4a7a 100%);
  padding: 1.5rem;
}
.login-card {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 420px; padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(18,33,64,.35);
}
.login-logo { margin-bottom: 1.8rem; }
.login-logo img { height: 42px; }
.login-card h2 { font-size: 1.55rem; margin-bottom: .4rem; }
.login-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.login-error {
  background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b;
  padding: .75rem 1rem; border-radius: 8px; font-size: .875rem;
  margin-bottom: 1rem; display: none;
}
.login-error.show { display: block; }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px; background: var(--blue); color: #fff;
  display: flex; flex-direction: column;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-logo { padding: 1.75rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-logo img { height: 38px; }

.admin-nav { flex: 1; padding: 1.25rem 0; }
.admin-nav a {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.5rem; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.7);
  transition: all .2s var(--ease); border-left: 3px solid transparent;
}
.admin-nav a svg { flex-shrink: 0; }
.admin-nav a:hover, .admin-nav a.active {
  color: #fff; background: rgba(255,255,255,.08); border-left-color: var(--green);
}
.admin-nav-section {
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
  padding: .9rem 1.5rem .4rem;
}

.admin-logout {
  padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
}
.admin-logout button {
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.6); font-size: .9rem; font-weight: 600; width: 100%;
  transition: color .2s var(--ease);
}
.admin-logout button:hover { color: #fff; }

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--gray-border);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm);
}
.admin-topbar h1 { font-size: 1.4rem; color: var(--blue); }
.admin-topbar p { font-size: .85rem; color: var(--text-muted); }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }

.admin-content { flex: 1; padding: 2rem; }

/* Admin Section Panel */
.admin-panel {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border); padding: 1.75rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.75rem;
}
.admin-panel-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-border);
}
.admin-panel-hdr h3 { font-size: 1.2rem; color: var(--blue); display: flex; align-items: center; gap: .6rem; }
.panel-tag {
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--green); background: var(--green-light); padding: .25rem .65rem; border-radius: var(--radius-full);
}

/* Service List in Admin */
.svc-admin-list { display: flex; flex-direction: column; gap: .9rem; }
.svc-admin-item {
  background: var(--bg-alt); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.svc-admin-item:hover { border-color: var(--blue-border); }
.svc-admin-info { flex: 1; }
.svc-admin-info h4 { font-size: .95rem; color: var(--blue); margin-bottom: .3rem; }
.svc-admin-info p { font-size: .82rem; color: var(--text-muted); }
.svc-admin-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.btn-icon {
  width: 34px; height: 34px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; transition: all .2s var(--ease);
}
.btn-icon-edit { background: var(--blue-subtle); color: var(--blue); }
.btn-icon-edit:hover { background: var(--blue); color: #fff; }
.btn-icon-del { background: #fef2f2; color: #ef4444; }
.btn-icon-del:hover { background: #ef4444; color: #fff; }
.btn-icon-up, .btn-icon-dn { background: var(--bg-alt); border: 1px solid var(--gray-border); color: var(--gray); }
.btn-icon-up:hover, .btn-icon-dn:hover { background: var(--gray); color: #fff; }

/* Toast */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--blue); color: #fff;
  padding: .9rem 1.4rem; border-radius: var(--radius);
  border-left: 4px solid var(--green); box-shadow: var(--shadow-lg);
  z-index: 9999; font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; gap: .6rem;
  transform: translateY(100px); opacity: 0;
  transition: all .3s var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Grid de Edição */
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.edit-grid.full { grid-template-columns: 1fr; }
.admin-save-bar {
  position: sticky; bottom: 0; background: var(--blue);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(27,49,94,.15);
}
.admin-save-bar span { color: #94a3b8; font-size: .875rem; }

/* =======================================================================
   RESPONSIVE
   ======================================================================= */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .stats-grid, .method-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 220px; }
  .nav-list {
    position: fixed; top: 76px; left: 0; width: 100%;
    background: #fff; flex-direction: column; padding: 1.75rem;
    box-shadow: var(--shadow-md); border-bottom: 1px solid var(--gray-border);
    transform: translateY(-120%); transition: transform .28s var(--ease);
    z-index: 899;
  }
  .nav-list.open { transform: translateY(0); }
  .burger { display: flex; }
  .hdr-btns .btn-blue { display: none; }
}
@media (max-width: 640px) {
  .services-grid, .stats-grid, .method-grid, .footer-grid, .form-row, .edit-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2rem; }
  .lgpd { flex-direction: column; align-items: flex-start; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
}
