:root {
  --ss-blue: #123e8a;
  --ss-blue-dark: #0a2248;
  --ss-blue-soft: #eaf1ff;
  --ss-bg: #f7f9fc;
  --ss-white: #ffffff;
  --ss-text: #202733;
  --ss-muted: #5e6a7d;
  --ss-red: #c62828;
  --ss-whatsapp: #25d366;
  --ss-radius: 24px;
  --ss-container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ss-text);
  background: var(--ss-bg);
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.ss-container {
  width: min(var(--ss-container), calc(100% - 40px));
  margin: 0 auto;
}

.ss-skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 99999;
  background: var(--ss-blue);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.ss-skip-link:focus { left: 10px; }

.ss-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--ss-white);
  box-shadow: 0 8px 30px rgba(10, 34, 72, 0.08);
}
.admin-bar .ss-header { top: 32px; }

.ss-topbar {
  background: var(--ss-blue-dark);
  color: var(--ss-white);
  font-size: 13px;
}
.ss-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ss-topbar-info,
.ss-topbar-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ss-topbar a,
.ss-topbar span {
  color: var(--ss-white);
  text-decoration: none;
  opacity: 0.96;
}
.ss-topbar a:hover { opacity: 1; text-decoration: underline; }
.ss-topbar-social { gap: 10px; }
.ss-topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transition: .2s ease;
}
.ss-topbar-social a:hover {
  background: rgba(255,255,255,.18);
  text-decoration: none;
}
.ss-topbar-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

.ss-mainbar { background: var(--ss-white); }
.ss-mainbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.ss-logo img {
  display: block;
  width: auto;
  max-height: 64px;
}
.ss-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ss-nav-list li { margin: 0; padding: 0; }
.ss-nav-list a,
.ss-nav-list li a {
  color: var(--ss-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.ss-nav-list a:hover { color: var(--ss-blue); }

.ss-actions { display: flex; align-items: center; gap: 14px; }
.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: .2s ease;
}
.ss-btn-primary { background: var(--ss-blue); color: #fff; }
.ss-btn-primary:hover { background: var(--ss-blue-dark); color: #fff; transform: translateY(-1px); }
.ss-btn-outline { background: transparent; color: var(--ss-blue); border-color: rgba(18,62,138,.25); }
.ss-btn-outline:hover { border-color: var(--ss-blue); background: var(--ss-blue-soft); }

.ss-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--ss-blue-soft);
  border-radius: 16px;
  padding: 11px;
  cursor: pointer;
}
.ss-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ss-blue-dark);
  border-radius: 99px;
}
.ss-mobile-menu {
  display: none;
  padding: 12px 20px 22px;
  background: var(--ss-white);
  border-top: 1px solid rgba(10,34,72,.08);
}
.ss-mobile-menu.is-open { display: block; }
.ss-mobile-menu a {
  display: block;
  color: var(--ss-text);
  text-decoration: none;
  font-weight: 800;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10,34,72,.08);
}
.ss-mobile-menu .ss-btn { margin-top: 18px; color: #fff; border-bottom: 0; }

.ss-site-main { min-height: 50vh; }
.ss-section { padding: 64px 0; }

.ss-hero {
  padding: 70px 0 34px;
  background: radial-gradient(circle at 10% 20%, rgba(18,62,138,.12), transparent 30%), #fff;
}
.ss-hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.ss-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ss-blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}
.ss-hero h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: -0.06em;
  color: var(--ss-blue-dark);
}
.ss-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--ss-muted);
  font-size: 18px;
  line-height: 1.65;
}
.ss-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.ss-hero-media {
  min-height: 420px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(10,34,72,.92), rgba(18,62,138,.66)), url('../images/logo-sindseps.png') center / 70% no-repeat;
  box-shadow: 0 28px 80px rgba(10,34,72,.18);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.ss-hero-placeholder {
  width: 100%;
  padding: 26px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
}

/* Bloco de Serviços: CSS movido pro plugin (public.css), junto com o
   shortcode [atlas_servicos]. Motivo: havia 3 definições diferentes
   pra .ss-service-card espalhadas neste arquivo (uma delas com altura
   de linha fixa, que estourava em títulos de 2 linhas e desalinhava
   os cards). Ver ES Atlas Core >= 1.1.0, assets/css/public.css. */


.ss-footer {
  margin-top: 80px;
  padding: 58px 0 24px;
  background: var(--ss-blue-dark);
  color: #fff;
}
.ss-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 42px;
}
.ss-footer-logo { max-width: 210px; display: block; }
.ss-footer h3 { margin: 0 0 14px; font-family: "Sora", sans-serif; font-size: 16px; }
.ss-footer p, .ss-footer a { color: rgba(255,255,255,.82); line-height: 1.6; text-decoration: none; }
.ss-footer a { display: block; margin: 7px 0; }
.ss-footer-menu { margin: 0; padding: 0; list-style: none; }
.ss-footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.66);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ss-footer-bottom a {
  display: inline;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  margin: 0;
}
.ss-footer-bottom a:hover { color: #fff; text-decoration: underline; }

.ss-whatsapp-fixed {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  background: var(--ss-whatsapp);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.ss-post-card { padding: 64px 0; }
.ss-post-card h1 { font-family: "Sora", sans-serif; color: var(--ss-blue-dark); }

@media (max-width: 1180px) {
  .ss-nav-list { gap: 16px; }
  .ss-nav-list a { font-size: 13px; }
}
@media (max-width: 1024px) {
  .ss-nav { display: none; }
  .ss-menu-toggle { display: block; }
  .ss-topbar-social { display: none; }
  .ss-topbar-info { flex-wrap: wrap; justify-content: center; gap: 8px 14px; padding: 9px 0; }
  .ss-topbar-inner { justify-content: center; }
  .ss-hero-inner { grid-template-columns: 1fr; }
  .ss-hero-media { min-height: 320px; }
  .ss-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .ss-header { top: 46px; } }
@media (max-width: 700px) {
  .ss-container { width: min(100% - 28px, var(--ss-container)); }
  .ss-topbar-info span { display: none; }
  .ss-mainbar-inner { min-height: 74px; }
  .ss-logo img { max-height: 48px; }
  .ss-actions .ss-btn { display: none; }
  .ss-hero { padding: 44px 0 26px; }
  .ss-hero h1 { font-size: clamp(36px, 12vw, 54px); }
  .ss-hero p { font-size: 16px; }
  .ss-hero-actions .ss-btn { width: 100%; }
  .ss-footer-grid { grid-template-columns: 1fr; }
  .ss-whatsapp-fixed { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 14px; }
  .ss-footer-bottom { flex-direction: column; }
}

/* Versão 1.2.0, hero editorial em carrossel */
.ss-hero-carousel {
  padding: 34px 0 0;
  background: #fff;
}
.ss-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background: var(--ss-blue-dark);
  box-shadow: 0 28px 80px rgba(10,34,72,.18);
}
.ss-hero-slides {
  position: relative;
  min-height: 560px;
}
.ss-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
  background: linear-gradient(90deg, rgba(10,34,72,.94) 0%, rgba(10,34,72,.70) 42%, rgba(10,34,72,.22) 100%), url('../images/logo-sindseps.png') center right 8% / 46% no-repeat;
  background-size: cover;
  background-position: center;
}
.ss-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.ss-hero-carousel .ss-hero-content {
  max-width: 650px;
  color: #fff;
}
.ss-hero-carousel .ss-eyebrow {
  color: #fff;
  background: rgba(255,255,255,.14);
  padding: 9px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.ss-hero-carousel h1 {
  color: #fff;
  font-size: clamp(38px, 4.3vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.ss-hero-carousel p {
  color: rgba(255,255,255,.86);
  max-width: 560px;
}
.ss-btn-light {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.ss-btn-light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,.12);
}
.ss-hero-aside {
  position: relative;
  z-index: 2;
  padding: 34px 28px;
  background: rgba(255,255,255,.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.ss-hero-aside > strong {
  font-family: "Sora", sans-serif;
  color: var(--ss-blue-dark);
  font-size: 18px;
  margin-bottom: 8px;
}
.ss-hero-tab {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  padding: 16px;
  background: transparent;
  color: var(--ss-text);
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
  transition: .2s ease;
}
.ss-hero-tab span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ss-blue);
  font-weight: 900;
}
.ss-hero-tab:hover,
.ss-hero-tab.is-active {
  background: var(--ss-blue-soft);
  color: var(--ss-blue-dark);
}
.ss-hero-dots {
  position: absolute;
  left: 64px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.ss-hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.45);
  transition: .2s ease;
}
.ss-hero-dots button.is-active {
  width: 28px;
  background: #fff;
}

.ss-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ss-footer-social a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  margin: 0;
}
.ss-footer-social a:hover {
  background: rgba(255,255,255,.20);
  text-decoration: none;
}
.ss-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .ss-hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ss-hero-slides {
    min-height: 520px;
  }
  .ss-hero-aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 22px;
  }
  .ss-hero-aside > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .ss-hero-carousel {
    padding-top: 18px;
  }
  .ss-hero-shell {
    border-radius: 26px;
  }
  .ss-hero-slides {
    min-height: 540px;
  }
  .ss-hero-slide {
    padding: 34px 24px 72px;
    align-items: flex-end;
  }
  .ss-hero-carousel h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
  .ss-hero-aside {
    grid-template-columns: 1fr;
  }
  .ss-hero-dots {
    left: 24px;
    bottom: 32px;
  }
}

/* Portal Sindseps 1.3.2, ajustes de controle visual */
.ss-footer {
  margin-top: 0;
}

/* ===================================================================
   Espaçamento/borda por bloco: agora é via Elementor.
   Cada bloco é um widget "Shortcode" numa Section/Column própria —
   ajusta margin/padding/border direto na aba Avançado do widget/seção.
   Não precisa mais de classe CSS pra isso (era o .ss-block do
   front-page.php, removido quando a Home voltou a ser editada no
   Elementor com um shortcode por widget).
   =================================================================== */

.atlas-block-error {
  margin: 12px 0;
  padding: 12px 16px;
  border: 2px dashed #c62828;
  border-radius: 8px;
  background: #fff5f5;
  color: #c62828;
  font: 13px/1.5 monospace;
}


/* Portal Sindseps 1.3.4, ícones da topbar sem emojis coloridos */
.ss-topbar-info a,
.ss-topbar-info span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.ss-topbar-icon{
  width:15px;
  height:15px;
  display:inline-grid;
  place-items:center;
  color:#fff;
  flex:0 0 15px;
}
.ss-topbar-icon svg{
  width:15px;
  height:15px;
  fill:currentColor;
  display:block;
}
@media(max-width:700px){
  .ss-topbar-info{font-size:13px;}
  .ss-topbar-icon{width:14px;height:14px;flex-basis:14px;}
  .ss-topbar-icon svg{width:14px;height:14px;}
}


/* Portal Sindseps 1.3.5, correção final dos ícones do topo e rodapé */
.ss-topbar-icon,
.ss-footer-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  line-height: 1 !important;
  font-size: 0 !important;
  flex: 0 0 16px !important;
  overflow: hidden !important;
}

.ss-topbar-icon svg,
.ss-footer-icon svg,
.ss-topbar-info svg,
.ss-footer-contact svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  display: block !important;
  color: #ffffff !important;
  fill: currentColor !important;
  stroke: none !important;
  transform: none !important;
}

.ss-topbar-info a,
.ss-topbar-info > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.ss-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.ss-footer-contact a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.ss-topbar .emoji,
.ss-footer .emoji {
  display: none !important;
}

@media (max-width: 700px) {
  .ss-topbar-icon,
  .ss-footer-icon,
  .ss-topbar-icon svg,
  .ss-footer-icon svg,
  .ss-topbar-info svg,
  .ss-footer-contact svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    flex-basis: 15px !important;
  }

  .ss-topbar-info > span {
    display: none !important;
  }
}


/* Portal Sindseps 1.3.6, escopo dos ícones do tema e proteção dos serviços */
.ss-topbar .ss-topbar-icon svg,
.ss-footer .ss-footer-icon svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
}
.ss-services .ss-service-icon svg,
.ss-services .ss-service-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transform: none !important;
}
