/* ============================================================
   FACULDADE SÃO VICENTE — style.css
   Paleta: Laranja #E87722 · Preto #1A1A1A · Branco #FFFFFF
   Fonte display : Outfit (sóbria, geométrica, institucional)
   Fonte body    : Source Sans 3 (legível, neutra)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Marca */
  --orange:       #E87722;
  --orange-dark:  #C9611A;
  --orange-light: #F59340;
  --orange-pale:  #FFF3EA;

  /* Neutros */
  --black:        #1A1A1A;
  --charcoal:     #2C2C2C;
  --dark:         #222222;
  --white:        #FFFFFF;
  --off-white:    #F8F7F5;
  --surface:      #F2F2F2;
  --border:       rgba(0, 0, 0, 0.10);
  --border-light: rgba(0, 0, 0, 0.06);
  --muted:        #717171;
  --muted-light:  #9E9E9E;

  /* Tipografia */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  /* Espaçamentos */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.09);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --shadow-orange: 0 6px 20px rgba(232,119,34,0.30);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--black);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,0.45); transition: color .2s; }
.topbar a:hover { color: var(--orange-light); }
.topbar-right { display: flex; gap: 20px; align-items: center; }

/* ── HEADER ──────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
header .logo {
  min-width: 82px;
  justify-content: center;
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  background: transparent;
  border-radius: var(--r-sm);
}
header .logo-img {
  width: 70px;
  height: 58px;
  border-radius: 0;
}
header .logo-name,
header .logo-sub {
  display: none;
}
.logo-img--footer {
  background: transparent;
}

/* Fallback enquanto logo.png não existe */
.logo-mark--fallback {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: var(--r-sm);
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
  line-height: 1.2;
}
.logo-sub {
  font-size: 10.5px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--surface); color: var(--orange); }

/* Dropdown */
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu {
  display: block;
  animation: dropIn .18s ease;
}
.drop:hover > .nav-link,
.drop:focus-within > .nav-link {
  background: var(--surface);
  color: var(--orange);
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--black);
  border-radius: var(--r-sm);
  transition: all .15s;
}
.drop-menu a:hover { background: var(--orange-pale); color: var(--orange-dark); }
.drop-menu a span { font-size: 16px; flex-shrink: 0; }

/* Header CTAs */
.header-right {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1;
}
.pill-ghost {
  border: 1.5px solid var(--border);
  color: var(--black);
  background: transparent;
}
.pill-ghost:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.pill-orange {
  background: var(--orange);
  color: var(--white);
}
.pill-orange:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}
.pill-dark {
  background: var(--black);
  color: var(--white);
}
.pill-dark:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
}
.btn-big { font-size: 15px; padding: 13px 28px; border-radius: var(--r-md); }

/* Mobile hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.ham span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; display: block; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 27px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.whatsapp-float:hover {
  background: #1FB75A;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.46);
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

/* ── CAROUSEL ────────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--black);
  height: 580px;
}
.carousel-track {
  display: flex;
  flex-wrap: nowrap;       /* impede quebra de linha */
  height: 100%;
  width: 100%;
  transition: transform .65s cubic-bezier(.77, 0, .175, 1);
  will-change: transform;
}
.slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;          /* impede encolhimento */
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 68px 84px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Slide backgrounds — foto nítida + overlay escuro via pseudo-elemento */
.slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay escuro na frente da foto, atrás do conteúdo */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo e decorações acima do overlay */
.sc, .sdeco { z-index: 2; position: relative; }

.s1 { background-color: #1A1A1A; }
.s1::before { background: linear-gradient(90deg, rgba(15,10,5,0.82) 0%, rgba(20,14,6,0.55) 55%, rgba(10,8,4,0.25) 100%); }

.s2 { background-color: #111111; }
.s2::before { background: linear-gradient(90deg, rgba(10,10,10,0.82) 0%, rgba(18,18,18,0.55) 55%, rgba(8,8,8,0.25) 100%); }

.s3 { background-color: #1A1208; }
.s3::before { background: linear-gradient(90deg, rgba(15,10,4,0.82) 0%, rgba(22,16,4,0.55) 55%, rgba(10,8,3,0.25) 100%); }

/* Blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 1; opacity: 0.6; }
.s1 .b1 { width: 540px; height: 540px; background: rgba(232,119,34,0.30); top: -120px; right: -80px; }
.s1 .b2 { width: 260px; height: 260px; background: rgba(232,119,34,0.12); bottom: -40px; right: 300px; }
.s2 .b1 { width: 500px; height: 380px; background: rgba(232,119,34,0.20); top: -60px; right: -60px; }
.s2 .b2 { width: 220px; height: 220px; background: rgba(255,200,150,0.10); bottom: 20px; left: 100px; }
.s3 .b1 { width: 560px; height: 420px; background: rgba(232,119,34,0.25); top: -80px; right: -80px; }
.s3 .b2 { width: 300px; height: 300px; background: rgba(201,97,26,0.15); bottom: 0; left: 200px; }

/* Slide tags */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.tag-orange { background: rgba(232,119,34,0.18); border: 1px solid rgba(232,119,34,0.40); color: var(--orange-light); }
.tag-white  { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.20); color: rgba(255,255,255,0.85); }
.tag-gold   { background: rgba(245,147,64,0.14); border: 1px solid rgba(245,147,64,0.35); color: #F5B640; }

/* Slide content */
.sc {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.slide h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.slide h2 mark {
  background: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(90deg, var(--orange-light), var(--orange));
}
.slide p {
  font-size: 16.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 520px;
  font-family: var(--font-body);
}
.slide-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slide decoration cards */
.sdeco {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dc {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 18px 22px;
  color: var(--white);
  min-width: 170px;
}
.dc-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange-light);
}
.dc-lbl {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
  font-family: var(--font-body);
}

/* Carousel controls */
.cdots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all .3s;
  border: none;
}
.dot.on { width: 28px; background: var(--orange); }
.cbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  transition: all .2s;
  backdrop-filter: blur(8px);
}
.cbtn:hover { background: var(--orange); border-color: var(--orange); }
.cprev { left: 22px; }
.cnext { right: 22px; }

/* ── QUICK ACCESS STRIP ──────────────────────────────────── */
.quick { background: var(--charcoal); }
.quick-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
}
.qi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  text-decoration: none;
  color: rgba(255,255,255,0.60);
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all .2s;
  flex: 1;
}
.qi:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.qi:hover .qi-ic { background: var(--orange); }
.qi-ic {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background .2s;
}
.qi-lbl {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-body);
}
.qi-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  font-family: var(--font-body);
}
.qi-highlight { background: rgba(232,119,34,0.08); }
.qi-highlight .qi-ic { background: var(--orange); }
.qi-highlight .qi-lbl { color: var(--orange-light); }

/* ── TICKER ──────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--orange);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker {
  display: inline-flex;
  animation: tk 28s linear infinite;
}
@keyframes tk {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ti {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.tdot { width: 5px; height: 5px; background: rgba(255,255,255,0.40); border-radius: 50%; }

/* ── SECTIONS SHARED ─────────────────────────────────────── */
section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.sh {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.ss {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  font-family: var(--font-body);
}
.head { margin-bottom: 48px; }
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ── CURSOS ──────────────────────────────────────────────── */
.cursos-bg { background: var(--off-white); }

.cg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cc {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 26px;
  text-decoration: none;
  transition: all .25s;
  border: 1.5px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.cc:hover {
  border-color: rgba(232,119,34,0.30);
  box-shadow: 0 10px 36px rgba(232,119,34,0.10);
  transform: translateY(-4px);
}
.cc:hover::after { transform: scaleX(1); }

.ce {
  font-size: 27px;
  width: 52px;
  height: 52px;
  background: var(--orange-pale);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.cbadge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-radius: 100px;
  letter-spacing: 0.04em;
  align-self: flex-start;
  font-family: var(--font-body);
}
.cc h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.cc p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  font-family: var(--font-body);
}
.ca {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}
.cc-dark {
  background: linear-gradient(135deg, var(--black), var(--charcoal));
  border: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 200px;
}
.cc-dark:hover { border-color: none; }
.cc-dark h3 { color: var(--white); }
.cc-dark p  { color: rgba(255,255,255,0.45); }
.cc-dark .ca { color: var(--orange-light); justify-content: center; margin-top: 8px; }

/* ── TESTE VOCACIONAL ────────────────────────────────────── */
.vocacional-section {
  background: var(--white);
  padding-top: 0;
}
.vocacional-card {
  background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}
.vocacional-card::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(232,119,34,0.26), transparent 70%);
  pointer-events: none;
}
.vocacional-card > * {
  position: relative;
  z-index: 1;
}
.vocacional-card .eyebrow {
  color: var(--orange-light);
}
.vocacional-card .eyebrow::before {
  background: var(--orange-light);
}
.vocacional-card .sh {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  max-width: 640px;
}
.vocacional-card .ss {
  color: rgba(255,255,255,0.58);
  max-width: 660px;
}

/* ── VESTIBULAR BANNER ───────────────────────────────────── */
.vb {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.vb-blob {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 100% 50%, rgba(232,119,34,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 5% 80%,  rgba(232,119,34,0.08) 0%, transparent 50%);
}
.vi {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 28px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.vey {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.vey::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange-light);
  border-radius: 2px;
}
.vb h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.vb h2 span { color: var(--orange-light); }
.vb > .vi > div > p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  font-family: var(--font-body);
}
.vc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.vc h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.vbtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 13px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.vbtn-orange { background: var(--orange); color: var(--white); }
.vbtn-orange:hover { background: var(--orange-dark); box-shadow: var(--shadow-orange); }
.vbtn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.20); }
.vbtn-outline:hover { background: rgba(255,255,255,0.06); }
.vn {
  font-size: 11.5px;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-body);
}
.vn a { color: rgba(255,255,255,0.45); text-decoration: underline; }

/* ── WHY US ──────────────────────────────────────────────── */
.wg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wc {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.wc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.wc:hover::before { transform: scaleX(1); }
.wc:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.wi {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.wi-orange { background: var(--orange-pale); }
.wi-dark   { background: var(--surface); }
.wc h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.wc p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  font-family: var(--font-body);
}

/* ── E-MEC ────────────────────────────────────────────────── */
.emec-section {
  background: var(--white);
  padding-top: 0;
}
.emec-card {
  background: linear-gradient(135deg, var(--black) 0%, #2C1808 100%);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  position: relative;
}
.emec-card::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  top: -130px;
  background: radial-gradient(circle, rgba(232,119,34,0.24), transparent 70%);
  pointer-events: none;
}
.emec-card > * {
  position: relative;
  z-index: 1;
}
.emec-card .eyebrow {
  color: var(--orange-light);
}
.emec-card .eyebrow::before {
  background: var(--orange-light);
}
.emec-card .sh {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  max-width: 640px;
}
.emec-card .ss {
  color: rgba(255,255,255,0.58);
  max-width: 620px;
}

/* ── INSTAGRAM ────────────────────────────────────────────── */
.instagram-section {
  background: var(--white);
  padding-top: 0;
}
.instagram-card {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.instagram-copy .ss {
  max-width: 580px;
}
.instagram-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.instagram-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--black);
  border-radius: 100px;
  padding: 11px 15px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ── BLOG ────────────────────────────────────────────────── */
.blog-bg { background: var(--off-white); }

.bg2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.bf {
  background: var(--black);
  border-radius: var(--r-xl);
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}
.bf:hover { transform: translateY(-3px); }
.bf-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C1408 100%);
}
.bf-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,119,34,0.28), transparent 70%);
  top: -60px;
  right: -60px;
}
.bf-c { position: relative; }
.bcat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.bf h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}
.bf p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.50);
  line-height: 1.55;
  font-family: var(--font-body);
}

.bl { display: flex; flex-direction: column; gap: 12px; }
.bi {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px;
  text-decoration: none;
  transition: all .2s;
  border: 1.5px solid transparent;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bi:hover {
  border-color: rgba(232,119,34,0.30);
  box-shadow: 0 4px 16px rgba(232,119,34,0.08);
}
.bn {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: rgba(0,0,0,0.07);
  line-height: 1;
  flex-shrink: 0;
}
.bi h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 5px;
}
.bi p { font-size: 11.5px; color: var(--muted-light); font-family: var(--font-body); }
.bi .bcat { color: var(--orange); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--black);
  padding: 60px 0 0;
}
.fg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 52px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 36px;
}
.fb p {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin: 14px 0 20px;
  font-family: var(--font-body);
}
.footer-contact p {
  margin: 14px 0 0;
}
.footer-contact strong {
  display: block;
  color: var(--white);
  margin-bottom: 5px;
}
.footer-contact a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--white);
}
.footer-logo-name { color: var(--white) !important; }

.fsoc { display: flex; gap: 10px; }
.fs {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all .2s;
}
.fs:hover { background: var(--orange); border-color: var(--orange); }

.fc h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 16px;
}
.fc a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
  font-family: var(--font-body);
}
.fc a:hover { color: var(--white); }

.fbot {
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255,255,255,0.22);
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu  { animation: fadeUp .6s ease both; }
.fd1 { animation-delay: .10s; }
.fd2 { animation-delay: .25s; }
.fd3 { animation-delay: .40s; }

/* ── COURSE CARD IMAGE ───────────────────────────────────── */
.cc-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: calc(var(--r-xl) - 6px);
  margin: -4px -4px 4px -4px;
  width: calc(100% + 8px);
  display: block;
}
.cc-img[src=""] , .cc-img:not([src]) { display: none; }

/* Blog featured video */
.bf--video {
  position: relative;
  overflow: hidden;
  cursor: default;
  text-decoration: none;
}
.bf--video:hover { transform: none; }

.bf-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* não interfere no hover */
  /* Esconde barras do YouTube: escala levemente */
  transform: scale(1.08);
  transform-origin: center center;
}

/* Overlay suave no topo e base para fundir com o card */
.bf-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(12,10,6,0.85) 0%, rgba(12,10,6,0.20) 40%, transparent 70%),
    linear-gradient(to bottom, rgba(12,10,6,0.40) 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}

.bf--video .bf-c { z-index: 2; position: relative; }



/* Blog list item thumbnail */
.bi-img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  order: 1;          /* after number, before text */
}

/* Campus / institucional image */
.campus-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}


.drop-menu--wide {
  display: none;
  min-width: 460px;
  flex-direction: row;
  gap: 0;
  padding: 16px;
}
.drop:hover .drop-menu--wide,
.drop:focus-within .drop-menu--wide {
  display: flex;
  animation: dropIn .18s ease;
}
.drop-col { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.drop-col-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  padding: 4px 13px 8px;
}
.drop-divider {
  width: 1px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ── TABS ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: all .2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--black); background: var(--surface); }
.tab-active {
  color: var(--orange) !important;
  border-bottom-color: var(--orange) !important;
  background: transparent !important;
}
.tab-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--surface);
  border-radius: 100px;
  color: var(--muted);
}
.tab-active .tab-count { background: var(--orange-pale); color: var(--orange-dark); }

.tab-panel { display: none; }
.tab-panel--active { display: block; animation: fadeUp .35s ease both; }

/* ── SEMIPRESENCIAL BANNER ───────────────────────────────── */
.semi-banner {
  background: linear-gradient(135deg, var(--black) 0%, #2C1808 100%);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.semi-banner-text { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.semi-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,119,34,0.18);
  border: 1px solid rgba(232,119,34,0.35);
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.semi-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 560px;
  font-family: var(--font-body);
  margin: 0;
}

/* ── EAD CTA PANEL ───────────────────────────────────────── */
.ead-cta {
  background: linear-gradient(135deg, var(--black) 0%, #1A1A2E 100%);
  border-radius: var(--r-xl);
  padding: 52px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.ead-cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,119,34,0.18), transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.ead-cta-text { position: relative; }
.ead-cta .eyebrow { color: var(--orange-light); }
.ead-cta .eyebrow::before { background: var(--orange-light); }
.ead-cta .sh { color: var(--white); }
.ead-cta .ss { color: rgba(255,255,255,0.50); }


@media (max-width: 1100px) {
  .cg    { grid-template-columns: repeat(2, 1fr); }
  .wg    { grid-template-columns: repeat(2, 1fr); }
  .fg    { grid-template-columns: repeat(3, 1fr); }
  .vi    { grid-template-columns: 1fr; }
  .emec-card { align-items: flex-start; flex-direction: column; }
  .vocacional-card { align-items: flex-start; flex-direction: column; }
  .instagram-card { grid-template-columns: 1fr; }
  .sdeco { display: none; }
  .slide { padding: 52px 44px; }
}
@media (max-width: 768px) {
  nav, .header-right .pill-ghost { display: none; }
  .ham { display: flex; }
  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 25px;
  }
  .carousel { height: 500px; }
  .slide { padding: 36px 24px; }
  .slide h2 { font-size: 30px; }
  .quick-inner { overflow-x: auto; }
  .qi { min-width: 145px; flex: none; }
  .cg  { grid-template-columns: 1fr; }
  .bg2 { grid-template-columns: 1fr; }
  .wg  { grid-template-columns: 1fr; }
  .fg  { grid-template-columns: repeat(2, 1fr); }
  .topbar-right { display: none; }
  .emec-card { padding: 28px 24px; }
  .emec-card .pill { width: 100%; justify-content: center; }
  .vocacional-card { padding: 28px 24px; }
  .vocacional-card .pill { width: 100%; justify-content: center; }
  .instagram-card { align-items: flex-start; padding: 22px; }
  .instagram-actions { justify-content: flex-start; width: 100%; }
  .instagram-card .pill { width: 100%; justify-content: center; }
}
