/* =============================================
   AI PATH – STYLE.CSS
   Tons claros, moderno, profissional
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #2563eb;
  --primary-lt: #3b82f6;
  --primary-dk: #1d4ed8;
  --accent:     #06b6d4;
  --accent-lt:  #00ff8c;
  --bg:         #f8fafc;
  --bg-white:   #ffffff;
  --bg-soft:    #f1f5f9;
  --text:       #0f172a;
  --text-muted: #64748b;
  --border:     #e2e8f0;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --radius:     16px;
  --radius-sm:  8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* UTILITIES */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37,99,235,.08);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-tag.light {
  color: #fff;
  background: rgba(255,255,255,.2);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

.btn-outline {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: background .2s, color .2s;
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.highlight { color: var(--primary); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-img-footer {
  height: 48px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
}
.btn-nav:hover { background: var(--primary-dk) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 40%, #f8fafc 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
}
.shape-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.shape-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 70%);
  bottom: 0; left: 10%;
}
.shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  top: 40%; left: 55%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.25);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Neural net decoration */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  pointer-events: none;
  overflow: hidden;
  opacity: .6;
}
.neural-net { width: 100%; height: 100%; }

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 96px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.2);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08), var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(37,99,235,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-bullets li {
  font-size: .85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Last 2 cards span differently */
.services-grid .service-card:nth-child(4) { grid-column: 1 / 2; }
.services-grid .service-card:nth-child(5) { grid-column: 2 / 3; }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 96px 0;
  background: var(--bg-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; height: 380px; }

.about-card-stack { position: relative; height: 100%; }

.about-card {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}
.about-card strong { font-size: 1rem; font-weight: 700; }
.about-card small  { font-size: .8rem; color: var(--text-muted); }
.ac-icon { font-size: 1.6rem; margin-bottom: 4px; }

.ac-1 { top: 20px;  left: 0;   transform: rotate(-3deg); z-index: 3; background: linear-gradient(135deg,#fff,#f0f7ff); }
.ac-2 { top: 120px; left: 60px; transform: rotate(2deg);  z-index: 2; background: linear-gradient(135deg,#fff,#f0fdf4); }
.ac-3 { top: 230px; left: 20px; transform: rotate(-1deg); z-index: 1; background: linear-gradient(135deg,#fff,#fefce8); }

.about-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: .95rem;
}
.value-dot {
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   PÓS-GRADUAÇÃO CTA
   ============================================= */
.posgrad {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 60%, #0f172a 100%);
  padding: 96px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.posgrad::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -200px; right: -100px;
}

.posgrad-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.posgrad-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.posgrad-course-name {
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 1;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 520px;
}

.course-highlight {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--accent-lt);
  letter-spacing: -.02em;
}

.posgrad-text p {
  opacity: .85;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}

.posgrad-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.posgrad-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  opacity: .9;
}
.posgrad-features li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-lt); }

.posgrad-text .btn-primary {
  background: #fff;
  color: var(--primary);
}
.posgrad-text .btn-primary:hover {
  background: #e0f2fe;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.posgrad-visual { display: flex; align-items: center; justify-content: center; }

.posgrad-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 36px 48px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.pb-top   { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.pb-date  { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.pb-spots { font-size: .85rem; opacity: .7; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 99px; display: inline-block; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 96px 0;
  background: var(--bg-soft);
}

.contact-inner { max-width: 720px; margin: 0 auto; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .22s, border-color .22s, transform .2s;
}
.channel-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.25);
  transform: translateY(-2px);
}

.channel-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg { width: 28px; height: 28px; }

.email-icon     { background: rgba(37,99,235,.08);  color: var(--primary); }
.instagram-icon { background: rgba(225,48,108,.08); color: #e1306c; }
.linkedin-icon  { background: rgba(10,102,194,.08); color: #0a66c2; }
.youtube-icon   { background: rgba(255,0,0,.08);    color: #ff0000; }

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.channel-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.channel-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.channel-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.channel-card:hover .channel-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: .9rem; }

.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col strong { color: #fff; font-size: .9rem; margin-bottom: 4px; }
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: .82rem;
  color: #64748b;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .hero { min-height: auto; }
  .hero-content { padding: 60px 24px 40px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2rem; }

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

  .services-grid { grid-template-columns: 1fr; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { height: 260px; }

  .posgrad-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .posgrad-visual { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}
