/*
Theme Name: Hello Elementor
Description: Customizada para o staging do SindiAnapolis.
Version: 3.3.0
*/

:root {
  --sind-azul: #0d2d5e;
  --sind-azul-vivo: #1557d4;
  --sind-azul-medio: #1a4a8a;
  --sind-laranja: #e8720a;
  --sind-laranja-claro: #ff8c2a;
  --sind-cinza: #64748b;
  --sind-cinza-claro: #f8fafc;
  --sind-borda: #e2e8f0;
  --sind-preto: #0f172a;
  --sind-branco: #ffffff;
  --sind-container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sind-preto);
  background: var(--sind-branco);
  font-family: "Plus Jakarta Sans", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-main {
  min-height: 60vh;
}

.sind-container {
  width: min(calc(100% - 48px), var(--sind-container));
  margin: 0 auto;
}

.sind-topbar {
  background: var(--sind-azul);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.sind-topbar .sind-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.sind-topbar-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sind-topbar a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.sind-topbar a:hover,
.sind-footer a:hover {
  color: var(--sind-laranja-claro);
}

.sind-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sind-branco);
  border-bottom: 2px solid var(--sind-borda);
  box-shadow: 0 2px 16px rgba(13, 45, 94, 0.08);
}

.sind-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}

.sind-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.sind-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.sind-logo strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sind-azul);
  letter-spacing: -0.3px;
}

.sind-logo span {
  display: block;
  max-width: 240px;
  font-size: 0.65rem;
  color: var(--sind-cinza);
  font-weight: 500;
  line-height: 1.4;
}

.sind-menu,
.sind-mobile-menu,
.sind-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sind-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.sind-menu a,
.sind-mobile-menu a {
  display: block;
  padding: 7px 13px;
  border-radius: 8px;
  color: var(--sind-preto);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.sind-menu a:hover,
.sind-mobile-menu a:hover {
  color: var(--sind-azul);
  background: var(--sind-cinza-claro);
}

.sind-btn-nav,
.sind-btn,
.sind-mobile-menu .sind-btn-nav {
  background: var(--sind-laranja);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
}

.sind-btn-nav:hover,
.sind-btn:hover {
  color: #fff;
  background: var(--sind-laranja-claro);
}

.sind-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.sind-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--sind-azul);
}

.sind-mobile-wrap {
  display: none;
  border-top: 1px solid var(--sind-borda);
}

.sind-mobile-wrap.is-open {
  display: block;
}

.sind-mobile-menu {
  padding: 16px 0;
}

.sind-mobile-menu li + li {
  margin-top: 4px;
}

.sind-hero {
  background: var(--sind-azul);
  position: relative;
  overflow: hidden;
}

.sind-hero::before,
.sind-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.sind-hero::before {
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: var(--sind-laranja);
  opacity: 0.07;
}

.sind-hero::after {
  bottom: -60px;
  left: 20%;
  width: 250px;
  height: 250px;
  background: var(--sind-azul-vivo);
  opacity: 0.2;
}

.sind-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.sind-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 114, 10, 0.35);
  border-radius: 999px;
  background: rgba(232, 114, 10, 0.2);
  color: var(--sind-laranja-claro);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sind-badge::before,
.sind-alert-dot {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sind-laranja-claro);
}

.sind-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.sind-hero h1 span,
.sind-highlight {
  color: var(--sind-laranja);
}

.sind-slogan {
  margin-bottom: 20px;
  color: var(--sind-laranja-claro);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sind-hero p {
  max-width: 540px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.sind-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sind-btn,
.sind-btn-ghost,
.sind-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.sind-btn {
  color: #fff;
}

.sind-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
}

.sind-btn-light {
  background: #fff;
  color: var(--sind-laranja);
  font-weight: 700;
}

.sind-btn-ghost:hover,
.sind-btn-light:hover {
  transform: translateY(-2px);
}

.sind-hero-side {
  display: flex;
  justify-content: center;
}

.sind-hero-card {
  width: min(420px, 100%);
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}

.sind-hero-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.sind-hero-card p {
  margin-bottom: 18px;
}

.sind-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--sind-laranja);
}

.sind-stat {
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sind-stat:last-child {
  border-right: 0;
}

.sind-stat strong {
  display: block;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

.sind-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.sind-alert {
  background: var(--sind-azul-medio);
}

.sind-alert .sind-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.sind-alert-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
}

.sind-alert-link {
  color: var(--sind-laranja-claro);
  font-weight: 700;
  white-space: nowrap;
}

.sind-section {
  padding: 72px 0;
}

.sind-section-alt {
  background: var(--sind-cinza-claro);
}

.sind-section-dark {
  background: var(--sind-azul);
  color: #fff;
}

.sind-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sind-azul);
}

.sind-section-dark .sind-section-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.sind-section-label {
  margin-bottom: 6px;
  color: var(--sind-laranja);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.sind-section-dark .sind-section-label {
  color: var(--sind-laranja-claro);
}

.sind-section-title {
  margin: 0;
  color: var(--sind-azul);
  font-size: 2rem;
  font-weight: 800;
}

.sind-section-dark .sind-section-title,
.sind-section-dark .sind-card-title {
  color: #fff;
}

.sind-section-link {
  color: var(--sind-azul);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--sind-laranja);
}

.sind-section-dark .sind-section-link {
  color: rgba(255, 255, 255, 0.84);
}

.sind-news-list,
.sind-agenda-list {
  display: flex;
  flex-direction: column;
}

.sind-news-item,
.sind-agenda-item {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--sind-borda);
  text-decoration: none;
}

.sind-news-thumb {
  width: 160px;
  height: 110px;
  flex: 0 0 160px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sind-azul), var(--sind-azul-vivo));
}

.sind-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sind-news-meta,
.sind-card-copy,
.sind-page-entry,
.sind-loop-excerpt {
  color: var(--sind-cinza);
}

.sind-news-date,
.sind-meta {
  font-size: 0.8rem;
}

.sind-news-title,
.sind-agenda-title,
.sind-card-title,
.sind-loop-title {
  margin: 0 0 8px;
  color: var(--sind-azul);
  font-weight: 700;
}

.sind-news-more {
  margin-top: 10px;
  color: var(--sind-laranja);
  font-size: 0.8rem;
  font-weight: 700;
}

.sind-agenda-item {
  align-items: center;
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 14px;
  border: 1px solid var(--sind-borda);
  border-radius: 14px;
}

.sind-agenda-date {
  min-width: 72px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--sind-azul);
  color: #fff;
  text-align: center;
}

.sind-agenda-date strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.sind-agenda-date span {
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.sind-agenda-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(232, 114, 10, 0.1);
  color: var(--sind-laranja);
  font-size: 0.72rem;
  font-weight: 700;
}

.sind-grid {
  display: grid;
  gap: 18px;
}

.sind-grid-quick {
  grid-template-columns: repeat(4, 1fr);
}

.sind-grid-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.sind-card,
.sind-album {
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

.sind-card {
  position: relative;
  padding: 24px;
  border: 1.5px solid var(--sind-borda);
  background: #fff;
}

.sind-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--sind-borda);
}

.sind-card-icon {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.sind-album {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 18px;
  background: linear-gradient(135deg, var(--sind-azul-medio), var(--sind-azul-vivo));
}

.sind-album::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.65));
}

.sind-album-info,
.sind-album-badge {
  position: relative;
  z-index: 1;
}

.sind-album-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--sind-laranja);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.sind-album-title {
  margin: 0 0 4px;
  color: #fff;
}

.sind-album-count {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.sind-cta {
  background: var(--sind-laranja);
  color: #fff;
  text-align: center;
}

.sind-cta .sind-container {
  padding: 52px 0;
}

.sind-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.4rem);
}

.sind-cta p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
}

.sind-footer {
  background: #07192e;
  color: rgba(255, 255, 255, 0.56);
}

.sind-footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
}

.sind-footer-brand img {
  height: 56px;
  margin-bottom: 14px;
}

.sind-footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sind-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.sind-footer li + li {
  margin-top: 10px;
}

.sind-footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.sind-page-wrap,
.sind-loop-wrap {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.sind-page-header,
.sind-loop-header {
  margin-bottom: 28px;
}

.sind-page-title,
.sind-loop-main-title {
  margin: 0 0 8px;
  color: var(--sind-azul);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.sind-page-entry {
  line-height: 1.8;
}

.sind-page-entry iframe,
.sind-page-entry img,
.sind-page-entry table {
  max-width: 100%;
}

.sind-loop-item + .sind-loop-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--sind-borda);
}

.sind-pagination {
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .sind-grid-quick {
    grid-template-columns: repeat(2, 1fr);
  }

  .sind-grid-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .sind-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .sind-hero-grid,
  .sind-stats {
    grid-template-columns: 1fr;
  }

  .sind-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sind-stat:last-child {
    border-bottom: 0;
  }

  .sind-hero-side {
    display: none;
  }
}

@media (max-width: 768px) {
  .sind-topbar {
    display: none;
  }

  .sind-nav {
    min-height: 76px;
  }

  .sind-logo img {
    height: 56px;
  }

  .sind-menu {
    display: none;
  }

  .sind-menu-toggle {
    display: inline-block;
  }

  .sind-section-head,
  .sind-news-item,
  .sind-alert .sind-container,
  .sind-footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .sind-news-thumb {
    width: 100%;
    height: 220px;
    flex-basis: auto;
  }

  .sind-agenda-item {
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .sind-container,
  .sind-page-wrap,
  .sind-loop-wrap {
    width: min(calc(100% - 32px), var(--sind-container));
  }

  .sind-grid-quick,
  .sind-grid-gallery,
  .sind-footer-main {
    grid-template-columns: 1fr;
  }

  .sind-hero-actions {
    flex-direction: column;
  }
}
