@font-face {
  font-family: 'Some Time Later';
  src: url('fonts/Some Time Later.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --blue: #2196F3;
  --blue-dark: #1565C0;
  --blue-light: #E3F2FD;
  --orange: #FD7D00;
  --orange-dark: #E06E00;
  --orange-light: #FFF0E0;
  --dark: #0D0D1A;
  --dark2: #13131F;
  --dark3: #1A1A2E;
  --gray: #8888AA;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Some Time Later', 'Fredoka', sans-serif; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 100px;
  background: rgba(13,13,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33,150,243,0.15);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }

.nav-logo img {
  height: 90px;
  display: block;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--orange);
  color: var(--dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

.hero {
  min-height: 100vh;
  padding: 140px 5% 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?w=1600&q=80&fit=crop');
  background-size: cover;
  background-position: center 30%;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,13,26,0.97) 0%, rgba(13,13,26,0.88) 50%, rgba(13,13,26,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,125,0,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-left, .hero-right { position: relative; z-index: 1; }

.hero-left { flex: 1; max-width: 580px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(33,150,243,0.1);
  border: 1px solid rgba(33,150,243,0.3);
  color: var(--blue);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(253,125,0,0.1); transform: translateY(-2px); }

.hero-right {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 18px 22px;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.stat-card.blue::before { background: var(--blue); }
.stat-card.orange::before { background: var(--orange); }

.stat-icon { font-size: 22px; margin-bottom: 10px; }
.stat-num { font-family: 'Fredoka', sans-serif; font-size: 28px; font-weight: 800; color: #fff; }
.stat-lbl { font-size: 12px; color: var(--gray); margin-top: 2px; }
.stat-bar { height: 3px; border-radius: 2px; margin-top: 12px; background: rgba(255,255,255,0.07); }
.stat-bar-fill { height: 100%; border-radius: 2px; }

section { padding: 80px 5%; }

.section-header { text-align: center; margin-bottom: 52px; }

.section-tag {
  display: inline-block;
  background: rgba(33,150,243,0.1);
  border: 1px solid rgba(33,150,243,0.25);
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.orange {
  background: rgba(253,125,0,0.1);
  border-color: rgba(253,125,0,0.25);
  color: var(--orange);
}

.section-title {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title .blue { color: var(--blue); }
.section-title .orange { color: var(--orange); }

.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

#cursos { background: var(--dark); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.course-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.course-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.2s;
}

.course-card.bl::after { background: var(--blue); }
.course-card.or::after { background: var(--orange); }

.course-card:hover { transform: translateY(-4px); }
.course-card.bl:hover { border-color: rgba(33,150,243,0.4); }
.course-card.or:hover { border-color: rgba(253,125,0,0.4); }
.course-card:hover::after { opacity: 1; }

.course-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}

.course-icon-wrap.bl { background: rgba(33,150,243,0.12); }
.course-icon-wrap.or { background: rgba(253,125,0,0.12); }

.course-badge {
  float: right;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.course-badge.bl { background: rgba(33,150,243,0.12); color: var(--blue); }
.course-badge.or { background: rgba(253,125,0,0.12); color: var(--orange); }

.course-name { font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.course-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.course-price { font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 700; color: var(--orange); }
.course-level { font-size: 11px; color: var(--gray); }

#sobre { background: var(--dark2); }

.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.sobre-text p {
  font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 16px;
}

.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }

.mini-stat {
  background: var(--dark3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.mini-stat-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px; font-weight: 800;
}

.mini-stat-num.bl { color: var(--blue); }
.mini-stat-num.or { color: var(--orange); }
.mini-stat-lbl { font-size: 12px; color: var(--gray); margin-top: 3px; }

.sobre-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.feature-card {
  background: var(--dark3);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-card:first-child { grid-column: span 2; }

.feature-line {
  width: 36px; height: 3px; border-radius: 2px; margin-bottom: 12px;
}

.feature-title { font-family: 'Fredoka', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature-text { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── PROFESSORES ── */
#professores { background: var(--dark3); }

.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.prof-card {
  background: var(--dark2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.prof-card:hover { transform: translateY(-4px); }
.prof-card:hover { border-color: rgba(33,150,243,0.25); }
.prof-card:nth-child(2):hover { border-color: rgba(253,125,0,0.25); }

.prof-photo-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.prof-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
  filter: brightness(0.88) saturate(1.1);
}

.prof-photo-vasco {
  object-position: center center;
}

.prof-card:hover .prof-photo { transform: scale(1.04); }

.prof-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.prof-badge.bl { background: rgba(33,150,243,0.88); color: #fff; }
.prof-badge.or { background: rgba(253,125,0,0.88); color: #fff; }

.prof-info {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prof-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.prof-role {
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.prof-bio {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.78;
  margin-bottom: 20px;
  flex: 1;
}

.prof-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prof-tag {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.prof-tag.bl { background: rgba(33,150,243,0.1); color: var(--blue); border: 1px solid rgba(33,150,243,0.2); }
.prof-tag.or { background: rgba(253,125,0,0.1); color: var(--orange); border: 1px solid rgba(253,125,0,0.2); }

#porque { background: var(--dark); }

.porque-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.porque-card {
  background: var(--dark2);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, border-color 0.2s;
}
.porque-card:hover { transform: translateY(-3px); }
.porque-card.bl:hover { border-color: rgba(33,150,243,0.3); }
.porque-card.or:hover { border-color: rgba(253,125,0,0.3); }

.porque-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 38px; font-weight: 800;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}
.porque-num.bl { color: var(--blue); }
.porque-num.or { color: var(--orange); }

.porque-title { font-family: 'Fredoka', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.porque-text { font-size: 14px; color: var(--gray); line-height: 1.7; }

#testemunhos { background: var(--dark2); }

.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.test-card {
  background: var(--dark3);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.test-card::before {
  content: '"';
  position: absolute; top: 16px; right: 24px;
  font-family: 'Fredoka', sans-serif;
  font-size: 64px; font-weight: 800;
  line-height: 1;
  opacity: 0.06;
}

.test-stars { margin-bottom: 12px; }
.star { font-size: 14px; color: var(--orange); }

.test-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 20px; font-style: italic; }

.test-author { display: flex; align-items: center; gap: 12px; }

.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-size: 13px; font-weight: 700;
}

.test-avatar.bl { background: rgba(33,150,243,0.15); color: var(--blue); border: 1.5px solid rgba(33,150,243,0.3); }
.test-avatar.or { background: rgba(253,125,0,0.15); color: var(--orange); border: 1.5px solid rgba(253,125,0,0.3); }

.test-name { font-family: 'Fredoka', sans-serif; font-size: 14px; font-weight: 700; }
.test-role { font-size: 12px; color: var(--gray); }

#contacto {
  padding: 80px 5%;
}

#contacto.section-contact--hero-bg {
  position: relative;
  background-color: var(--dark);
  background-image: url('https://images.unsplash.com/photo-1524230572899-a752b3835840?w=1600&q=80&fit=crop');
  background-size: cover;
  background-position: center;
}

.section-contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 26, 0.88);
  z-index: 0;
  pointer-events: none;
}

#contacto .cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner {
  background: var(--dark2);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(33,150,243,0.15);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.cta-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.cta-glow {
  position: absolute; top: -60px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title { font-family: 'Some Time Later', 'Fredoka', sans-serif; font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-sub { font-size: 15px; color: var(--gray); }

.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-left { flex: 1; min-width: 260px; }

.cta-info {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.cta-info-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-info-item a:hover { color: var(--orange); }

.cta-info-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.cta-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cta-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cta-social-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
}

.cta-map {
  flex: 1;
  min-width: 280px;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

footer {
  background: #080810;
  padding: 36px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand { font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 700; }
.footer-brand span { color: var(--orange); }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

.divider {
  width: 48px; height: 3px; border-radius: 2px;
  margin: 12px auto 0;
}
.divider.bl { background: var(--blue); }
.divider.or { background: var(--orange); }
.divider.gradient { background: linear-gradient(90deg, var(--blue), var(--orange)); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.course-img {
  width: 100%; height: 150px;
  display: block;
  transition: transform 0.4s ease;
}
.course-card:hover .course-img { transform: scale(1.04); }
.course-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #0a0a14;
}

.course-img-wrap .course-badge {
  float: none;
  position: absolute;
  top: 12px;
  right: 12px;
}

.course-card:has(.course-body) {
  padding: 0;
}

.course-card .course-body {
  padding: 24px 20px 24px;
}

.sobre-photo {
  width: 100%; border-radius: 20px;
  aspect-ratio: 4/3; object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(1.1);
  border: 1px solid rgba(33,150,243,0.2);
}

.sobre-photo-wrap {
  position: relative;
}

.sobre-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(33,150,243,0.08) 0%, rgba(253,125,0,0.08) 100%);
  pointer-events: none;
}

.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  padding: 0 5% 80px;
  background: var(--dark);
}

.strip-img {
  width: 100%; object-fit: cover; display: block;
  border-radius: 16px;
  filter: brightness(0.8) saturate(1.1);
  transition: filter 0.3s, transform 0.3s;
}

.strip-img:hover { filter: brightness(1) saturate(1.2); transform: scale(1.01); }
.strip-img.tall { height: 280px; }
.strip-img.short { height: 130px; }
.strip-right { display: flex; flex-direction: column; gap: 12px; }

.quote-band {
  background: var(--dark2);
  padding: 60px 5%;
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(33,150,243,0.1);
  border-bottom: 1px solid rgba(253,125,0,0.1);
}

.quote-band-img {
  width: 200px; height: 200px; flex-shrink: 0;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--orange);
  filter: brightness(0.9) grayscale(0.2);
}

.quote-text {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

.quote-text em { font-style: normal; color: var(--orange); }
.quote-attr { margin-top: 16px; font-size: 14px; color: var(--gray); }

@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .strip-img.tall { height: 180px; grid-column: span 2; }
  .strip-right { flex-direction: row; }
  .strip-img.short { height: 120px; flex: 1; }
  .quote-band { flex-direction: column; text-align: center; }
  .quote-band-img { width: 120px; height: 120px; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-right { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stat-card { min-width: 140px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .prof-photo-wrap { height: 340px; }
  .cta-inner { padding: 36px 28px; flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  nav .nav-links { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
