/* =====================================================
   INFOEDU - Sistema de Gestão Escolar
   Cores: Verde #0b6f63 | Dourado #c7a253 | Bege #f6f2ea
===================================================== */

:root {
  --primary: #0b6f63;
  --primary-dark: #095a50;
  --primary-light: #0d8274;
  --accent: #c7a253;
  --accent-light: #d4b56a;
  --bg: #f6f2ea;
  --bg-light: #faf8f4;
  --bg-dark: #efe9df;
  --text: #1a2e2a;
  --text-muted: #5a6b66;
  --white: #ffffff;
  --black: #0f1a16;
  --shadow: 0 25px 80px rgba(11, 111, 99, 0.12);
  --shadow-sm: 0 4px 24px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(11, 111, 99, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11, 111, 99, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(199, 162, 83, 0.3);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 111, 99, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img { height: 42px; }

.logo span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 99;
}

.mobile-menu.active { display: block; }

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ========== HERO ========== */
.hero {
  padding: 140px 0 80px;
  background: 
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(11, 111, 99, 0.06), transparent),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(199, 162, 83, 0.06), transparent),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(11, 111, 99, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--primary); }

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.system-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 111, 99, 0.1);
  background: var(--white);
}

.system-preview img {
  width: 100%;
  display: block;
}

.preview-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(11, 111, 99, 0.3);
}

/* ========== STATS ========== */
.stats {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ========== SECTIONS ========== */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(11, 111, 99, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== FEATURES GRID ========== */
.features { background: var(--bg-light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(11, 111, 99, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== MODULES (Big Cards) ========== */
.modules { background: var(--white); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg-light);
  border: 1px solid rgba(11, 111, 99, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: var(--transition);
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.module-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 16px;
  font-size: 1.6rem;
}

.module-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.module-list {
  list-style: none;
}

.module-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.module-list li:last-child { border-bottom: none; }

.module-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== SYSTEM PREVIEW SECTION ========== */
.preview-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.preview-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.preview-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.preview-list {
  list-style: none;
  margin-bottom: 32px;
}

.preview-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text);
}

.preview-list li svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.preview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.08);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== APP BANNER ========== */
.app-banner {
  padding: 80px 0;
  background: var(--bg-dark);
}

.app-banner-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.app-banner-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.app-banner-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.app-screenshots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.app-screenshots img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.app-screenshots img:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.btn-playstore {
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
}

.btn-playstore:hover {
  background: #222;
  transform: translateY(-2px);
}

.btn-playstore svg {
  width: 22px;
  height: 22px;
}

/* ========== CLIENTS ========== */
.clients { background: var(--white); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 2fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.client-card img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}

.client-card:hover img { filter: grayscale(0); }

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 30px;
  background: var(--black);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-features { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .preview-badge { left: 50%; transform: translateX(-50%); }
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .preview-content { grid-template-columns: 1fr; }
  .preview-text { text-align: center; }
  .preview-list { max-width: 400px; margin-left: auto; margin-right: auto; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  
  .app-banner-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .app-screenshots {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 280px; }
  .app-banner-cta { flex-direction: column; width: 100%; }
  .app-banner-cta .btn { width: 100%; }
}
