﻿/*
Theme Name: Colégio CPI Theme
Description: Custom WordPress theme for Colégio CPI with modern, premium design.
Version: 1.0
*/

:root {
  /* Colors */
  --primary: #0a192f;
  --primary-light: #112240;
  --accent: #ff6b35; /* Vibrant orange/coral for CTA */
  --accent-hover: #e85a28;
  --secondary: #00b4d8;
  --text-dark: #f8fafc;
  --text-main: #334155;
  --text-light: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  
  /* Feature Colors */
  --blue-light: #e0f2fe;
  --orange-light: #ffedd5;
  --green-light: #dcfce7;
  --blue-icon: #0ea5e9;
  --orange-icon: #f97316;
  --green-icon: #22c55e;

  /* Gradients */
  --text-gradient: linear-gradient(135deg, #00b4d8, #2563eb);
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  
  /* Utilities */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px -5px rgba(0,0,0,0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white {
  color: #fff !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  font-size: 1.125rem;
  padding: 16px 32px;
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #1ea952;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.5);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg-main);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.shape-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(0, 180, 216, 0.3);
  animation: float 10s ease-in-out infinite;
}

.shape-2 {
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 107, 53, 0.2);
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
}

.trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: bounceRotate 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.5);
}

.floating-card .icon {
  width: 48px;
  height: 48px;
  background: var(--bg-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.floating-card span {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

@keyframes bounceRotate {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

/* Sections Global */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Features */
.features {
  padding: 100px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--bg-main);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.bg-blue-light { background: var(--blue-light); color: var(--blue-icon); }
.bg-orange-light { background: var(--orange-light); color: var(--orange-icon); }
.bg-green-light { background: var(--green-light); color: var(--green-icon); }

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-light);
}

/* Pricing / Modalidades */
.pricing {
  padding: 100px 0;
  background: var(--bg-main);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.pricing-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plan-name {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-size: 1.75rem;
  margin: 8px 0;
}

.plan-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.plan-features i {
  color: var(--green-icon);
  margin-top: 4px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-main);
  padding: 40px;
  border-radius: var(--border-radius-md);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.quote-icon {
  font-size: 2rem;
  color: rgba(0, 180, 216, 0.2);
  margin-bottom: 20px;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 30px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: var(--bg-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-info strong {
  display: block;
  color: var(--primary);
}

.reviewer-info span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA */
.cta-section {
  padding: 100px 0;
  background: var(--bg-main);
}

.cta-container {
  background: var(--bg-gradient);
  border-radius: var(--border-radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 60%);
  animation: pulse 10s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  margin: 20px 0;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-links h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-links i {
  color: var(--accent);
  margin-right: 8px;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
    padding: 16px;
    text-align: center;
  }
}

