@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-red: #870010;
  --dark-gray: #3c3c3b;
  --light-gray: #575756;
  --bg-color: #fafafa;
  --bg-secondary: #f0f0f0;
  --white: #ffffff;
  --whatsapp: #25D366;
  
  --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(135, 0, 16, 0.06);
  --shadow-lg: 0 20px 40px rgba(135, 0, 16, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-gray);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Mixed Titles Strategy */
.mixed-title { line-height: 1.1; margin: 0; }
.word-1 {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-red);
  margin-right: 0.4rem;
  font-size: 1.35em;
}
.word-rest {
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.video-banner-content .word-rest,
.video-banner-content .word-1,
.cta-box .word-rest,
.cta-box .word-1,
.hero h1 .word-rest,
.hero h1 .word-1 { color: #ffffff; }

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--dark-gray); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Promo Bar */
.promo-bar {
  background: var(--primary-red); color: var(--white); text-align: center;
  padding: 0.6rem 0; font-size: 0.9rem; position: absolute; top: 0; left: 0;
  width: 100%; z-index: 1001; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.promo-bar .container { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.promo-btn {
  background: var(--white); color: var(--primary-red); padding: 0.2rem 1rem;
  border-radius: 50px; font-weight: 700; font-size: 0.8rem; transition: var(--transition-fast);
}
.promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.pulse-icon { animation: pulse-icon 1.5s infinite; color: #ffcccc; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000;
  transition: var(--transition-normal); background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.navbar.scrolled { padding: 1rem 0; background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; transition: transform var(--transition-fast); }
.logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-weight: 500; color: var(--light-gray); position: relative;
  transition: color var(--transition-fast); font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary-red); }
.nav-links a::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: -6px; left: 50%;
  transform: translateX(-50%); background-color: var(--primary-red); transition: width var(--transition-normal); border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 2rem; border-radius: 50px; font-family: 'Outfit', sans-serif;
  font-weight: 600; cursor: pointer; transition: all var(--transition-normal);
  border: none; position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.1); transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition-normal); z-index: -1; border-radius: 50px;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background-color: var(--primary-red); color: var(--white) !important; box-shadow: 0 10px 20px -5px rgba(135, 0, 16, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px -5px rgba(135, 0, 16, 0.5); }
.btn-secondary { background-color: var(--white); color: var(--primary-red); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary-red); }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.floating { animation: float 4s ease-in-out infinite; }

/* Hero Section */
.hero {
  position: relative; height: 800px; display: flex; align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; z-index: 0;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(60, 60, 59, 0.7) 0%, rgba(40, 40, 40, 0.4) 100%); z-index: 1;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 300px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); z-index: 1;
}
.hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 0.5rem 1.2rem; background: var(--primary-red);
  color: var(--white); border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 1.5rem; align-self: flex-start;
  box-shadow: 0 4px 15px rgba(135, 0, 16, 0.4);
}
.hero h1 { font-size: 4.5rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--white); letter-spacing: -1.5px; line-height: 1.1; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; color: rgba(255, 255, 255, 0.9); max-width: 600px; }
.hero-btns { display: flex; gap: 1.5rem; }

/* Layout & Sections */
.section { padding: 7.5rem 0; }
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 1.2rem; }
.section-title p { color: var(--light-gray); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.section-divider { width: 60px; height: 4px; background-color: var(--primary-red); margin: 2rem auto 0; border-radius: 2px; }

/* Stats - Card Variation 1 (Glassmorphism & Border Right) */
.stats { padding: 0; position: relative; z-index: 10; margin-top: -60px; }
.stats-container {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  top: -60px;
  z-index: 10;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; }
.stat-item { position: relative; padding: 1rem; transition: transform var(--transition-normal); }
.stat-item:hover { transform: translateY(-5px); }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -1rem; top: 50%; transform: translateY(-50%); height: 60%; width: 1px; background-color: rgba(0,0,0,0.05);
}
.stat-item h3 { font-size: 3.5rem; color: var(--primary-red); margin-bottom: 0.2rem; font-weight: 800; }
.stat-item p { font-weight: 600; color: var(--light-gray); font-size: 0.95rem; text-transform: uppercase; }

/* Níveis de Ensino - Card Variation 2 (Clean White, Top Red Border) */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4rem; }
.level-card {
  background: var(--white); padding: 3rem 2.5rem; border-radius: 16px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--primary-red);
  transition: all var(--transition-normal); text-align: center;
}
.level-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.level-icon {
  width: 60px; height: 60px; margin: 0 auto 1.5rem; background: var(--bg-color);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary-red); transition: all 0.3s;
}
.level-card:hover .level-icon { background: var(--primary-red); color: var(--white); }
.level-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.level-card p { color: var(--light-gray); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.7; }
.level-card a { color: var(--primary-red); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; }

/* Modalidades - Card Variation 3 (Glassmorphism with Reflection) */
.modalities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4rem; }
.modality-card {
  background: rgba(255, 255, 255, 0.4); 
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  padding: 3.5rem 2rem; border-radius: 24px;
  position: relative; overflow: hidden;
  transition: all var(--transition-normal); text-align: center;
}
.modality-card::before {
  content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-25deg); transition: 0.6s; z-index: 1;
}
.modality-card:hover { transform: translateY(-10px); box-shadow: 0 25px 45px rgba(135,0,16,0.1); border: 1px solid rgba(255,255,255,1); }
.modality-card:hover::before { left: 150%; }
.modality-card > * { position: relative; z-index: 2; }
.modality-card i { font-size: 3.5rem; color: var(--primary-red); margin-bottom: 1.5rem; }
.modality-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--dark-gray); }
.modality-card p { color: var(--light-gray); line-height: 1.6; }

/* Formas de Ingresso - Card Variation 4 (Horizontal Flex Cards) */
.ingresso-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.5rem; }
.step-card {
  display: flex; align-items: flex-start; gap: 1.5rem; background: var(--white);
  padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal); border-left: 6px solid var(--primary-red);
}
.step-card:hover { transform: translateX(10px); box-shadow: var(--shadow-md); }
.step-icon {
  font-size: 2.5rem; color: rgba(135, 0, 16, 0.2); transition: color 0.3s;
}
.step-card:hover .step-icon { color: var(--primary-red); }
.step-content h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.step-content p { color: var(--light-gray); font-size: 0.95rem; }

/* Cursos - Card Variation 5 (Image Cards with Overlay) */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 3.5rem; }
.course-card {
  background: var(--white); border-radius: 24px; overflow: hidden;
  transition: all var(--transition-normal); border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm); cursor: pointer; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.course-img {
  height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
}
.course-img i { font-size: 4rem; color: var(--white); transition: transform var(--transition-normal); z-index: 2; }
.course-card:hover .course-img i { transform: scale(1.1); }
.course-img::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.1); transition: background var(--transition-fast);
}
.course-card:hover .course-img::after { background: rgba(0,0,0,0); }
.course-badge {
  position: absolute; top: 1rem; left: 1rem; background-color: rgba(255,255,255,0.95);
  padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; z-index: 3;
}
.course-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.course-content h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.course-content p { color: var(--light-gray); margin-bottom: 1.5rem; font-size: 0.95rem; flex-grow: 1; }
.course-footer {
  display: flex; justify-content: space-between; align-items: center; padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,0.05);
}
.course-meta { color: var(--light-gray); font-size: 0.85rem; font-weight: 500; display: flex; gap: 1rem; }
.course-meta span { display: flex; align-items: center; gap: 0.4rem; }
.link-arrow { color: var(--primary-red); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem;}

/* Bolsas - Card Variation 6 (Dark Premium Cards) */
.scholarship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.scholarship-card {
  background: var(--dark-gray); color: var(--white); padding: 3rem 2rem;
  border-radius: 20px; transition: var(--transition-normal); text-align: center;
  position: relative; overflow: hidden;
}
.scholarship-card::before {
  content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
  background: rgba(255,255,255,0.03); border-radius: 50%;
}
.scholarship-card:hover { transform: translateY(-10px); background: #2a2a2a; box-shadow: var(--shadow-md); }
.scholarship-card i { font-size: 3rem; color: var(--primary-red); margin-bottom: 1.5rem; }
.scholarship-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--white); }
.scholarship-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* Promo Section Highlight */
.promo-section { padding: 2rem 0 6rem; background: var(--bg-color); }

/* Video Banner Section */
.video-banner {
  position: relative; width: 100%; min-height: 600px; height: auto; overflow: hidden; display: flex; align-items: center; justify-content: center;
  margin: 6rem 0; padding: 6rem 0;
}
.video-banner video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.video-banner-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--light-gray);
  opacity: 0.5;
  mix-blend-mode: multiply;
  z-index: 1;
}
.video-banner-content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
  padding: 0 2rem;
}
.estrutura-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem;
}
.estrutura-item {
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px); padding: 2.5rem 1.5rem; border-radius: 16px;
  transition: transform var(--transition-fast);
}
.estrutura-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }
.estrutura-item i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
.estrutura-item h4 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--white); }
.estrutura-item p { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.5; }

.promo-banner {
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-color) 100%);
  border: 2px solid rgba(135, 0, 16, 0.1); border-radius: 24px; padding: 4rem;
  display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.promo-banner::after {
  content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(135, 0, 16, 0.03));
}
.promo-content { max-width: 600px; position: relative; z-index: 2; }
.promo-content h3 { color: var(--primary-red); font-size: 1.2rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.promo-content h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.promo-content p { font-size: 1.1rem; color: var(--light-gray); margin-bottom: 2rem; line-height: 1.8; }
.promo-image { font-size: 12rem; color: rgba(135, 0, 16, 0.05); position: relative; z-index: 1; animation: float 6s ease-in-out infinite; }

/* CTA Section */
.cta { padding: 6rem 0; background: var(--white); position: relative; overflow: hidden; }
.cta-box {
  background: linear-gradient(135deg, var(--primary-red) 0%, #60000a 100%);
  border-radius: 30px; padding: 5rem 3rem; text-align: center; color: var(--white);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%); animation: float 10s infinite linear;
}
.cta h2 { color: var(--white); font-size: 3rem; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.cta p { font-size: 1.2rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.9); position: relative; z-index: 2; }
.cta .btn { font-size: 1.1rem; padding: 1.2rem 2.5rem; position: relative; z-index: 2; }

/* Portals Section */
.portals-section { padding: 6rem 0; background-color: var(--white); }
.portals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; margin-top: 4rem; }
.portal-card {
  background: var(--bg-color); padding: 3rem 2rem; border-radius: 20px; text-align: center;
  transition: all var(--transition-normal); border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center;
}
.portal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(135, 0, 16, 0.1); }
.portal-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--white); color: var(--primary-red);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  transition: all var(--transition-fast); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.portal-card:hover .portal-icon { background: var(--primary-red); color: var(--white); }
.portal-card h3 { font-size: 1.5rem; color: var(--dark-gray); margin-bottom: 0.8rem; }
.portal-card p { color: var(--light-gray); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b858;
}
.whatsapp-float i {
  animation: pulse-icon 2s infinite;
}

/* Footer */
footer { background-color: var(--bg-color); color: var(--dark-gray); padding: 5rem 0 2rem; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 700; color: var(--primary-red); }
.footer-col p { color: var(--light-gray); margin-bottom: 1.5rem; font-size: 0.95rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  background: var(--white); color: var(--dark-gray); border-radius: 50%; font-size: 1.2rem; transition: all var(--transition-fast); box-shadow: var(--shadow-sm);
}
.social-links a:hover { background: var(--primary-red); color: var(--white); transform: translateY(-3px); }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul a { color: var(--light-gray); transition: var(--transition-fast); font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col ul a:hover { color: var(--primary-red); padding-left: 5px; }
.contact-info li { display: flex; align-items: flex-start; gap: 1rem; color: var(--light-gray); margin-bottom: 1rem; font-size: 0.95rem; }
.contact-info i { color: var(--primary-red); margin-top: 0.3rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.05); color: var(--light-gray); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
  .section { padding: 5rem 0; }
  .section-title { margin-bottom: 3.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .promo-banner { flex-direction: column; text-align: center; padding: 3rem 2rem; }
  .promo-image { display: none; }
  .hero h1 { font-size: 3.5rem; }
  .video-banner-content h2 { font-size: 3rem !important; }
  .ingresso-grid { grid-template-columns: 1fr; }
  .estrutura-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { margin-bottom: 2.5rem; }
  .section-title h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .video-banner-content h2 { font-size: 2.3rem !important; }
  .hero-badge { font-size: 0.85rem; padding: 0.4rem 1rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .nav-links { display: none; }
  .stats { margin-top: -30px; }
  .stats-container { padding: 2rem 1.5rem; top: -30px; }
  .stats-grid { gap: 1.5rem; }
  .cta-box { padding: 3rem 1.5rem; }
  .promo-bar .container { flex-direction: column; gap: 0.5rem; }
}
