/* ============================================
   Dr. André Brito - Static Site Styles
   Institutional Educational Design System
   ============================================ */

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Core Palette - Petroleum Blue */
  --background: hsl(200, 25%, 98%);
  --foreground: hsl(200, 50%, 12%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(200, 50%, 12%);

  /* Primary - Deep Petroleum Blue */
  --primary: hsl(197, 50%, 18%);
  --primary-foreground: hsl(40, 30%, 96%);

  /* Secondary */
  --secondary: hsl(200, 20%, 94%);
  --secondary-foreground: hsl(197, 50%, 18%);

  /* Muted */
  --muted: hsl(200, 15%, 93%);
  --muted-foreground: hsl(200, 20%, 45%);

  /* Accent - Amber Gold */
  --accent: hsl(38, 75%, 55%);
  --accent-foreground: hsl(200, 50%, 12%);

  /* Gold variants */
  --gold-300: hsl(38, 80%, 70%);
  --gold-400: hsl(38, 75%, 60%);
  --gold-500: hsl(38, 75%, 55%);
  --gold-600: hsl(38, 70%, 45%);

  /* Borders */
  --border: hsl(200, 20%, 88%);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(197, 50%, 14%) 0%, hsl(197, 50%, 22%) 50%, hsl(200, 40%, 18%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(200, 15%, 98%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(38, 75%, 50%) 0%, hsl(38, 80%, 60%) 100%);
  --gradient-dark-section: linear-gradient(180deg, hsl(197, 50%, 16%) 0%, hsl(197, 55%, 12%) 100%);

  /* Shadows */
  --shadow-card: 0 4px 24px -4px hsla(200, 40%, 20%, 0.08);
  --shadow-card-hover: 0 12px 40px -8px hsla(200, 40%, 20%, 0.15);
  --shadow-button: 0 4px 16px -4px hsla(38, 75%, 50%, 0.4);

  /* Border radius */
  --radius: 0.5rem;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  line-height: 1.7;
}

/* ============================================
   Container
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

/* ============================================
   Sections
   ============================================ */
.section-dark {
  background: var(--gradient-dark-section);
  color: var(--primary-foreground);
}

.section-light {
  background-color: var(--background);
}

.section-padding {
  padding: 6rem 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: var(--gradient-accent);
  color: var(--foreground);
  box-shadow: var(--shadow-button);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px hsla(38, 75%, 50%, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: transparent;
  border: 2px solid hsla(40, 30%, 96%, 0.3);
  color: var(--primary-foreground);
}

.btn-hero-secondary:hover {
  background: hsla(40, 30%, 96%, 0.1);
  border-color: hsla(40, 30%, 96%, 0.5);
}

/* ============================================
   Cards
   ============================================ */
.card-institutional {
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.card-institutional:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* ============================================
   Accent Elements
   ============================================ */
.accent-line {
  width: 4rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--gradient-accent);
}

.accent-line-centered {
  margin-left: auto;
  margin-right: auto;
}

.text-accent-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(23, 50, 60, 0.9);
  backdrop-filter: blur(8px);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: rgba(23, 50, 60, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 2.5rem;
}

@media (min-width: 768px) {
  .header-logo img { height: 3rem; }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.8);
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: var(--gold-400);
}

.header-cta {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--gold-500);
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.3s ease;
}

.header-cta:hover {
  background: var(--gold-400);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  background: rgba(23, 50, 60, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(250, 248, 242, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.8);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--gold-400);
}

.mobile-menu .header-cta {
  margin-top: 0.5rem;
  text-align: center;
  padding: 0.75rem 1.25rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 50, 60, 0.7);
}

.hero-decorative {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  animation: pulse-soft 4s ease-in-out infinite;
}

.hero-decorative-1 {
  top: 5rem;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(212, 161, 76, 0.05);
}

.hero-decorative-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(212, 161, 76, 0.05);
  animation-delay: 1.5s;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(250, 248, 242, 0.1);
  border: 1px solid rgba(250, 248, 242, 0.2);
  margin-bottom: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.9);
}

.hero h1 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(250, 248, 242, 0.8);
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.6s ease-out 1s both;
}

.hero-scroll span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250, 248, 242, 0.5);
  margin-bottom: 0.5rem;
}

.scroll-indicator {
  width: 1.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(250, 248, 242, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.25rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(250, 248, 242, 0.5);
  animation: scroll-bounce 1.5s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   Value Proposition Section
   ============================================ */
.values {
  position: relative;
  overflow: hidden;
}

.values-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: radial-gradient(circle at 50% 0%, rgba(212, 161, 76, 0.03) 0%, transparent 50%);
}

.values-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.values-header h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.values-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  transition: all 0.3s ease;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(23, 50, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.value-card:hover .value-icon {
  background: rgba(23, 50, 60, 0.15);
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--muted-foreground);
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: radial-gradient(circle at 50% 50%, rgba(212, 161, 76, 0.03) 0%, transparent 50%);
}

.video-section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.video-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}

.video-container {
  position: relative;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .video-container { margin: 0; }
}

.video-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9/16;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(23, 50, 60, 0.05);
  border: 4px solid rgba(23, 50, 60, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .video-frame { width: 320px; }
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-decor-1 {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 5rem;
  height: 5rem;
  border: 2px solid rgba(212, 161, 76, 0.3);
  border-radius: 1rem;
  z-index: -1;
}

.video-decor-2 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(23, 50, 60, 0.2);
  border-radius: 0.75rem;
  z-index: -1;
}

.video-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .video-content { text-align: left; }
}

.video-content .accent-line {
  margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
  .video-content .accent-line {
    margin-left: auto;
    margin-right: auto;
  }
}

.video-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.video-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ============================================
   Courses Section
   ============================================ */
.courses {
  position: relative;
  overflow: hidden;
}

.courses-bg-1, .courses-bg-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  background: rgba(212, 161, 76, 0.05);
}

.courses-bg-1 {
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
}

.courses-bg-2 {
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
}

.courses-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.courses-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(212, 161, 76, 0.2);
  color: var(--gold-300);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.courses-header h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.courses-header p {
  font-size: 1.125rem;
  color: rgba(250, 248, 242, 0.7);
}

.courses-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

.course-card {
  position: relative;
  background: rgba(250, 248, 242, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(250, 248, 242, 0.1);
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: rgba(212, 161, 76, 0.3);
  background: rgba(250, 248, 242, 0.1);
}

.course-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(212, 161, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.course-card:hover .course-icon {
  background: rgba(212, 161, 76, 0.3);
}

.course-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold-400);
}

.course-card h3 {
  font-size: 1.25rem;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.course-card > p {
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.7);
  margin-bottom: 1rem;
}

.course-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.course-topic {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(250, 248, 242, 0.1);
  color: rgba(250, 248, 242, 0.6);
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-400);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.course-link:hover {
  color: var(--gold-300);
}

.course-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.course-link:hover svg {
  transform: translateX(4px);
}

.courses-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: 
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.services-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.services-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(23, 50, 60, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.services-header h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.services-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.services-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-accent {
  opacity: 1;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(23, 50, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(23, 50, 60, 0.15);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.service-features {
  margin-bottom: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--accent);
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   Differentials Section
   ============================================ */
.differentials {
  position: relative;
  overflow: hidden;
}

.differentials-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a14c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.differentials-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.differentials-header h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.differentials-header p {
  font-size: 1.125rem;
  color: rgba(250, 248, 242, 0.7);
}

.differentials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .differentials-grid { grid-template-columns: repeat(5, 1fr); }
}

.differential-item {
  text-align: center;
}

.differential-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(212, 161, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}

.differential-item:hover .differential-icon {
  background: rgba(212, 161, 76, 0.3);
  transform: scale(1.1);
}

.differential-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold-400);
}

.differential-item h3 {
  font-size: 1.125rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.differential-item p {
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.6);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.testimonials-header h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.testimonials-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.testimonials-slider {
  max-width: 56rem;
  margin: 0 auto;
}

.testimonial-wrapper {
  position: relative;
  min-height: 200px;
}

.testimonial-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: rgba(212, 161, 76, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-item blockquote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--foreground);
  font-style: italic;
  max-width: 42rem;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 500;
  color: var(--foreground);
}

.testimonial-institution {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.testimonial-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: rgba(23, 50, 60, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-dot:hover {
  background: rgba(23, 50, 60, 0.5);
}

.testimonial-dot.active {
  width: 2rem;
  background: var(--accent);
}

.partners {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  opacity: 0.6;
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 3rem;
  animation: partners-scroll 36s linear infinite;
}

.partners-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 0 0 auto;
  padding-right: 3rem;
}

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

.partner-logo {
  width: 8rem;
  height: 4rem;
  background: transparent;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex: 0 0 auto;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ============================================
   About Section
   ============================================ */
.about {
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.about-bg-1 {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(212, 161, 76, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.about-bg-2 {
  position: absolute;
  bottom: 5rem;
  left: 5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(212, 161, 76, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.about-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
  position: relative;
}


.about-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  text-align: center;
}

.about-image-icon {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(212, 161, 76, 0.2);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-icon svg {
  width: 4rem;
  height: 4rem;
  color: var(--gold-400);
}

.about-image-placeholder p {
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.5);
}

.about-image-decor-1 {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  border: 2px solid rgba(212, 161, 76, 0.3);
  border-radius: 0.75rem;
}

.about-image-decor-2 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 4rem;
  height: 4rem;
  border: 2px solid rgba(212, 161, 76, 0.2);
  border-radius: 0.75rem;
}

.about-stat-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(23, 50, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.about-stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--foreground);
}

.about-stat-card span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-content .accent-line {
  margin-bottom: 1.5rem;
}

.about-content h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.about-text {
  margin-bottom: 2rem;
}

.about-text p {
  color: rgba(250, 248, 242, 0.8);
  margin-bottom: 1rem;
}

.about-text strong {
  color: var(--gold-400);
}

.about-expertise {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-expertise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(250, 248, 242, 0.7);
  font-size: 0.875rem;
}

.about-expertise-item::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-400);
}

.about-stats {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 248, 242, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-stats-item strong {
  display: block;
  font-size: 1.875rem;
  color: var(--gold-400);
  font-weight: 700;
}

.about-stats-item span {
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.6);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: 
    radial-gradient(circle at 100% 0%, rgba(212, 161, 76, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 50, 60, 0.05) 0%, transparent 30%);
}

.contact-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.contact-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-card { padding: 3rem; }
}

.contact-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.375rem;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-cta h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-cta > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-trust {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-trust::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(23, 50, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-item strong {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 2rem 0;
  background: var(--gradient-dark-section);
  border-top: 1px solid rgba(250, 248, 242, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo img {
  height: 2rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.5);
}

.footer-copyright svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
  fill: var(--accent);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 242, 0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-400);
}

/* ============================================
   Course Detail Page
   ============================================ */
.course-hero {
  position: relative;
  padding: 4rem 0 6rem;
  padding-top: 8rem;
  overflow: hidden;
}

.course-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.course-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 50, 60, 0.8);
}

.course-hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 248, 242, 0.7);
  transition: color 0.3s ease;
  margin-bottom: 2rem;
}

.back-link:hover {
  color: var(--gold-400);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.course-hero-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: rgba(212, 161, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.course-hero-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--gold-400);
}

.course-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(212, 161, 76, 0.2);
  color: var(--gold-300);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.course-hero h1 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.course-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(250, 248, 242, 0.7);
}

.course-content {
  padding: 4rem 0 6rem;
}

.course-content-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.course-description {
  margin-bottom: 3rem;
}

.course-description h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.course-description p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.course-details-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .course-details-grid { grid-template-columns: repeat(2, 1fr); }
}

.course-detail-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.course-detail-card h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.course-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.course-detail-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.course-detail-list li svg.check {
  color: var(--accent);
}

.course-detail-list li svg.primary {
  color: var(--primary);
}

.course-detail-list li .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.course-cta-card {
  background: linear-gradient(to right, var(--primary), rgba(23, 50, 60, 0.8));
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .course-cta-card { padding: 3rem; }
}

.course-cta-card h3 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.course-cta-card p {
  color: rgba(250, 248, 242, 0.8);
  margin-bottom: 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.course-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-500);
  color: var(--primary);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.course-cta-btn:hover {
  background: var(--gold-600);
}

/* ============================================
   Service Detail Page
   ============================================ */
.service-hero {
  position: relative;
  padding: 4rem 0 6rem;
  padding-top: 8rem;
  overflow: hidden;
}

.service-hero,
.service-hero .back-link,
.service-hero .back-link:hover,
.service-hero .service-hero-badge,
.service-hero .service-hero-subtitle,
.service-hero h1,
.service-hero p {
  color: #ffffff;
}



.service-hero .service-hero-icon svg {
  color: #ffffff;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.service-hero--palestras .service-hero-bg,
.service-hero--ciclos .service-hero-bg,
.service-hero--oficinas .service-hero-bg,
.service-hero--projetos .service-hero-bg,
.service-hero--consultoria .service-hero-bg {
  opacity: 1;
  background-size: cover;
  background-position: center;
}

.service-hero--palestras .service-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(11, 28, 36, 0.78), rgba(23, 50, 60, 0.62)),
    url("../assets/service-hero-palestras.png");
}

.service-hero--ciclos .service-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(11, 28, 36, 0.78), rgba(23, 50, 60, 0.62)),
    url("../assets/service-hero-ciclos-formacao.jpg");
}

.service-hero--oficinas .service-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(11, 28, 36, 0.78), rgba(23, 50, 60, 0.62)),
    url("../assets/service-hero-oficinas-familias.jpg");
}

.service-hero--projetos .service-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(11, 28, 36, 0.78), rgba(23, 50, 60, 0.62)),
    url("../assets/service-hero-projetos-alunos.jpg");
}

.service-hero--consultoria .service-hero-bg {
  background-image:
    linear-gradient(135deg, rgba(11, 28, 36, 0.78), rgba(23, 50, 60, 0.62)),
    url("../assets/service-hero-consultoria.jpg");
}

.service-hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.service-hero .back-link {
  color: #ffffff;
}

.service-hero .back-link:hover {
  color: #ffffff;
}

.service-hero-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: rgba(23, 50, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-hero-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.service-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-hero-subtitle {
  font-size: 1.25rem;
  color: #ffffff;
}

.service-content {
  padding: 4rem 0 6rem;
}

.service-content-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.service-description {
  margin-bottom: 3rem;
}

.service-description h2 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.service-description p {
  font-size: 1.125rem;
  color: rgba(250, 248, 242, 0.7);
}

.service-details-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .service-details-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-detail-card {
  background: rgba(250, 248, 242, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(250, 248, 242, 0.1);
}

.service-detail-card h3 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(250, 248, 242, 0.7);
}

.service-detail-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--gold-400);
}

.service-detail-list li .number {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(212, 161, 76, 0.2);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.service-detail-list li .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-400);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.service-cta-card {
  background: linear-gradient(to right, var(--gold-500), var(--gold-600));
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .service-cta-card { padding: 3rem; }
}

.service-cta-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-cta-card p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.service-cta-btn:hover {
  background: hsl(197, 50%, 15%);
}

/* ============================================
   Not Found Page
   ============================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  margin-bottom: 1rem;
}

.not-found a {
  color: var(--primary);
  text-decoration: underline;
}

.not-found a:hover {
  color: var(--accent);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.relative { position: relative; }
.z-10 { z-index: 10; }

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(197, 50%, 25%);
}













