/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #070738;
  --secondary: #1A1A5E;
  --accent: #FE0000;
  --accent-light: #ff4444;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  
  /* Cores vibrantes */
  --orange: #FF6B35;
  --orange-light: #FF8F5C;
  --green: #00C853;
  --green-light: #69F0AE;
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --pink: #EC4899;
  --pink-light: #F472B6;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --yellow: #FBBF24;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--orange) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254, 0, 0, 0.3);
}

.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(254, 0, 0, 0.4); }
  50% { box-shadow: 0 0 40px rgba(254, 0, 0, 0.6); }
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(7, 7, 56, 0.2);
  color: var(--primary);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}


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

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

.btn-white:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(7, 7, 56, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}

.logoimg {
  height: 30px;
  width: 30px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.header > .container > .btn {
  display: none;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .header > .container > .btn {
    display: inline-flex;
  }
  
  .menu-toggle {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://i.ibb.co/7dJKN5rK/fundometodo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 7, 56, 0.85) 0%,
    rgba(26, 26, 94, 0.8) 50%,
    rgba(7, 7, 56, 0.9) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(254, 0, 0, 0.2), rgba(255, 107, 53, 0.2));
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  width: fit-content;
  border: 1px solid rgba(254, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ===== CARROSSEL DE IMAGENS GRANDES ===== */
.carousel-container {
  width: 100%;
  max-width: 550px;
  height: 550px;
  position: relative;
  overflow: hidden;
  background: transparent;
  margin: 0 auto;
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.aluno-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(254, 0, 0, 0.4);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Dots de navegação */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.carousel-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .carousel-container {
    max-width: 550px;
    height: 550px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .carousel-container {
    max-width: 600px;
    height: 600px;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    max-width: 400px;
    height: 400px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    max-width: 320px;
    height: 320px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(7, 7, 56, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.section-badge.light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* ===== SOBRE SECTION ===== */
.sobre {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 50%, var(--white) 100%);
  position: relative;
}

.sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--orange), var(--purple), var(--green), var(--cyan));
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.sobre-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.sobre-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.sobre-card:nth-child(1)::before {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.sobre-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.sobre-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.sobre-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.sobre-card:hover::before {
  transform: scaleX(1);
}

.sobre-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(7, 7, 56, 0.12);
  border-color: transparent;
}

.sobre-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(7, 7, 56, 0.25);
  transition: all 0.3s ease;
}

.sobre-card:hover .sobre-icon {
  transform: scale(1.1) rotate(-5deg);
}

.sobre-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.sobre-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sobre-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== VESTIBULARES SECTION ===== */
.vestibulares {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff5f5 50%, #fefce8 100%);
  position: relative;
}

.vestibulares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.vestibular-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 2px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.vestibular-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(7, 7, 56, 0.12);
}

.vestibular-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(254, 0, 0, 0.02), rgba(255, 107, 53, 0.02));
  box-shadow: 0 8px 30px rgba(254, 0, 0, 0.1);
}

.vestibular-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vestibular-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 5px 15px rgba(7, 7, 56, 0.2);
}

.vestibular-card.featured .vestibular-icon {
  background: linear-gradient(135deg, var(--accent), var(--orange));
}

.vestibular-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.vestibular-card > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.vestibular-features {
  list-style: none;
}

.vestibular-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.vestibular-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  border-radius: 50%;
}

.vestibular-features li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .vestibulares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vestibulares-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== BANCO DE PROVAS SECTION ===== */
.banco-provas {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.banco-provas-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.banco-provas-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 7, 56, 0.9) 0%,
    rgba(26, 26, 94, 0.85) 50%,
    rgba(7, 7, 56, 0.95) 100%
  );
  backdrop-filter: blur(8px);
}

.banco-provas-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.banco-provas-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banco-provas-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.banco-provas .btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.banco-provas-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.banco-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  min-width: 150px;
  transition: all 0.3s ease;
}

.banco-stat:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.banco-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banco-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .banco-provas-title {
    font-size: 2.5rem;
  }
  
  .banco-provas-description {
    font-size: 1.125rem;
  }
  
  .banco-provas-stats {
    gap: 1rem;
  }
  
  .banco-stat {
    min-width: 120px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .banco-provas-title {
    font-size: 2rem;
  }
  
  .banco-provas-description {
    font-size: 1rem;
  }
  
  .banco-provas-stats {
    flex-direction: column;
    align-items: center;
  }
}
/* ===== PROFESSORES CARROSSEL ===== */
.professores-carrossel {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff5f5 50%, #fefce8 100%);
}

.professores-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 60px; /* Adiciona espaço para os botões */
}

.professores-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 2rem 0;
}

/* Ajuste para slides com proporção 4:5 */
.professor-slide {
  flex: 0 0 calc(33.333% - 1.34rem); /* 3 slides por linha com gap */
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 7, 56, 0.1);
  transition: all 0.4s ease;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.professor-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(7, 7, 56, 0.15);
}

/* Container para a imagem com proporção 4:5 */
.professor-image {
  width: 100%;
  height: 0;
  padding-bottom: 125%; /* 5/4 = 1.25 = 125% (para proporção 4:5) */
  position: relative;
  overflow: hidden;
}

.professor-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
  transition: transform 0.5s ease;
}

.professor-slide:hover .professor-image img {
  transform: scale(1.1);
}

.professor-info {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.professor-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.professor-subject {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.professor-experience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: auto;
}

/* Botões de navegação */
.prof-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(7, 7, 56, 0.1);
  transition: all 0.3s ease;
}

.prof-carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.prof-carousel-btn.prev {
  left: 0;
}

.prof-carousel-btn.next {
  right: 0;
}

/* Dots de navegação */
.professores-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.professor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.professor-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.professor-dot:hover {
  background: var(--accent-light);
  transform: scale(1.2);
}

/* Responsividade para o carrossel de professores */
@media (max-width: 1024px) {
  .professor-slide {
    flex: 0 0 calc(50% - 1rem); /* 2 slides por linha em tablets */
  }
}

@media (max-width: 768px) {
  .professores-carousel-container {
    padding: 0 50px; /* Reduz espaço para os botões em mobile */
  }
  
  .professor-slide {
    flex: 0 0 calc(100% - 0.5rem); /* 1 slide por linha em mobile */
  }
  
  .professor-slide {
    max-width: 300px; /* Limita largura máxima */
    margin: 0 auto; /* Centraliza o slide */
  }
  
  .prof-carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .prof-carousel-btn.prev {
    left: 10px;
  }
  
  .prof-carousel-btn.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .professores-carousel-container {
    padding: 0 40px;
  }
  
  .professor-slide {
    flex: 0 0 100%;
  }
  
  .professor-info h3 {
    font-size: 1.1rem;
  }
  
  .professor-subject {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Ajustes para garantir que o carrossel funcione corretamente */
.professores-track {
  will-change: transform;
}

/* Remove o scroll horizontal indesejado */
.professores-carrossel {
  overflow: hidden;
}

/* Adiciona uma margem inferior para os botões não sobreporem o conteúdo */
.professores-carousel-container {
  margin-bottom: 1rem;
}
/* ===== DEPOIMENTOS CARROSSEL ===== */
.depoimentos-carrossel {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white), #f8fafc, var(--white));
}

.depoimentos-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.depoimentos-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
}

.depoimento-slide {
  min-width: 350px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 7, 56, 0.1);
  transition: all 0.4s ease;
  border: 1px solid var(--gray-200);
}

.depoimento-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(7, 7, 56, 0.15);
}

.depoimento-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.depoimento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.depoimento-slide:hover .depoimento-image {
  transform: scale(1.1);
}

.depoimento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(7, 7, 56, 0.7));
  color: var(--white);
}

.depoimento-course {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.depoimento-university {
  font-size: 0.8rem;
  opacity: 0.9;
}

.depoimento-content {
  padding: 1.5rem;
}

.depoimento-text {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.depoimento-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: serif;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-info {
  flex: 1;
}

.author-info strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.depo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(7, 7, 56, 0.1);
  transition: all 0.3s ease;
}

.depo-carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.depo-carousel-btn.prev {
  left: -25px;
}

.depo-carousel-btn.next {
  right: -25px;
}

.depoimentos-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .depoimento-slide {
    min-width: 300px;
  }
  
  .depo-carousel-btn.prev {
    left: 10px;
  }
  
  .depo-carousel-btn.next {
    right: 10px;
  }
}
/* ===== DIFERENCIAIS SECTION ===== */
.diferenciais {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #0a0a4a);
  position: relative;
  overflow: hidden;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.diferenciais::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.diferencial-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.diferencial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* CORREÇÃO AQUI: Remover o background-clip e usar color direto */
.diferencial-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent); /* Cor padrão */
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Cores específicas para cada número */
.diferencial-card:nth-child(1) .diferencial-number {
  color: var(--accent);
}

.diferencial-card:nth-child(2) .diferencial-number {
  color: var(--orange);
}

.diferencial-card:nth-child(3) .diferencial-number {
  color: var(--green);
}

.diferencial-card:nth-child(4) .diferencial-number {
  color: var(--purple);
}

.diferencial-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.diferencial-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diferenciais-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sobre {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Div do background image */
.sobre-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* COLOCAR SUA IMAGEM AQUI */
  background-image: url('https://i.ibb.co/zhr0KpcP/fundo2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay para escurecer a imagem e melhorar legibilidade */
.sobre-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Ajuste a opacidade (0.6 = 60% escuro) */
  background: rgba(7, 7, 56, 0.6);
  backdrop-filter: blur(2px);
}

/* Garantir que o conteúdo fique acima do background */
.sobre .container {
  position: relative;
  z-index: 1;
}

/* Ajustar cores do texto para contraste */
.sobre .section-title {
  color: var(--white); /* Branco para contraste */
}

.sobre .section-description {
  color: rgba(255, 255, 255, 0.9); /* Branco semi-transparente */
}

.sobre .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Ajustar os cards para ficarem legíveis sobre o background */
.sobre-card {
  background: rgba(255, 255, 255, 0.95); /* Branco semi-transparente */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sobre-card h3 {
  color: var(--primary); /* Manter cor primária */
}

.sobre-card p {
  color: var(--gray-600); /* Manter cinza escuro */
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, #cc0000 50%, #aa0000 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, var(--primary) 0%, #050530 100%);
  color: var(--white);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--orange), var(--purple), var(--green), var(--cyan));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.logo.light .logo-name,
.logo.light .logo-subtitle {
  color: var(--white);
}

.logo.light .logo-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Nav colors */
#v {
  color: #e57f26;
}

#c {
  color: #38fb31;
}

#d {
  color: #a51afb;
}

#a {
  color: #e6148b;
}

#g {
  color: #fbcd34;
}

/* Responsividade Extra */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content,
  .sobre,
  .vestibulares,
  .banco-provas,
  .professores-carrossel,
  .depoimentos-carrossel,
  .diferenciais,
  .cta {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== GALERIA DE APROVADOS ===== */
.galeria-aprovados {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fef3f2 30%, #f0f9ff 70%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.galeria-aprovados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent), 
        var(--orange), 
        var(--green),
        var(--purple),
        transparent
    );
    opacity: 0.5;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.galeria-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    animation: galeriaAppear 0.8s ease forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    box-shadow: 0 10px 30px rgba(7, 7, 56, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes galeriaAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Delay para cada item aparecer de forma cascata */
.galeria-item:nth-child(1) { animation-delay: 0.1s; }
.galeria-item:nth-child(2) { animation-delay: 0.2s; }
.galeria-item:nth-child(3) { animation-delay: 0.3s; }
.galeria-item:nth-child(4) { animation-delay: 0.4s; }
.galeria-item:nth-child(5) { animation-delay: 0.5s; }
.galeria-item:nth-child(6) { animation-delay: 0.6s; }
.galeria-item:nth-child(7) { animation-delay: 0.7s; }
.galeria-item:nth-child(8) { animation-delay: 0.8s; }
.galeria-item:nth-child(9) { animation-delay: 0.9s; }
.galeria-item:nth-child(10) { animation-delay: 1s; }

.galeria-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.galeria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efeito de overlay colorido dinâmico */
.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(7, 7, 56, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 1;
    transition: all 0.4s ease;
}

/* Efeito de brilho no hover */
.galeria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: 2;
}

/* Efeitos no hover */
.galeria-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(254, 0, 0, 0.15),
        0 0 0 2px rgba(254, 0, 0, 0.1);
    z-index: 10;
}

.galeria-item:hover::before {
    left: 100%;
}

.galeria-item:hover .galeria-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1) saturate(1.2);
}

.galeria-item:hover .galeria-overlay {
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(7, 7, 56, 0.95) 100%
    );
}

/* Efeito de cor baseado na posição do item */
.galeria-item:nth-child(3n+1):hover {
    box-shadow: 
        0 25px 50px rgba(254, 0, 0, 0.2),
        0 0 0 2px rgba(254, 0, 0, 0.15);
}

.galeria-item:nth-child(3n+2):hover {
    box-shadow: 
        0 25px 50px rgba(255, 107, 53, 0.2),
        0 0 0 2px rgba(255, 107, 53, 0.15);
}

.galeria-item:nth-child(3n+3):hover {
    box-shadow: 
        0 25px 50px rgba(124, 58, 237, 0.2),
        0 0 0 2px rgba(124, 58, 237, 0.15);
}

/* CTA da galeria */
.galeria-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(7, 7, 56, 0.05) 0%,
        rgba(254, 0, 0, 0.05) 50%,
        rgba(7, 7, 56, 0.05) 100%
    );
    border-radius: 1.5rem;
    border: 2px dashed rgba(254, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.galeria-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(254, 0, 0, 0.1),
        transparent
    );
    animation: ctaShine 3s infinite;
}

@keyframes ctaShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.galeria-cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.galeria-cta .btn {
    position: relative;
    z-index: 1;
}

/* Modal para visualização ampliada */
.galeria-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 56, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.galeria-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-image-container {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: modalScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(254, 0, 0, 0.3);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(254, 0, 0, 0.4);
}

/* Efeito de grid responsivo */
@media (max-width: 1200px) {
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }
    
    .galeria-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .galeria-image {
        height: 280px;
    }
    
    .galeria-cta {
        padding: 2rem;
    }
    
    .galeria-cta-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .galeria-image {
        height: 220px;
    }
    
    .galeria-overlay {
        padding: 1rem;
    }
    
    .galeria-cta {
        padding: 1.5rem;
    }
    
    .galeria-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .galeria-image {
        height: 350px;
    }
}

/* Animações de entrada com scroll */
.galeria-item.visible {
    animation-play-state: running;
}

/* Efeito parallax sutil */
.galeria-aprovados {
    background-attachment: fixed;
    background-size: 400px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}