/* Since Host — layout 2026: tokens, faixa do topo, menu, rodapé e botão do WhatsApp.
   Carregado em todas as páginas. Classes com prefixo sh- para não colidir com o Bootstrap. */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;

  --blue: #0a66ff;
  --blue-hover: #0057e0;
  --blue-soft: rgba(10, 102, 255, .1);
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --purple: #af52de;
  --teal: #30b0c7;

  --label: #1d1d1f;
  --label-2: #515154;
  --label-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --separator: rgba(0, 0, 0, .1);

  --night: #0b0c0f;
  --night-2: #16181d;
  --night-card: #1b1d23;
  --night-label: #f5f5f7;
  --night-label-2: #a1a1a6;
  --night-sep: rgba(255, 255, 255, .1);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 16px 40px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.22);

  --ease: cubic-bezier(.25, .1, .25, 1);
  --wrap: 1200px;
}

/* ---------- Faixa do topo ---------- */
.sh-topbar {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px;
  min-height: 40px; padding: 8px 16px; background: #0b1220; color: rgba(255,255,255,.8);
  font: 14px/1.3 var(--font); text-align: center;
}
.sh-topbar a { display: inline-flex; align-items: center; gap: 2px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sh-topbar a:hover { color: #fff; text-decoration-color: #5e9bff; }
.sh-topbar svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .sh-topbar span { display: none; } }

/* ---------- Menu ---------- */
.sh-nav {
  position: sticky; top: 0; z-index: 1030;
  font-family: var(--font);
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--separator);
}
.sh-nav-inner { position: relative; display: flex; align-items: center; gap: 32px; max-width: var(--wrap); height: 72px; margin: 0 auto; padding: 0 24px; }
.sh-nav-logo { display: flex; align-items: center; flex: none; }
.sh-nav-logo img { display: block; height: 34px; width: auto; }
.sh-nav-panel { display: flex; align-items: center; flex: 1; gap: 24px; }
.sh-nav-panel nav { flex: 1; }
.sh-nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sh-nav-links > li > a, .sh-dd-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  color: var(--label); font: 500 16px var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.sh-nav-links > li > a:hover, .sh-dd-btn:hover, .sh-dd.open .sh-dd-btn { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.sh-nav-links > li > a.is-active, .sh-dd-btn.is-active { color: var(--blue); font-weight: 600; }
.sh-dd-btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.sh-dd.open .sh-dd-btn svg { transform: rotate(180deg); }

.sh-nav-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .1s var(--ease);
}
.sh-btn svg { width: 18px; height: 18px; }
.sh-btn:hover { text-decoration: none; }
.sh-btn:active { transform: scale(.97); }
.sh-btn-primary { background: var(--blue); color: #fff; }
.sh-btn-primary:hover { background: var(--blue-hover); color: #fff; }
.sh-btn-ghost { background: transparent; color: var(--label); }
.sh-btn-ghost:hover { background: var(--bg-2); color: var(--blue); }

/* Mega-menu Recursos */
.sh-dd { position: static; }
.sh-mega {
  position: absolute; top: calc(100% - 4px); left: 50%; width: min(940px, calc(100vw - 48px));
  display: grid; grid-template-columns: 1fr 300px;
  background: var(--card); border-radius: 18px; border: 1px solid var(--separator);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  overflow: hidden;
}
.sh-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.sh-dd.open .sh-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .sh-dd:hover .sh-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sh-dd:hover .sh-dd-btn { color: var(--blue); background: var(--blue-soft); }
  .sh-dd:hover .sh-dd-btn svg { transform: rotate(180deg); }
}
.sh-mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 20px; list-style: none; align-content: start; }
.sh-mega-list a {
  display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: 14px;
  color: var(--label); text-decoration: none; transition: background-color .2s var(--ease);
}
.sh-mega-list a:hover, .sh-mega-list a[aria-current] { background: var(--bg-2); text-decoration: none; }
.sh-mega-ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.sh-mega-list a:hover .sh-mega-ico { background: var(--blue); color: #fff; }
.sh-mega-ico svg { width: 24px; height: 24px; }
.sh-mega-list b { display: block; margin-top: 3px; font-size: 16px; font-weight: 600; color: var(--label); }
.sh-mega-list small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--label-3); }

.sh-mega-news {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px;
  background: var(--bg-2); border-left: 1px solid var(--separator); color: var(--label); text-decoration: none;
}
.sh-mega-news:hover { text-decoration: none; color: var(--label); }
.sh-mega-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.sh-mega-news img { width: 100%; height: auto; margin: 8px 0 10px; border-radius: 12px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.sh-mega-news:hover img { transform: scale(1.02); }
.sh-mega-news b { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sh-mega-news small { font-size: 14px; line-height: 1.45; color: var(--label-2); padding-right: 48px; }
.sh-mega-go {
  position: absolute; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .2s var(--ease);
}
.sh-mega-news:hover .sh-mega-go { transform: translateX(3px); }
.sh-mega-go svg { width: 18px; height: 18px; }

.sh-nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: var(--label); cursor: pointer;
}
.sh-nav-toggle svg { width: 24px; height: 24px; }
.sh-nav-toggle:hover { background: var(--bg-2); }

@media (max-width: 1080px) {
  .sh-nav-inner { height: 64px; }
  .sh-nav-toggle { display: grid; place-items: center; }
  .sh-nav-panel {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 64px); overflow-y: auto;
    padding: 8px 16px 20px; background: #fff; border-bottom: 1px solid var(--separator);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .sh-nav.open .sh-nav-panel { display: flex; }
  .sh-nav-links { flex-direction: column; align-items: stretch; }
  .sh-nav-links > li > a, .sh-dd-btn { width: 100%; min-height: 50px; padding: 0 12px; font-size: 17px; }
  .sh-dd-btn { justify-content: space-between; }
  .sh-mega {
    position: static; display: none; width: auto; grid-template-columns: 1fr;
    box-shadow: none; border: 0; border-radius: 0; opacity: 1; visibility: visible; transform: none;
  }
  .sh-dd.open .sh-mega { display: grid; transform: none; }
  .sh-mega-list { grid-template-columns: 1fr; padding: 4px 0 8px; gap: 0; }
  .sh-mega-list a { padding: 10px 12px; }
  .sh-mega-ico { width: 44px; height: 44px; border-radius: 12px; }
  .sh-mega-news { display: none; }
  .sh-nav-actions { flex-direction: column; align-items: stretch; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--separator); }
  .sh-nav-actions .sh-btn { min-height: 50px; font-size: 16px; }
}

/* ---------- Rodapé ---------- */
.sh-footer { padding: 72px 0 40px; background: #0b1220; font: 15px/1.6 var(--font); color: rgba(255,255,255,.6); }
.sh-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.sh-footer a:hover { color: #fff; text-decoration: none; }
.sh-foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sh-foot-top { display: flex; align-items: center; gap: 24px; padding-bottom: 28px; }
.sh-foot-top img { height: 36px; width: auto; }
.sh-foot-top::after { content: ""; order: 1; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.sh-foot-top .sh-social { order: 2; margin: 0; }
.sh-foot-about { max-width: 900px; margin: 0; font-size: 14px; color: rgba(255,255,255,.55); }
.sh-foot-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.sh-foot-grid h4 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5e9bff; }
.sh-foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-foot-wa {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font-size: 18px; font-weight: 600;
}
.sh-foot-wa:hover { border-color: #25d366; }
.sh-foot-wa i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #25d366; color: #fff; font-style: normal; }
.sh-foot-wa svg { width: 22px; height: 22px; }
.sh-foot-contact { margin-top: 14px !important; }
.sh-social { display: flex; gap: 8px; }
.sh-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.sh-social a:hover { border-color: #fff; color: #fff; }
.sh-social svg { width: 18px; height: 18px; }
.sh-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.sh-foot-bottom p { margin: 0; }
@media (max-width: 960px) { .sh-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sh-foot-grid { grid-template-columns: 1fr; } .sh-foot-top { flex-wrap: wrap; } .sh-foot-top::after { display: none; } }
@media (max-width: 720px) { .sh-nav-inner, .sh-foot-inner { padding: 0 16px; } }

/* ---------- WhatsApp flutuante ---------- */
.sh-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.sh-wa:hover { background: #1ebe5b; color: #fff; transform: scale(1.05); }
.sh-wa svg { width: 30px; height: 30px; }

/* ---------- Voltar ao topo ---------- */
.sh-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 1040;
  width: 48px; height: 48px; padding: 0; border: 1px solid var(--separator); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--label); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s, color .2s;
}
.sh-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.sh-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.sh-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .sh-top { transition: none; } }

/* ---------- Cabeçalho das páginas internas (sem gradiente) ----------
   Sobrescreve os banners escuros com gradiente do layout antigo.
   "body" na frente aumenta a prioridade sobre os <style> dentro das páginas. */
body .inner-page-hero,
body .page-hero-blog,
body .page-hero-legal,
body .page-hero-post,
body .page-hero-admin {
  background: var(--bg-2);
  color: var(--label);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--separator);
}
body .inner-page-hero::before, body .inner-page-hero::after,
body .page-hero-blog::before, body .page-hero-blog::after,
body .page-hero-legal::before, body .page-hero-legal::after,
body .page-hero-post::before, body .page-hero-post::after,
body .page-hero-admin::before, body .page-hero-admin::after { display: none; }

body .inner-page-hero .section-title,
body .page-hero-blog .hero-title,
body .page-hero-legal .hero-title,
body .page-hero-post .hero-title,
body .page-hero-admin .hero-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.14;
  color: var(--label);
}
body .inner-page-hero .section-subtitle,
body .page-hero-blog .hero-subtitle,
body .page-hero-legal .hero-subtitle,
body .page-hero-post .hero-subtitle,
body .page-hero-admin .hero-subtitle { color: var(--label-2); }
body .inner-page-hero .highlight, body .page-hero-blog .highlight, body .page-hero-legal .highlight,
body .page-hero-post .highlight, body .page-hero-admin .highlight { color: var(--blue); background: none; -webkit-text-fill-color: currentColor; }
body .inner-page-hero .section-label,
body .page-hero-admin .section-label {
  background: var(--blue-soft); border-color: transparent; color: var(--blue);
}
body .page-hero-blog .breadcrumb-item a, body .page-hero-legal .breadcrumb-item a, body .page-hero-post .breadcrumb-item a { color: var(--blue) !important; }
body .page-hero-blog .breadcrumb-item.active, body .page-hero-legal .breadcrumb-item.active, body .page-hero-post .breadcrumb-item.active,
body .page-hero-blog .breadcrumb-item + .breadcrumb-item::before, body .page-hero-legal .breadcrumb-item + .breadcrumb-item::before,
body .page-hero-post .breadcrumb-item + .breadcrumb-item::before { color: var(--label-3) !important; }
body .page-hero-post .post-meta-hero { color: var(--label-3); }
body .page-hero-post .post-category-top { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 767.98px) {
  body .inner-page-hero, body .page-hero-blog, body .page-hero-legal, body .page-hero-post, body .page-hero-admin { padding: 48px 0 44px; }
}
