/* Lagos SISTEMA page styles */

:root {
  --sistema-green: #006837; /* Trustworthy academic green */
  --sistema-red: #c1121f;   /* Accent red */
  --sistema-light-bg: #f0f7f4;
  --content-max: 1100px;
}

body.lagossistema {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #222;
    background-color: #fff;
}

.lagossistema main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px 20px;
}

/* Hero Section Modernized */
.sistema-hero {
  display: block;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0, 104, 55, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
}

.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero-logo img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 104, 55, 0.15);
  background: white;
  padding: 10px;
  object-fit: contain;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0 0 16px;
  /* Green title with a touch of red accent maybe? Or just Green. */
  color: var(--sistema-green);
  line-height: 1.1;
  font-weight: 700;
}

.hero-content .lead {
  font-size: 1.25rem;
  color: #444;
  margin: 0 0 24px;
  font-weight: 400;
  border-left: 4px solid var(--sistema-red);
  padding-left: 16px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.btn.primary {
  background: var(--sistema-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 104, 55, 0.2);
}

.btn.ghost {
  background: transparent;
  border: 2px solid var(--sistema-green);
  color: var(--sistema-green);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn.ghost:hover {
    background-color: var(--sistema-green);
    color: white;
}

/* Content Area */
.sistema-content {
  margin: 36px auto;
  padding: 0 20px;
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
}

.sistema-content h2, .sistema-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--sistema-green);
  margin-top: 40px;
  margin-bottom: 20px;
}

.sistema-content h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.sistema-content h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--sistema-red);
    margin-top: 8px;
    border-radius: 2px;
}


.card-feature {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
    height: 100%;
}

.card-feature:hover {
    transform: translateY(-5px);
}

    
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-logo img {
    width: 180px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .lead {
      border-left: none;
      padding-left: 0;
  }
  
  .hero-ctas {
    justify-content: center;
  }
}
