/* ==========================================================================
   COLÉGIO MÉTODO - VCA (Vitória da Conquista - BA)
   Design System Ultra Premium & Refined Palette
   ========================================================================== */

:root {
  /* Ultra Refined Palette */
  --primary-navy: #0B192C;
  --primary-navy-dark: #060E1A;
  --primary-navy-light: #1E3E62;
  
  --brand-cyan: #008DDA;
  --brand-cyan-light: #41C9E2;
  --brand-cyan-dark: #006699;
  --brand-cyan-glow: rgba(0, 141, 218, 0.2);

  --brand-gold: #F7C04A;
  --brand-gold-dark: #D99B26;
  --brand-gold-glow: rgba(247, 192, 74, 0.25);

  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #F8FAFC;
  
  --bg-light: #F1F5F9;
  --bg-white: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-color: #E2E8F0;
  --border-light: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 4px 12px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 12px 32px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 48px rgba(11, 25, 44, 0.14);
  --shadow-glow: 0 0 35px rgba(0, 141, 218, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container & Typography Helpers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding { 
  padding: 5rem 0; 
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
  }

  .section-screen {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 0;
    box-sizing: border-box;
  }
}
.text-center { text-align: center; }
.text-cyan { color: var(--brand-cyan-light); }
.text-gold { color: var(--brand-gold); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-gold {
  background: rgba(247, 192, 74, 0.12);
  color: #B37B06;
  border: 1px solid rgba(247, 192, 74, 0.4);
}

.badge-cyan {
  background: rgba(0, 141, 218, 0.1);
  color: var(--brand-cyan-dark);
  border: 1px solid rgba(0, 141, 218, 0.3);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #008DDA 0%, #006699 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 141, 218, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 141, 218, 0.45);
  background: linear-gradient(135deg, #41C9E2 0%, #008DDA 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #F7C04A 0%, #D99B26 100%);
  color: var(--primary-navy-dark);
  box-shadow: 0 8px 20px var(--brand-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(247, 192, 74, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

/* Top Notification Bar */
.top-bar {
  background: var(--primary-navy-dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-info { display: flex; gap: 2rem; }
.top-info span { display: flex; align-items: center; gap: 0.5rem; }

/* Sticky Glass Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 25px rgba(11, 25, 44, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(11, 25, 44, 0.1));
  transition: var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.04) rotate(1deg);
}

.brand-text { display: flex; flex-direction: column; }
.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--brand-cyan-dark);
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--primary-navy);
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.98rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-gold) 100%);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Ultra Hero Section - Ultra Clean Modern (Sem Foto de Fundo Inteira) */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 141, 218, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(247, 192, 74, 0.08) 0%, transparent 35%),
              linear-gradient(135deg, #060E1A 0%, #0B192C 60%, #10243E 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 141, 218, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-title span {
  background: linear-gradient(135deg, var(--brand-cyan-light) 0%, #A5F3FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 2.2rem;
  max-width: 620px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.hero-badge-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card-hero {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card-hero:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-gold);
}

.stat-card-hero h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-cyan-light);
  line-height: 1;
}

.stat-card-hero p {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* Glassmorphism Enrollment Card Ultra Modern */
.hero-card {
  background: rgba(15, 32, 56, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  border: 1px solid rgba(0, 141, 218, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 141, 218, 0.1);
}

.hero-card input,
.hero-card select {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  font-weight: 500;
  transition: var(--transition);
}

.hero-card input:focus,
.hero-card select:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 141, 218, 0.3);
}

.hero-card input::placeholder {
  color: #CBD5E1 !important;
}

.hero-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  color: #FFFFFF;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2.8rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-gold) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(0, 141, 218, 0.08);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.8rem;
}

/* Level Cards */
.level-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.level-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.level-img {
  height: 230px;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.level-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
}

.level-badge {
  background: var(--brand-gold);
  color: var(--primary-navy-dark);
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.level-body { padding: 2.2rem; }

.level-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.8rem;
}

/* Footer */
.footer {
  background: var(--primary-navy-dark);
  color: #94A3B8;
  padding: 6rem 0 2.5rem;
  border-top: 5px solid var(--brand-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.98rem;
  color: #94A3B8;
  line-height: 1.7;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 0.9rem; }
.footer-links a:hover {
  color: var(--brand-cyan-light);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #64748B;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

/* Continuous Carousel Marquee for Níveis de Ensino */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track .level-card {
  width: 340px;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-340px * 4 - 8rem));
  }
}
/* ==========================================================================
   RESPONSIVIDADE 100% PERFEITA PARA MOBILE & TABLET
   ========================================================================== */
@media (max-width: 1024px) {
  .section-screen {
    min-height: auto !important;
    height: auto !important;
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none; /* Otimizar espaço em telas de celular */
  }

  .container {
    padding: 0 1.2rem !important;
  }

  .header {
    height: 75px;
    padding: 0 1.5rem !important;
  }

  .navbar {
    height: 75px;
    padding: 0 !important;
    width: 100%;
  }

  .brand-logo {
    gap: 0.7rem;
  }

  .brand-logo img {
    height: 42px !important;
    width: 42px !important;
  }

  .brand-title {
    font-size: 1.1rem !important;
  }

  .brand-subtitle {
    font-size: 0.65rem !important;
  }

  /* Ajustes do Blog no Mobile */
  #blog h2 {
    font-size: 1.6rem !important;
  }

  #blog .container > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    margin-bottom: 1.2rem !important;
  }

  #blog .container > div:first-child a.btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    border-radius: 50px !important;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--primary-navy-dark);
    flex-direction: column;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    color: #FFFFFF !important;
    font-size: 1.15rem;
    padding: 0.8rem 0;
  }

  .hero-content {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center !important;
  }

  .hero-description {
    font-size: 1.05rem;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge-box {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-top: 1.8rem !important;
    padding-top: 1.5rem !important;
  }

  .stat-card-hero {
    padding: 0.8rem 0.4rem !important;
  }

  .stat-card-hero h3 {
    font-size: 1.5rem !important;
  }

  .stat-card-hero p {
    font-size: 0.68rem !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sobre Nós no Mobile */
  #sobre .container > div {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  #sobre h2 {
    font-size: 1.8rem !important;
  }

  #sobre .container > div > div:first-child > div {
    grid-template-columns: 1fr !important;
  }

  /* Níveis de Ensino no Mobile: Grid Limpo e Vertical sem rolagem estourada */
  .marquee-container {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .marquee-track {
    animation: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .marquee-track .level-card {
    width: 100% !important;
  }

  /* Blog no Mobile */
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contato e Mapa no Mobile */
  #contato .container > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    font-size: 1.9rem;
  }

  /* Artigos do Blog no Mobile */
  .article-container h1, #articleTitle {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  .header .navbar a.btn {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
  }

  .article-container > div:last-child {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }

  .article-container > div:last-child a.btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .article-container {
    padding: 1.5rem 1rem !important;
    margin: 1.2rem auto 2.5rem !important;
  }

  .audio-player-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .audio-player-info {
    flex-direction: column;
    text-align: center;
  }
}
