:root {
  --main-blue: #0d47a1;
  --dark-blue: #071d36;
  --orange: #f37021;
  --orange-hover: #d65a10;
  --light-blue: #2b6cb0;
  --top-bar-bg: #ffffff;
  --top-bar-height: 40px;
  --text-gray: #555;
  --radius: 4px;
}

.sistema-completo {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: #444;
  overflow-x: hidden;
}

.sige-logo-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--main-blue) 0%, #1e88e5 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  border-radius: 8px;
  position: relative;
  box-shadow: 3px 3px 0px var(--orange);
  transition: .4s ease;
  border: 2px solid white;
}

.logo-wrapper:hover .sige-logo-box {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 5px 5px 0px var(--orange);
}
.escolas-section {
  scroll-margin-top: 100px; /* Ajuste esse valor de acordo com a altura do seu header */
}
.top-bar {
  background: var(--top-bar-bg);
  border-bottom: 1px solid #edf2f7;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1002;
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.top-contacts {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #718096;
}

.top-contacts span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-contacts i {
  color: var(--orange);
}

.top-social {
  display: flex;
  gap: 15px;
}

.top-social a {
  color: #a0aec0;
  font-size: 14px;
  text-decoration: none;
  transition: .3s;
}

.top-social a:hover {
  color: var(--main-blue);
  transform: translateY(-2px);
}

.main-header {
  background: rgba(255, 255, 255, .98);
  position: sticky;
  top: var(--top-bar-height);
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  padding: 12px 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--main-blue);
}

.logo-text {
  border-left: 2px solid #eee;
  padding-left: 12px;
  line-height: 1.1;
}

.top-text {
  font-size: 7.5px;
  font-weight: 800;
  display: block;
  letter-spacing: .3px;
  color: #777;
}

.main-logo-name {
  font-size: 20px;
  font-weight: 900;
  display: block;
  letter-spacing: -.5px;
}

.sub-text {
  font-size: 6.5px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 10.5px;
  font-weight: 800;
  position: relative;
  padding: 4px 0;
  transition: .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: .3s;
}

.nav-link:hover {
  color: var(--main-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-demo-header {
  background: var(--orange);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s;
  white-space: nowrap;
}

.btn-demo-header:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-gestor-header {
  background: #f1f5f9;
  color: var(--main-blue);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s;
}

.btn-gestor-header:hover {
  background: var(--main-blue);
  color: white;
}

.hero-section {
  height: 600px;
  width: 100%;
  background: linear-gradient(90deg, rgba(13, 71, 161, 1) 0%, rgba(13, 71, 161, .9) 35%, rgba(13, 71, 161, 0) 80%), url('img/educacao2.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-info {
  max-width: 500px;
  color: white;
}

.hero-info h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.orange-text {
  color: var(--orange);
}

.hero-info p {
  font-size: 14px;
  margin-bottom: 25px;
  opacity: .9;
  line-height: 1.5;
}

.btn-orange-hero {
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  display: inline-block;
  transition: .3s;
}

.container-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  max-width: 1300px;
  margin: 0 auto;
}

.features-area {
  padding: 40px 5% 60px 0;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--main-blue);
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.feature-card {
  border: 2px solid #edf2f7;
  border-radius: var(--radius);
  padding: 30px 15px;
  text-align: center;
  transition: .3s;
}

.feature-card:hover {
  border-color: var(--main-blue);
  background: #fcfdfe;
}

.icon-circle {
  font-size: 35px;
  color: var(--orange);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 11px;
  font-weight: 800;
  color: var(--main-blue);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  line-height: 1.4;
}

.results-flex {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.img-dash {
  width: 260px;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.sidebar-form-container {
  margin-top: -350px;
  z-index: 10;
}

.form-box {
  background: var(--light-blue);
  padding: 40px 30px;
  color: white;
  border-radius: var(--radius) var(--radius) 0 0;
}

.form-box h3 {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 25px;
}

.input-row {
  display: flex;
  gap: 10px;
}

input {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  margin-bottom: 12px;
  font-size: 11px;
  outline: none;
}

.btn-send-form {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  transition: .3s;
}

.side-footer {
  background: var(--dark-blue);
  color: white;
  padding: 40px 30px;
  font-size: 10px;
  min-height: 40px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}

.footer-contacts i {
  color: var(--orange);
  margin-right: 8px;
  width: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: white;
  font-size: 16px;
  transition: .3s;
}

.social-icons a:hover {
  color: var(--orange);
}

.copy {
  margin-top: 50px;
  opacity: .4;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  line-height: 1.4;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 40px;
  max-width: 500px;
}

.stat-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: .3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  background: rgba(255, 255, 255, .15);
}

.stat-icon {
  width: 45px;
  height: 45px;
  background: var(--orange);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(243, 112, 33, .3);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  font-weight: 700;
  letter-spacing: .5px;
  margin-top: 4px;
}

.img-slider {
  position: relative;
  width: 260px;
  height: 180px;
  cursor: zoom-in;
  transition: .5s cubic-bezier(.4, 0, .2, 1);
  z-index: 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.img-slider:hover {
  position: fixed;
  top: 5%;
  left: 5%;
  width: 90vw;
  height: 90vh;
  z-index: 9999;
  cursor: zoom-out;
  box-shadow: 0 0 100px rgba(0, 0, 0, .5);
}

.img-slider .img-dash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .8s;
  object-fit: contain;
  background: #000;
}

.img-slider .img-dash.active {
  opacity: 1;
  z-index: 2;
}

.results-flex:has(.img-slider:hover)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .8);
  z-index: 9998;
  backdrop-filter: blur(5px);
}

.mobile-menu-icon {
  display: none;
  font-size: 24px;
  color: var(--main-blue);
  cursor: pointer;
}

.mobile-only-action {
  display: none;
}

@media(max-width:1360px) {
  .main-nav {
    display: none;
  }

  .container-grid {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .sidebar-form-container {
    margin-top: 40px;
  }
}

@media(max-width:1100px) {

  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  .mobile-only-action {
    display: block;
    width: 100%;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 15px 20px rgba(0, 0, 0, .1);
    z-index: 1000;
    padding: 20px 0;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-nav ul li {
    width: 100%;
    text-align: center;
  }

  .container-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .sidebar-form-container {
    margin-top: 40px;
  }

  .btn-demo-mobile {
    background: var(--orange);
    color: white !important;
    font-weight: 800;
  }

}

@media(max-width:768px) {

  .hero-section {
    height: auto;
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(90deg, rgba(13, 71, 161, .95)0%, rgba(13, 71, 161, .85)40%, rgba(13, 71, 161, .3)100%), url('img/educacao2.jpg');
    background-size: cover;
    background-position: center;
  }

  .hero-info {
    max-width: 100%
  }

  .hero-info h1 {
    font-size: 24px;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    margin: 30px auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .results-flex {
    flex-direction: column;
    text-align: center;
  }

  .img-slider {
    width: 100%;
    max-width: 320px;
    height: 200px;
    margin: 0 auto 20px;
  }

  .img-slider:hover {
    position: relative;
    width: 100%;
    height: 200px;
    top: 0;
    left: 0;
  }

  .input-row {
    flex-direction: column;
    gap: 0;
  }

}

@media(max-width:600px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.mobile-only-action {
  display: none;
}

@media(max-width:1100px) {

  .mobile-only-action {
    display: block;
    margin-top: 10px;
  }

  .btn-demo-mobile {
    background: #f37021;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    text-decoration: none;
  }

}
.sistema-completo {
  padding: 80px 0;
  background-color: #ffffff;
}

.funcionalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.func-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: var(--radius);
  padding: 35px 25px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.func-card:hover {
  transform: translateY(-5px);
  border-color: var(--main-blue);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.func-icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  color: var(--main-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 24px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.func-card:hover .func-icon {
  background: var(--main-blue);
  color: #ffffff;
}

.func-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.func-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.func-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: 1.4;
}

.func-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.highlight-card {
  border-top: 4px solid var(--orange);
  background: linear-gradient(to bottom, #fffcf9, #ffffff);
}

.highlight-card .func-icon {
  background: rgba(243, 112, 33, 0.1);
  color: var(--orange);
}

.highlight-card:hover {
  border-color: var(--orange);
}

@media (max-width: 1100px) {
  .funcionalidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sistema-completo {
    padding: 50px 0;
  }
  
  .funcionalidades-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .func-card {
    padding: 25px;
  }
  
  .section-header {
    text-align: center;
    padding: 0 20px;
  }
}
@media(max-width: 1100px) {
  .funcionalidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 768px) {
  .funcionalidades-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .top-bar-container {
    flex-direction: row; 
    justify-content: space-around; 
    padding: 5px;
  }

  .top-contacts {
    display: flex;
    justify-content: center;
  }
}


/* --- Seção de Escolas (Padrão SIGE) --- */
.escolas-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Cabeçalho e Tipografia --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.badge-blue {
  background-color: var(--main-blue);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2 {
  color: var(--dark-blue);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.orange-text {
  color: var(--orange);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* --- Barra de Busca Profissional --- */
.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-blue);
  font-size: 1.1rem;
}

#pesquisa {
  width: 100%;
  padding: 16px 20px 16px 55px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  background: var(--top-bar-bg);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

#pesquisa:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(243, 112, 33, 0.1);
}

/* --- Grid de Escolas --- */
.escolas-grid-dinamico {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* --- Estado de Carregamento --- */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--main-blue);
}

.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(13, 71, 161, 0.1);
  border-top: 4px solid var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Estilo Base para os Cards (Dinâmicos) --- */
.escola-card {
  background: var(--top-bar-bg);
  border-radius: var(--radius);
  padding: 25px;
  border-left: 5px solid var(--main-blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.escola-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--orange);
}
@media (max-width: 1200px) {
  .container-grid {
      grid-template-columns: 1fr;
      padding: 0 4%;
  }
  .sidebar-form-container {
      margin-top: 50px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
  }
}

@media (max-width: 992px) {
  .section-header h2, .hero-info h1 {
      font-size: 28px;
  }
  .cards-grid, .funcionalidades-grid, .escolas-grid-dinamico {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }
  .main-nav { 
      display: none; 
  }
}

@media (max-width: 768px) {
  .hero-section {
      height: auto;
      padding: 80px 20px;
      background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.9)), url('img/educacao2.jpg');
      background-size: cover;
      text-align: center;
  }
  
  .hero-info {
      max-width: 100%;
  }

  .hero-stats {
      grid-template-columns: 1fr;
      gap: 12px;
      margin: 30px auto;
  }

  .funcionalidades-grid, .cards-grid, .escolas-grid-dinamico {
      grid-template-columns: 1fr;
      padding: 0 15px;
  }

  .section-header {
      margin-bottom: 30px;
      padding: 0 15px;
  }

  .section-header h2 {
      font-size: 22px;
  }

  .top-bar {
      height: auto;
      padding: 10px 0;
  }

  .top-bar-container {
      flex-direction: column;
      gap: 8px;
      text-align: center;
  }

  .top-contacts {
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      font-size: 10px;
  }

  .img-slider {
      width: 100%;
      max-width: 100%;
      height: 220px;
  }
  
  .img-slider:hover {
      position: relative;
      width: 100%;
      height: 220px;
      top: 0;
      left: 0;
      transform: none;
  }

  .results-flex {
      flex-direction: column;
      gap: 30px;
  }

  .hide-mobile {
      display: none !important;
  }
}

@media (max-width: 480px) {
  .header-container {
      padding: 10px 15px;
  }

  .sige-logo-box {
      width: 36px;
      height: 36px;
      font-size: 18px;
  }

  .main-logo-name {
      font-size: 17px;
  }

  input, .btn-send-form, .btn-orange-hero {
      padding: 15px;
      font-size: 14px;
      width: 100%;
  }

  .func-card {
      padding: 25px 15px;
  }

  .stat-card {
      padding: 12px;
  }
}
.escola-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.escola-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* 1. Redução da altura da imagem/logo de 160px para 120px */
.card-image {
  position: relative;
  height: 120px; 
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.card-image img {
  max-height: 80%; /* Garante que o logo não encoste nas bordas */
  max-width: 80%;
  object-fit: contain;
}

.sigla-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #0041C2;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* 2. Compactação do padding interno de 20px para 15px */
.card-info {
  padding: 15px;
  flex-grow: 1;
}

/* 3. Redução da altura mínima do título e margem */
.card-info h3 {
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  min-height: 1.2em; /* Altura para apenas uma ou duas linhas */
  display: flex;
  align-items: center;
}

.description-text {
  font-size: 0.8rem;
  color: #64748b;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  font-style: italic;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 5px; /* Reduzi o espaço entre as linhas de info */
}

.info-grid p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap; /* Evita quebras de linha desnecessárias */
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-grid i {
  width: 18px;
  color: #FF6A00;
  font-size: 0.8rem;
}

.card-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.niveis-tag {
  font-size: 0.65rem;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.planos-section {
  padding: 120px 0;
  background-color: #f4f7fa;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(var(--top-bar-bg) 1px, transparent 1px),
    linear-gradient(90deg, var(--top-bar-bg) 1px, transparent 1px);
  background-size: 40px 40px;
}

.planos-section::before {
  content: '$';
  position: absolute;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(13, 71, 161, 0.03);
  top: -50px;
  left: -50px;
  transform: rotate(-15deg);
  z-index: 0;
}

.planos-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230d47a1" fill-opacity="0.05" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,213.3C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  z-index: 0;
  animation: waveFlow 10s infinite alternate ease-in-out;
}

@keyframes waveFlow {
  from { transform: translateX(-10px); }
  to { transform: translateX(10px); }
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1300px;
  margin: 50px auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.plano-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px; /* Diminuído para um look mais corporativo */
  padding: 40px 30px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plano-card:hover {
  transform: translateY(-8px);
  border-color: var(--main-blue);
  box-shadow: 0 15px 30px rgba(13, 71, 161, 0.08);
}

.plano-header {
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 25px;
  padding-bottom: 20px;
  text-align: center;
}

.plano-header h3 {
  color: var(--main-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.preco {
  font-size: 32px; /* Ajuste leve no tamanho */
  font-weight: 900;
  color: var(--main-blue);
}

/* Tamanho menor para textos como 'Grátis' e 'Sob Consulta' */
.preco:not(:has(span)) { 
  font-size: 24px; 
  padding: 5px 0;
}

.preco span {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
}

.plano-features {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
  flex-grow: 1;
}

.plano-features li {
  font-size: 12.5px;
  color: var(--text-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.plano-features li i {
  color: var(--orange);
  font-size: 13px;
}

.plano-features li.disabled {
  color: #cbd5e0;
  opacity: 0.6;
}

/* BOTÕES AJUSTADOS E ALINHADOS */
.btn-plano {
  background: var(--main-blue);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 4px; /* Combinando com o card */
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  width: 100%;
  display: block;
}

.btn-plano:hover {
  background: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.plano-card.destaque {
  background: white;
  border: 2px solid var(--orange);
  position: relative;
  transform: scale(1.02);
}

.plano-card.destaque::before {
  content: 'MAIS ESCOLHIDO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 15px;
  font-size: 9px;
  font-weight: 900;
  border-radius: 2px; /* Retangular para combinar com o tema */
}

.btn-destaque {
  background: var(--orange);
}

.btn-destaque:hover {
  background: var(--orange-hover);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.2);
}

@media (max-width: 1024px) {
  .planos-grid { grid-template-columns: repeat(2, 1fr); }
  .plano-card.destaque { transform: scale(1); }
}

@media (max-width: 768px) {
  .planos-grid { grid-template-columns: 1fr; }
  .plano-card { transform: none !important; }
}



/* --- Seletor de Pagamento --- */
.payment-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.method-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
}

.method-label.active {
  color: var(--main-blue);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e0;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--orange); }
input:checked + .slider:before { transform: translateX(26px); }

/* --- Ajuste nos Cards --- */
.plano-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px; /* Solicitado: menor */
  padding: 40px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.plano-card:hover {
  transform: translateY(-8px);
  border-color: var(--main-blue);
  box-shadow: 0 15px 30px rgba(13, 71, 161, 0.08);
}

.plano-card.destaque {
  border: 2px solid var(--orange);
  transform: scale(1.02);
}

.badge-destaque {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 4px 15px;
  font-size: 9px;
  font-weight: 900;
  border-radius: 2px;
}

/* --- Ajuste de Tipografia de Preços --- */
.preco {
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 32px;
  font-weight: 900;
  color: var(--main-blue);
  letter-spacing: -1px;
}

/* Ajuste para "Grátis" e "Sob Consulta" */
.plano-card:nth-child(1) .preco, 
.plano-card:nth-child(3) .preco {
  font-size: 24px;
  padding: 5px 0;
}

.preco span {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
}

/* --- Botões Ajustados --- */
.btn-plano {
  background: var(--main-blue);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 4px; /* Combinando com o card */
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.btn-plano:hover {
  background: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.btn-destaque {
  background: var(--orange);
}

.btn-destaque:hover {
  background: var(--orange-hover);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.2);
}


.cycle-selector {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.3s;
}

.cycle-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-gray);
  transition: 0.3s;
}

.cycle-btn.active {
  background: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
}

.cycle-selector.hidden {
  opacity: 0;
  pointer-events: none;
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: all 0.4s ease;
  align-items: stretch;
  position: relative;
}

.planos-grid.unificado {
  gap: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.planos-grid.unificado .plano-card {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 40px 20px 100px 20px !important;
  border: none !important;
  border-right: 1px solid #f0f0f0 !important;
  transform: scale(1) !important;
  box-shadow: none !important;
  background: #fff;
}

.planos-grid.unificado .plano-card:last-child {
  border-right: none !important;
}

.planos-grid.unificado .btn-plano {
  display: none !important;
}

.planos-grid.unificado .plano-card.destaque .btn-plano {
  display: block !important;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 10;
}

.planos-grid.unificado .badge-destaque {
  display: none !important;
}
@media (max-width: 1024px) {
  .planos-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .planos-grid.unificado {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      overflow: visible;
      border: none;
      box-shadow: none;
  }

  .planos-grid.unificado .plano-card {
      border-radius: 4px !important;
      border: 1px solid #f0f0f0 !important;
      padding-bottom: 40px !important;
  }

  .planos-grid.unificado .btn-plano {
      display: block !important;
      position: static;
      transform: none;
      width: 100%;
  }
}

@media (max-width: 768px) {
  .planos-grid {
      grid-template-columns: 1fr;
  }

  .planos-grid.unificado {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .plano-card.destaque {
      transform: scale(1);
  }

  .planos-grid.unificado .plano-card {
      border-radius: 4px !important;
      border: 1px solid #f0f0f0 !important;
      padding: 40px 30px !important;
  }

  .planos-grid.unificado .plano-card.destaque .btn-plano {
      position: static;
      transform: none;
      width: 100%;
  }
}

.plano-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-grow: 1;
}

.plano-features li {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plano-features li i {
  color: var(--main-blue);
  font-size: 18px;
  margin-top: 2px;
}



.blog-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e2e8f0;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-thumb {
  position: relative;
  height: 200px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.blog-meta i {
  color: var(--main-blue);
  margin-right: 4px;
}

.blog-card h3 {
  font-size: 18px;
  color: var(--main-blue);
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.blog-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.blog-link:hover {
  gap: 10px;
}

.blog-footer-btn {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


.article-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85); /* Tom escuro baseado no seu site */
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-header-img {
  width: 100%;
  height: 320px;
  flex-shrink: 0;
  position: relative;
}

.modal-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-category-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #004aad; /* Azul do seu sistema */
  color: #fff;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-scroll-area {
  overflow-y: auto;
  flex-grow: 1;
}

.modal-body-padding {
  padding: 40px 50px;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  z-index: 101;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Organização do Texto conforme imagem de referência */
.modal-body-text .meta-info {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.modal-body-text h2 {
  font-size: 14px;
  color: #f36f21; /* Laranja substituindo o vinho */
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.modal-body-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

.modal-body-text .highlight-text {
  color: #004aad; /* Azul substituindo o dourado */
  font-weight: 700;
}

