/* ================================================
   TOKENS
   ================================================ */
:root {
  --blue:       #164589;
  --blue-dark:  #0f2f5d;
  --blue-light: #1e5ab0;
  --accent:     #f0a500;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --bg-soft:    #f5f7fb;
  --white:      #ffffff;
  --radius:     12px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --transition: 0.22s ease;
}

/* ================================================
   RESET
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================================================
   HEADER TOP BAR
   ================================================ */
.header-top {
  background: var(--blue-dark);
  padding: 6px 0;
  font-size: .8rem;
}
.header-top-info { color: rgba(255,255,255,.75); }
.header-top-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  transition: color var(--transition);
}
.header-top-link:hover { color: var(--accent); }

/* ================================================
   NAVIGATION
   ================================================ */
.site-nav {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.nav-links li a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover { background: var(--bg-soft); }
.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 8px;
}
.nav-links .nav-cta:hover { background: var(--blue-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 86vh;
  min-height: 480px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,47,93,.78) 0%, rgba(22,69,137,.55) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}
.hero-eyebrow {
  font-size: .95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,.85);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,.4); }
.btn-hero-secondary {
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.5);
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.18);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* ================================================
   QUICK ACCESS
   ================================================ */
.quick-access {
  background: var(--white);
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.quick-access .container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 32px;
}
.qa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.qa-card:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.qa-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(22,69,137,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background var(--transition);
}
.qa-card:hover .qa-icon { background: rgba(255,255,255,.2); }

/* ================================================
   NEWS SECTION
   ================================================ */
.news-section {
  padding: 80px 0 60px;
  background: var(--bg-soft);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section-link {
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  transition: color var(--transition);
}
.section-link:hover { color: var(--blue-dark); }

.news-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.news-card-body { padding: 20px; }
.news-date {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin: 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.news-read {
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
}

/* ================================================
   BANNER MAIS EDUCAÇÃO
   ================================================ */
.banner-educacao {
  background: var(--white);
  padding: 80px 0;
}
.banner-img { max-height: 280px; margin: 0 auto; }
.banner-eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}
.banner-text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.btn-banner {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-banner:hover { background: var(--blue-dark); transform: translateY(-2px); color: var(--white); }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--blue-dark); }
.footer-main { padding: 56px 0 40px; }
.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-desc { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}
.footer-bottom small { color: rgba(255,255,255,.4); font-size: .8rem; }

/* ================================================
   BLOG / POST PAGES (mantidos)
   ================================================ */
.postagens-pricipais {
  display: grid; gap: 20px;
  grid-template-columns: 8fr 4fr;
  grid-template-areas: "a b" "a c";
}
.post-a { grid-area:a; height:440px; background-size:cover; display:flex; align-items:flex-end; }
.post-b { grid-area:b; height:200px; background-size:cover; display:flex; align-items:flex-end; }
.post-c { grid-area:c; height:200px; background-size:cover; display:flex; align-items:flex-end; }
.post-a .titulo, .post-b .titulo, .post-c .titulo {
  background: rgba(15,47,93,.82);
  width:100%; padding:10px 20px;
}
.post-a .titulo h3, .post-b .titulo h3, .post-c .titulo h3 { color:#fff; margin:0; font-weight:700; }
.post-a .titulo span, .post-b .titulo span, .post-c .titulo span { color:#fff; font-size:15px; }

.cabecalho-ultimas { background:var(--blue); color:#fff; padding:8px 16px; font-weight:700; font-size:1.1rem; margin-bottom:10px; }
.posts-lateral { height:250px; background-size:cover; display:flex; align-items:flex-end; margin-bottom:20px; }
.posts-lateral .titulo { background:rgba(15,47,93,.82); width:100%; padding:10px 20px; }
.posts-lateral .titulo h3 { color:#fff; margin:0; font-size:1rem; font-weight:700; }
.posts-lateral .titulo span { color:#fff; font-size:.875rem; }

.postagem h2 { color:var(--blue); margin-top:40px; }
.postagem p, .postagem span { color:var(--muted); font-size:1.1rem; }
.postagem span i { color:var(--blue); margin-right:5px; }
.paginacao { display:flex; justify-content:center; gap:8px; margin-top:24px; }
.paginacao button {
  color:var(--blue); border:1px solid var(--blue);
  background:#fff; padding:4px 20px; border-radius:50px;
  transition: var(--transition);
}
.paginacao button:hover { background:var(--blue); color:#fff; }

/* Mais Educação */
.mais-educacao-titulo h2, .aulas-remotas-titulo h2 { text-align:center; color:var(--blue); font-size:2.5rem; }
.mais-educacao-titulo p, .aulas-remotas-titulo p { text-align:center; color:var(--muted); font-size:1.1rem; }
.lista-remoto { padding:30px 0; }
.lista-remoto h6 { font-size:1.3rem; font-weight:700; color:var(--blue); text-align:center; }
.lista-remoto .escola, .lista-remoto .professor { text-align:center; color:var(--blue); }
.lista-remoto button {
  background:var(--blue); width:100%; color:#fff;
  border:none; font-size:1.05rem; font-weight:700;
  padding:8px 0; border-radius:50px; margin-top:10px;
  transition:background var(--transition);
}
.lista-remoto button:hover { background:var(--blue-dark); }
.breadcumb { color:var(--blue); font-size:1.2rem; margin-bottom:24px; }
.breadcumb a { color:var(--blue); }
.turmas .item {
  display:flex; align-items:center;
  background:var(--blue); padding:8px 14px;
  margin-bottom:16px; border-radius:8px;
}
.turmas .item i { font-size:3rem; color:#fff; margin-right:12px; }
.turmas .item span { color:#fff; font-size:1.1rem; font-weight:600; }
.turmas .item:hover { background:var(--blue-dark); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; }
  .site-nav { position: relative; }
}

@media (max-width: 768px) {
  .hero { height: 70vh; }
  .quick-access { margin-top: -28px; }
  .quick-access .container { padding: 20px; }
  .news-section { padding: 60px 0 40px; }
  .banner-educacao { padding: 48px 0; }
  .postagens-pricipais {
    grid-template-columns: none;
    grid-template-areas: "a" "b" "c";
  }
  .post-a { height: 300px; }
  .post-b, .post-c { height: 280px; }
  .section-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; }
  .header-top { display: none; }
}
