﻿:root {
  --primary: #0d1b3e;
  --primary-dark: #08112a;
  --primary-light: #1a3060;
  --accent: #c5962b;
  --accent-dark: #9a7520;
  --accent-light: #d4aa42;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #868e96;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --success: #1a6b3c;
  --danger: #b91c1c;
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', Arial, sans-serif;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  font-weight: 400
}

img {
  max-width: 100%;
  height: auto
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.modal-title,
.card-title,
.news-title,
.course-name,
.admin-card-header h2,
.admin-topbar h1 {
  font-weight: 700
}

p,
span,
li,
td,
th,
label,
input,
select,
textarea,
div {
  font-weight: 400
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
  letter-spacing: 0.3px
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark)
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark)
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary)
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary)
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px
}

.section {
  padding: 72px 0
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.25;
  font-weight: 700
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 44px;
  font-weight: 400
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px
}

.badge-accent {
  background: #f5e8c0;
  color: #6b4c00
}

.badge-primary {
  background: #dce8ff;
  color: var(--primary-dark)
}

/* TOPBAR */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 400
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition)
}

.topbar a:hover {
  color: #fff
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px
}

/* HEADER */
.header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

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

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700
}

.logo-text {
  display: flex;
  flex-direction: column
}

.logo-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1
}

.logo-tagline {
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-item {
  position: relative
}

.nav-link {
  padding: 9px 14px;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  letter-spacing: 0.2px
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray-50)
}

.nav-link svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transition: transform var(--transition)
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg)
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 100;
  border: 1px solid var(--gray-200)
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.dropdown-item {
  display: block;
  padding: 11px 18px;
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
  cursor: pointer
}

.dropdown-item:last-child {
  border-bottom: none
}

.dropdown-item:hover {
  color: var(--primary);
  background: var(--gray-50);
  padding-left: 24px
}

.mega-menu {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr)
}

.mega-menu-col {
  padding: 18px
}

.mega-menu-col:first-child {
  border-right: 1px solid var(--gray-100)
}

.mega-menu-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-400);
  margin-bottom: 10px;
  padding: 0 4px
}

.mega-item {
  display: block;
  padding: 9px 10px;
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 400;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 1px;
  cursor: pointer
}

.mega-item:hover {
  color: var(--primary);
  background: var(--gray-50)
}

.nav-cta {
  margin-left: 10px
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  transition: all var(--transition);
  border-radius: 2px
}

/* HERO */
.hero {
  position: relative;
  height: clamp(400px, 56vw, 600px);
  overflow: hidden;
  background: var(--primary-dark)
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1)
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark)
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none
}

.hero-slide>.container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  color: #fff
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 28px
}

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

.hero-actions .btn {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.3px
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: all var(--transition);
  border: none
}

.hero-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 3
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.25)
}

.hero-arrow-left {
  left: 20px
}

.hero-arrow-right {
  right: 20px
}

.hero-stats-bar {
  background: var(--primary-dark);
  border-top: 3px solid var(--accent)
}

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

.hero-stat {
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff
}

.hero-stat:last-child {
  border-right: none
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  display: block;
  color: var(--accent-light)
}

.hero-stat-label {
  font-size: 11px;
  opacity: 0.75;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px
}

/* HIGHLIGHT BAR */
.highlight-bar {
  background: var(--primary)
}

.highlight-bar .container {
  display: flex;
  align-items: stretch;
  padding: 0
}

.highlight-item {
  flex: 1;
  padding: 18px 22px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background var(--transition)
}

.highlight-item:last-child {
  border-right: none
}

.highlight-item:hover {
  background: var(--primary-light)
}

.highlight-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff
}

.highlight-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700
}

.highlight-text span {
  font-size: 11px;
  opacity: 0.78;
  font-weight: 400
}

/* COURSES */
.courses-tabs {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0
}

.course-tab {
  padding: 9px 18px;
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition)
}

.course-tab:hover {
  color: var(--primary)
}

.course-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary)
}

.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px)
}

.course-card-header {
  height: 6px;
  background: var(--primary)
}

.course-card[data-modalidade-slug="graduacao"] .course-card-header {
  background: #1a5276
}

.course-card[data-modalidade-slug="pos-graduacao"] .course-card-header {
  background: #4a2800
}

.course-card[data-modalidade-slug="segunda-licenciatura"] .course-card-header,
.course-card[data-modalidade-slug="2a-licenciatura"] .course-card-header {
  background: var(--accent)
}

.course-card[data-modalidade-slug="2a-graduacao"] .course-card-header,
.course-card[data-modalidade-slug="segunda-graduacao"] .course-card-header {
  background: #1a6b3c
}

.course-card[data-modalidade-slug="aperfeicoamento"] .course-card-header {
  background: #6b1a6b
}

.course-card[data-modalidade-slug="extensao-cultural"] .course-card-header,
.course-card[data-modalidade-slug="capacitacao"] .course-card-header {
  background: #0d7377
}

.course-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.course-card-body .course-card-badges {
  min-height: 28px
}

.course-card-body .course-name {
  flex: 1
}

.course-card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px
}

.course-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  margin-bottom: 8px
}

.badge-modalidade {
  background: var(--primary);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px
}

.course-card[data-modalidade-slug="graduacao"] .badge-modalidade {
  background: #1a5276
}

.course-card[data-modalidade-slug="pos-graduacao"] .badge-modalidade {
  background: #4a2800
}

.course-card[data-modalidade-slug="segunda-licenciatura"] .badge-modalidade,
.course-card[data-modalidade-slug="2a-licenciatura"] .badge-modalidade {
  background: var(--accent)
}

.course-card[data-modalidade-slug="2a-graduacao"] .badge-modalidade,
.course-card[data-modalidade-slug="segunda-graduacao"] .badge-modalidade {
  background: #1a6b3c
}

.course-card[data-modalidade-slug="aperfeicoamento"] .badge-modalidade {
  background: #6b1a6b
}

.course-card[data-modalidade-slug="extensao-cultural"] .badge-modalidade,
.course-card[data-modalidade-slug="capacitacao"] .badge-modalidade {
  background: #0d7377
}

.course-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
  font-weight: 700
}

.course-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 14px;
  flex-wrap: wrap;
  font-weight: 400
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px
}

.course-icon {
  width: 14px;
  height: 14px;
  fill: var(--gray-500)
}

.course-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 14px;
  font-weight: 400
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.modal-overlay.open {
  display: flex
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto
}

.modal-header {
  background: var(--primary);
  color: #fff;
  padding: 26px 30px;
  position: relative
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center
}

.modal-body {
  padding: 28px
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px
}

.modal-info-box {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  border: 1px solid var(--gray-200)
}

.modal-info-box strong {
  display: block;
  font-size: 17px;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700
}

.modal-info-box span {
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 400
}

.modal-section {
  margin-bottom: 22px
}

.modal-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  display: inline-block;
  font-family: var(--font-body)
}

.modal-section p {
  color: var(--gray-700);
  line-height: 1.7;
  font-weight: 400;
  font-size: 14px
}

.modal-section ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px
}

.modal-section ul li {
  color: var(--gray-700);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-weight: 400
}

.modal-section ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  min-width: 7px;
  margin-top: 6px
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0
}

.about-img-text {
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  user-select: none
}

.about-badge-float {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--gray-200)
}

.about-badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--primary);
  font-weight: 700
}

.about-badge-float span {
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 400
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px
}

.mvv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary)
}

.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700
}

.mvv-card p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400
}

.mvv-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.mvv-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff
}

/* DIFERENCIAIS */
.diff-section {
  background: var(--primary-dark);
  color: #fff
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 44px
}

.diff-card {
  padding: 24px 18px;
  border-top: 3px solid rgba(255, 255, 255, 0.15)
}

.diff-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.diff-card-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff
}

.diff-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px
}

.diff-card p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.6;
  font-weight: 400
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  cursor: pointer
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px)
}

.news-img {
  height: 180px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative
}

.news-img-inner {
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  user-select: none
}

.news-body {
  padding: 18px
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400
}

.news-tag {
  background: var(--gray-100);
  color: var(--primary);
  padding: 2px 9px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px
}

.news-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 7px;
  line-height: 1.35;
  font-weight: 700
}

.news-excerpt {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 400
}

.news-full-content {
  display: none;
  padding: 20px 28px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-700)
}

/* TESTIMONIALS */
.testimonials-section {
  background: var(--gray-50)
}

.testimonials-wrap {
  position: relative;
  overflow: hidden
}

.testimonials-slides {
  display: flex;
  transition: transform 0.6s ease
}

.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 2px
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200)
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700
}

.testimonial-text {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
  font-weight: 400
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-body)
}

.testimonial-author-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700
}

.testimonial-author-info span {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400
}

.stars {
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 7px;
  font-weight: 400;
  letter-spacing: 2px
}

/* PROFESSORS */
.professors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.professor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  padding: 22px
}

.professor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 14px;
  font-family: var(--font-display)
}

.professor-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 700
}

.professor-area {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 6px;
  font-weight: 400
}

.professor-formation {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 400
}

/* CTA */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 70px 0;
  border-top: 4px solid var(--accent)
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 14px;
  font-weight: 700
}

.cta-section p {
  font-size: 17px;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200)
}

.form-group {
  margin-bottom: 18px
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 5px
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-900);
  transition: border-color var(--transition);
  background: #fff;
  font-weight: 400
}

.form-control:focus {
  outline: none;
  border-color: var(--primary)
}

textarea.form-control {
  resize: vertical;
  min-height: 110px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 700
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px
}

.contact-item-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff
}

.contact-item strong {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  margin-bottom: 1px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px
}

.contact-item span {
  font-size: 14px;
  font-weight: 400
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 52px 0;
  border-bottom: 4px solid var(--accent)
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  margin-bottom: 10px;
  font-weight: 700
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  opacity: 0.72;
  margin-bottom: 12px;
  font-weight: 400
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer
}

.breadcrumb span {
  opacity: 0.5
}

/* PORTAL */
.portal-page {
  background: var(--gray-50);
  min-height: 60vh;
  padding: 60px 0
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto
}

.portal-entry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1.5px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.portal-entry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md)
}

.portal-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.portal-card-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff
}

.portal-entry-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin: 0
}

.portal-entry-card p {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 400;
  margin: 0
}

.portal-entry-card a.btn {
  width: 100%;
  text-align: center
}

/* TRABALHE */
.job-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200)
}

.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition)
}

.upload-zone:hover {
  border-color: var(--primary);
  background: var(--gray-50)
}

.upload-zone p {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700)
}

.upload-zone small {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400
}

/* FOOTER */
.footer {
  background: var(--gray-900);
  color: #fff;
  padding: 56px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 400
}

.footer-social {
  display: flex;
  gap: 8px
}

.social-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  font-family: var(--font-body)
}

.social-btn:hover {
  background: var(--primary)
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 14px
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  transition: color var(--transition);
  cursor: pointer;
  font-weight: 400
}

.footer-link:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition)
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7)
}

/* ALERTS */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent
}

.alert-success {
  background: #d1f2e0;
  color: #0a5c33;
  border-color: #a3dfc0
}

.alert-error {
  background: #fde8e8;
  color: #9b1c1c;
  border-color: #f5c6c6
}

.alert-info {
  background: #dce8ff;
  color: var(--primary-dark);
  border-color: #b0c8f4
}

/* ADMIN PANEL */
#admin-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f0f2f5
}

#admin-panel.open {
  display: flex
}

.admin-sidebar {
  width: 252px;
  background: #141824;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0
}

.admin-logo {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px
}

.admin-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display)
}

.admin-logo-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  font-family: var(--font-display)
}

.admin-logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400
}

.admin-nav {
  padding: 14px 0;
  flex: 1;
  overflow-y: auto
}

.admin-nav-section {
  padding: 10px 18px 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25)
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  font-weight: 400
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--primary)
}

.admin-nav-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.7
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.admin-topbar {
  background: #fff;
  padding: 14px 26px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0
}

.admin-topbar h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  font-family: var(--font-display)
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 26px
}

.admin-section {
  display: none
}

.admin-section.active {
  display: block
}

.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 22px
}

.admin-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50)
}

.admin-card-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900)
}

.admin-card-body {
  padding: 22px
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px
}

.admin-stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 14px
}

.admin-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center
}

.admin-stat-icon svg {
  width: 22px;
  height: 22px
}

.admin-stat-icon.blue {
  background: #dce8ff
}

.admin-stat-icon.blue svg {
  fill: var(--primary)
}

.admin-stat-icon.green {
  background: #d4edda
}

.admin-stat-icon.green svg {
  fill: var(--success)
}

.admin-stat-icon.amber {
  background: #fef3cd
}

.admin-stat-icon.amber svg {
  fill: #856404
}

.admin-stat-icon.red {
  background: #fde8e8
}

.admin-stat-icon.red svg {
  fill: var(--danger)
}

.admin-stat-info strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900)
}

.admin-stat-info span {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px
}

.admin-table th {
  background: var(--gray-50);
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-500);
  border-bottom: 2px solid var(--gray-200)
}

.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
  font-weight: 400
}

.admin-table tr:hover td {
  background: var(--gray-50)
}

.status-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px
}

.status-active {
  background: #d4edda;
  color: #145228
}

.status-inactive {
  background: #fde8e8;
  color: #9b1c1c
}

.status-draft {
  background: #fef3cd;
  color: #6b4c00
}

.table-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.table-btn {
  padding: 5px 11px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px
}

.table-btn-edit {
  background: #dce8ff;
  color: var(--primary-dark)
}

.table-btn-edit:hover {
  background: var(--primary);
  color: #fff
}

.table-btn-delete {
  background: #fde8e8;
  color: var(--danger)
}

.table-btn-delete:hover {
  background: var(--danger);
  color: #fff
}

.table-btn-view {
  background: #d4edda;
  color: #145228
}

.table-btn-view:hover {
  background: var(--success);
  color: #fff
}

.table-btn-publish {
  background: #d4edda;
  color: #145228
}

.table-btn-publish:hover {
  background: var(--success);
  color: #fff
}

.table-btn-unpublish {
  background: #fef3cd;
  color: #6b4c00
}

.table-btn-unpublish:hover {
  background: #856404;
  color: #fff
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-400);
  border-radius: 11px;
  cursor: pointer;
  transition: all var(--transition)
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition)
}

input:checked+.toggle-slider {
  background: var(--success)
}

input:checked+.toggle-slider::before {
  transform: translateX(18px)
}

.admin-form .form-group {
  margin-bottom: 18px
}

.admin-form .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px
}

.admin-form .form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--gray-900);
  transition: border-color var(--transition);
  font-weight: 400
}

.admin-form .form-control:focus {
  outline: none;
  border-color: var(--primary)
}

.admin-form textarea.form-control {
  min-height: 90px;
  resize: vertical
}

.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.admin-form .form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px
}

.form-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  margin-top: 14px
}

.close-admin-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  transition: all var(--transition);
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400
}

.close-admin-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff
}

.seo-preview {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--gray-200);
  margin-top: 14px
}

.seo-preview-title {
  color: #1a0dab;
  font-size: 17px;
  margin-bottom: 3px;
  font-weight: 400
}

.seo-preview-url {
  color: #186a1c;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 400
}

.seo-preview-desc {
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 400
}

.banner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px
}

.banner-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition)
}

.banner-item:hover {
  box-shadow: var(--shadow-md)
}

.banner-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center
}

.banner-preview span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 400
}

.banner-item-info {
  padding: 9px 12px;
  background: #fff
}

.banner-item-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-800)
}

.banner-item-info span {
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 400
}

.portal-admin-item {
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 16px;
  margin-bottom: 12px
}

.portal-admin-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.portal-admin-item-header strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800)
}

.news-full-body {
  display: none;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  margin-top: 14px
}

.news-full-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-700);
  font-weight: 400
}

/* PAGES */
.page {
  display: none
}

.page.active {
  display: block
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: #fff;
  flex-direction: column;
  overflow-y: auto
}

.mobile-nav.open {
  display: flex
}

.mobile-nav-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200)
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray-700)
}

.mobile-nav-links {
  padding: 18px
}

.mobile-nav-link {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer
}

.mobile-nav-link:hover {
  color: var(--primary)
}

.mobile-nav-cta {
  padding: 18px
}

/* RESPONSIVE */
/* COURSE FILTER BAR */
.course-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin-bottom: 18px
}

.course-filter-bar .filter-search {
  flex: 1;
  min-width: 200px;
  position: relative
}

.course-filter-bar .filter-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  transition: border-color var(--transition)
}

.course-filter-bar .filter-search input:focus {
  outline: none;
  border-color: var(--primary)
}

.filter-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--gray-400);
  pointer-events: none
}

.course-filter-bar select {
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition)
}

.course-filter-bar select:focus {
  outline: none;
  border-color: var(--primary)
}

.filter-count {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
  white-space: nowrap;
  padding: 0 4px
}

.filter-clear {
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: background var(--transition)
}

.filter-clear:hover {
  background: var(--gray-100)
}

/* BANNER IMAGE UPLOAD */
.banner-img-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--gray-50)
}

.banner-img-upload:hover {
  border-color: var(--primary);
  background: #f0f4ff
}

.banner-img-upload input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%
}

.banner-img-upload-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px
}

.banner-img-upload-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gray-500)
}

.banner-img-upload-icon.excel svg {
  fill: var(--success)
}

.banner-img-upload p {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px
}

.banner-img-upload small {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400
}

.banner-img-upload .size-note {
  display: inline-block;
  margin-top: 8px;
  background: #dce8ff;
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700
}

.banner-img-preview {
  display: none;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 10px;
  border: 1px solid var(--gray-200)
}

.banner-img-name {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--success);
  font-weight: 600
}

@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }

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

  .professors-grid {
    grid-template-columns: repeat(3, 1fr)
  }

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

  #coursesGrid,
  #coursesPageGrid {
    grid-template-columns: repeat(2, 1fr) !important
  }
}

@media(max-width:768px) {
  .topbar {
    display: none
  }

  .nav-menu,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

  .hero {
    height: clamp(320px, 75vw, 480px)
  }

  .hero-slide::before {
    background: none
  }

  .hero-content {
    max-width: 100%
  }

  .hero-content h1 {
    font-size: clamp(20px, 5.5vw, 30px);
    margin-bottom: 20px
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 15px
  }

  .hero-arrow-left {
    left: 10px
  }

  .hero-arrow-right {
    right: 10px
  }

  .hero-dots {
    bottom: 14px
  }

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

  .hero-stat {
    padding: 12px 10px
  }

  .hero-stat-num {
    font-size: 20px
  }

  .hero-stat-label {
    font-size: 10px
  }

  .highlight-bar .container {
    flex-direction: column
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
  }

  .section {
    padding: 48px 0
  }

  .section-title {
    font-size: 24px
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 28px
  }

  .about-grid,
  .contact-grid,
  .mvv-grid {
    grid-template-columns: 1fr
  }

  .about-badge-float {
    display: none
  }

  #coursesGrid,
  #coursesPageGrid {
    grid-template-columns: 1fr !important
  }

  .courses-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px
  }

  .courses-tabs::-webkit-scrollbar {
    height: 3px
  }

  .courses-tabs::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px
  }

  .course-tab {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 14px
  }

  .news-grid {
    grid-template-columns: 1fr
  }

  .testimonial-slide {
    grid-template-columns: 1fr
  }

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

  .portal-cards-grid {
    grid-template-columns: 1fr
  }

  .modal-grid,
  .modal-section ul {
    grid-template-columns: 1fr
  }

  .modal-footer {
    flex-direction: column
  }

  .modal-footer .btn {
    width: 100%;
    text-align: center
  }

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

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center
  }

  .form-row,
  .admin-form .form-row,
  .admin-form .form-row-3 {
    grid-template-columns: 1fr
  }

  .mega-menu {
    grid-template-columns: 1fr;
    min-width: 220px
  }

  .cta-section {
    padding: 48px 0
  }

  .cta-section h2 {
    font-size: 24px
  }

  .cta-section p {
    font-size: 15px
  }

  .cta-actions {
    flex-direction: column;
    align-items: center
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center
  }

  .contact-info-card {
    padding: 20px
  }

  .page-hero {
    padding: 36px 0
  }

  .page-hero h1 {
    font-size: 28px
  }

  .admin-panel {
    flex-direction: column
  }

  .admin-sidebar {
    width: 100%;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease
  }

  .admin-sidebar.sidebar-open {
    max-height: 100vh
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr
  }

  .admin-table th,
  .admin-table td {
    padding: 9px 10px;
    font-size: 12px
  }

  .table-actions {
    flex-direction: column;
    gap: 4px
  }

  .course-filter-bar {
    flex-direction: column;
    align-items: stretch
  }

  .course-filter-bar .filter-search {
    min-width: unset
  }

  .mvv-card {
    padding: 20px
  }

  .diff-card {
    padding: 18px 14px
  }

  .professor-card {
    padding: 16px
  }

  .professor-avatar {
    width: 60px;
    height: 60px;
    font-size: 18px
  }
}

@media(max-width:480px) {
  .hero-title {
    font-size: 22px
  }

  .hero-eyebrow {
    font-size: 10px
  }

  .container {
    padding: 0 14px
  }

  .section {
    padding: 36px 0
  }

  .section-title {
    font-size: 22px
  }

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

  .diff-grid {
    grid-template-columns: 1fr
  }

  .testimonial-card {
    padding: 18px
  }

  .news-body {
    padding: 14px
  }

  .news-title {
    font-size: 15px
  }

  .admin-stats {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    display: none
  }

  .admin-mobile-menu-btn {
    display: flex !important
  }

  .modal {
    margin: 10px
  }

  .modal-header {
    padding: 18px 20px
  }

  .modal-body {
    padding: 18px 20px
  }

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

  .btn {
    font-size: 13px;
    padding: 10px 18px
  }

  .btn-sm {
    font-size: 12px;
    padding: 6px 12px
  }

  .job-form {
    padding: 22px 16px
  }

  .contact-form {
    padding: 22px 16px
  }

  .portal-entry-card {
    padding: 22px 16px
  }
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none
}

.toast {
  background: var(--gray-900);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 400;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  animation: toastIn 0.3s ease forwards
}

.toast.success {
  border-left: 4px solid #22c55e
}

.toast.error {
  border-left: 4px solid var(--danger)
}

.toast.info {
  border-left: 4px solid var(--primary)
}

.toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0
}

.toast-icon.success {
  fill: #22c55e
}

.toast-icon.error {
  fill: var(--danger)
}

.toast-icon.info {
  fill: var(--primary-light)
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0)
  }

  to {
    opacity: 0;
    transform: translateX(20px)
  }
}

/* ADMIN MOBILE TOGGLE */
.admin-mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body)
}

.admin-mobile-menu-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff
}

/* ===== INSTITUCIONAL ADMIN ===== */
.inst-editor-block {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  overflow: hidden
}

.inst-editor-header {
  background: var(--gray-50);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200)
}

.inst-editor-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800)
}

.inst-editor-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px
}

.inst-editor-text {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.rich-editor {
  min-height: 120px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  resize: vertical;
  line-height: 1.6
}

.rich-editor:focus {
  border-color: var(--primary)
}

.rich-toolbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0
}

.rich-toolbar button {
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--gray-700);
  transition: all .2s
}

.rich-toolbar button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.inst-img-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  background: var(--gray-50)
}

.inst-img-upload:hover {
  border-color: var(--primary);
  background: #f0f4ff
}

.inst-img-upload input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%
}

.inst-img-upload p {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 3px
}

.inst-img-upload small {
  font-size: 10px;
  color: var(--gray-500)
}

.inst-img-preview {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  display: none;
  border: 1px solid var(--gray-200)
}

.inst-size-badge {
  display: inline-block;
  background: #e0f0ff;
  color: #0050b3;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 5px
}

/* IES PARCEIRAS */
.ies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 14px
}

.ies-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
  position: relative;
  transition: box-shadow .2s
}

.ies-card:hover {
  box-shadow: var(--shadow-md)
}

.ies-card-img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block
}

.ies-card-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-700)
}

.ies-card-actions {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap
}

.ies-hidden {
  opacity: .4
}

/* IES PARCEIRAS - site */
.ies-section {
  padding: 56px 0;
  background: var(--gray-50)
}

.ies-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 36px
}

.ies-logo-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 70px
}

.ies-logo-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain
}

.ies-logo-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600)
}

/* PRESENCIAIS */
.presenciais-section {
  padding: 72px 0;
  background: #fff
}

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

/* CURSOS PAGE FILTERS */
.courses-filter-bar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px
}

.filter-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .8px
}

.filter-group select {
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-body);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary)
}

.filter-count-badge {
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700
}

.filter-reset-btn {
  padding: 9px 16px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .2s;
  font-family: var(--font-body)
}

.filter-reset-btn:hover {
  background: var(--gray-200)
}

/* CARRINHO */
.cart-btn-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  z-index: 500;
  font-family: var(--font-body)
}

.cart-btn-fixed:hover {
  background: var(--accent-dark);
  transform: translateY(-2px)
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .45);
  z-index: 500;
  transition: all .3s
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .55)
}

.whatsapp-float svg {
  display: block
}

.cart-badge {
  background: #fff;
  color: var(--accent-dark);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column
}

.cart-panel.open {
  transform: translateX(0)
}

.cart-header {
  background: var(--primary);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700
}

.cart-close {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px
}

.cart-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px
}

.cart-item-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px
}

.cart-item-info span {
  font-size: 11px;
  color: var(--gray-500)
}

.cart-item-remove {
  background: #fde8e8;
  border: none;
  color: var(--danger);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .2s
}

.cart-item-remove:hover {
  background: var(--danger);
  color: #fff
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400)
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--gray-200)
}

.cart-footer .btn {
  width: 100%;
  text-align: center
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1050;
  display: none
}

.cart-overlay.open {
  display: block
}

/* CURSO CARD BADGE */
.course-badge-destaque {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .8px
}

.course-card {
  position: relative
}

/* MODAL CURSO DEDICADO - pagina propria */
.course-page {
  min-height: 80vh;
  padding: 0
}

/* PREVIEW MODAL INSTITUCIONAL */
.inst-preview-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.inst-preview-overlay.open {
  display: flex
}

.inst-preview-box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px
}

/* MEGA MENU CATEGORIAS */
.mega-cat-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: all .2s;
  cursor: pointer
}

.mega-cat-item:hover {
  color: var(--primary);
  background: var(--gray-50)
}

@media(max-width:768px) {
  .inst-editor-body {
    grid-template-columns: 1fr
  }

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

  .presenciais-grid {
    grid-template-columns: 1fr
  }

  .courses-filter-bar {
    flex-direction: column
  }

  .filter-group {
    min-width: unset;
    width: 100%
  }

  .cart-panel {
    width: 100%
  }

  .ies-logos-wrap {
    gap: 14px
  }
}

@media(max-width:600px) {
  #admin-panel {
    flex-direction: column
  }

  .admin-sidebar {
    width: 100% !important;
    max-height: 58px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    position: relative !important;
    height: auto !important
  }

  .admin-sidebar.sidebar-open {
    max-height: 100vh
  }

  .admin-sidebar .close-admin-btn {
    display: block
  }

  .admin-mobile-menu-btn {
    display: flex !important
  }

  .admin-main {
    overflow: auto
  }

  .admin-content {
    padding: 14px
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr !important
  }
}

/* ===== WYSIWYG EDITOR ===== */
.wysiwyg-wrap {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden
}

.wysiwyg-toolbar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 6px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px
}

.wysiwyg-toolbar button,
.wysiwyg-toolbar select {
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--gray-700);
  transition: all .15s;
  line-height: 1.4
}

.wysiwyg-toolbar button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.wysiwyg-toolbar .sep {
  width: 1px;
  background: var(--gray-200);
  margin: 0 3px;
  align-self: stretch
}

.wysiwyg-body {
  min-height: 180px;
  padding: 14px;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-900)
}

.wysiwyg-body:focus {
  background: #fafcff
}

.wysiwyg-body h1,
.wysiwyg-body h2,
.wysiwyg-body h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 12px 0 6px
}

.wysiwyg-body ul,
.wysiwyg-body ol {
  padding-left: 24px;
  margin: 8px 0
}

.wysiwyg-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 16px;
  margin: 12px 0;
  background: var(--gray-50);
  font-style: italic
}

.wysiwyg-body a {
  color: var(--primary);
  text-decoration: underline
}

.wysiwyg-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 8px 0
}

/* ===== BLOG / NEWS ===== */
.news-page {
  display: none
}

.news-page.active {
  display: block
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start
}

.article-body {
  background: #fff
}

.article-cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: block
}

.article-cover-placeholder {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.article-tag {
  background: var(--gray-100);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px
}

.article-date {
  font-size: 12px;
  color: var(--gray-500)
}

.article-author {
  font-size: 12px;
  color: var(--gray-500)
}

.article-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3
}

.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700)
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  margin: 24px 0 10px;
  font-weight: 700
}

.article-content h3 {
  font-size: 18px;
  color: var(--gray-800);
  margin: 18px 0 8px;
  font-weight: 700
}

.article-content p {
  margin-bottom: 14px
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
  margin-bottom: 14px
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 18px;
  margin: 18px 0;
  background: var(--gray-50);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 12px 0
}

/* Sidebar */
.news-sidebar {
  position: sticky;
  top: 80px
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px
}

.sidebar-card-header {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700
}

.sidebar-cats {
  padding: 10px
}

.sidebar-cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body)
}

.sidebar-cat-btn:hover,
.sidebar-cat-btn.active {
  background: var(--gray-50);
  color: var(--primary);
  font-weight: 700
}

.sidebar-news-list {
  padding: 10px
}

.sidebar-news-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
  margin-bottom: 4px
}

.sidebar-news-item:hover {
  background: var(--gray-50)
}

.sidebar-news-thumb {
  width: 52px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, .2)
}

.sidebar-news-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4
}

.sidebar-news-date {
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 3px
}

/* ===== VIDEO DEPOIMENTO ===== */
.video-depo-section {
  padding: 72px 0;
  background: var(--primary-dark)
}

.video-depo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

.video-depo-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px
}

.video-depo-text p {
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 24px
}

.video-depo-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px
}

.video-depo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  flex-shrink: 0
}

.video-depo-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff
}

.video-depo-course {
  font-size: 12px;
  color: rgba(255, 255, 255, .65)
}

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.video-embed-wrap iframe,
.video-embed-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none
}

/* ===== MODALIDADES SECTION ===== */
.modalidades-section {
  padding: 72px 0;
  background: var(--gray-50)
}

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

.modalidades-cards {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.modalidade-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer
}

.modalidade-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px)
}

.modalidade-card.presencial {
  border-left-color: #0066cc
}

.modalidade-card.semipresencial {
  border-left-color: #00994d
}

.modalidade-card.ao-vivo {
  border-left-color: #cc3300
}

.modalidade-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.modalidade-card.presencial .modalidade-icon {
  background: #e6f0ff
}

.modalidade-card.semipresencial .modalidade-icon {
  background: #e6fff2
}

.modalidade-card.ao-vivo .modalidade-icon {
  background: #ffe6e6
}

.modalidade-icon svg {
  width: 24px;
  height: 24px
}

.modalidade-card.presencial .modalidade-icon svg {
  fill: #0066cc
}

.modalidade-card.semipresencial .modalidade-icon svg {
  fill: #00994d
}

.modalidade-card.ao-vivo .modalidade-icon svg {
  fill: #cc3300
}

.modalidade-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 5px
}

.modalidade-info p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 8px
}

.modalidades-photo-wrap {
  position: relative
}

.modalidades-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-lg)
}

.modalidades-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg)
}

.modalidades-photo-placeholder span {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: rgba(255, 255, 255, .12)
}

/* ===== COURSE MODAL "VER PAGINA COMPLETA" BANNER ===== */
.modal-fullpage-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.modal-fullpage-banner p {
  font-size: 13px;
  opacity: .9;
  font-weight: 400
}

.modal-fullpage-banner strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px
}

/* ===== BANNER LINK ===== */
.banner-clickable {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%
}

/* ===== NEWS FILTERS ===== */
.news-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.news-filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-200);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
  color: var(--gray-600)
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

/* ===== ADMIN VIDEO SECTION ===== */
.video-preview-wrap {
  background: var(--gray-900);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px
}

.video-preview-wrap iframe,
.video-preview-wrap video {
  width: 100%;
  height: 100%;
  border: none
}

@media(max-width:768px) {
  .article-layout {
    grid-template-columns: 1fr
  }

  .news-sidebar {
    position: static
  }

  .video-depo-inner,
  .modalidades-inner {
    grid-template-columns: 1fr
  }

  .modal-fullpage-banner {
    flex-direction: column;
    text-align: center
  }

  .article-title {
    font-size: 22px
  }
}

/* ===== MODALIDADES CAROUSEL ===== */
.turmas-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-lg)
}

.turmas-carousel-track {
  display: flex;
  transition: transform .5s ease;
  height: 100%
}

.turmas-carousel-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0
}

.turmas-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .85);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  transition: all .2s;
  z-index: 2
}

.turmas-carousel-btn:hover {
  background: #fff;
  box-shadow: var(--shadow-md)
}

.turmas-carousel-prev {
  left: 10px
}

.turmas-carousel-next {
  right: 10px
}

.turmas-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2
}

.turmas-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: none;
  cursor: pointer;
  transition: background .2s;
  padding: 0
}

.turmas-carousel-dot.active {
  background: #fff
}

/* Dynamic modalidade cards */
.mod-card-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px
}

.mod-color-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s
}

.mod-color-btn.selected {
  border-color: var(--gray-800);
  transform: scale(1.2)
}

/* News modal overlay */
.news-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto
}

.news-modal-overlay.open {
  display: flex
}

.news-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3)
}

.news-modal-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.news-modal-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700
}

.news-modal-close {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.news-modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto
}

.news-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--gray-50)
}

/* ===== PAGINATION ===== */
.pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center
}

.page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body)
}

.page-item .page-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.page-item.active .page-link {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.page-item.disabled .page-link {
  color: var(--gray-300);
  cursor: not-allowed;
  background: var(--gray-50)
}

.page-item.disabled .page-link:hover {
  background: var(--gray-50);
  color: var(--gray-300);
  border-color: var(--gray-200)
}

.page-prev,
.page-next {
  font-size: 16px;
  font-weight: 700
}

.pagination-info {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 400
}

/* ===== CURSOS GRID (marketplace) ===== */
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.course-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.price-current {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary)
}

.price-old {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400
}

/* Filter actions */
.filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 8px
}

.filter-group-search {
  flex: 1;
  min-width: 180px
}

/* ===== COMPREHENSIVE RESPONSIVE ===== */
@media(max-width:1024px) {
  .cursos-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .modalidades-inner {
    grid-template-columns: 1fr
  }

  .modalidades-inner .modalidades-photo-wrap {
    order: -1
  }

  .courses-filter-bar {
    flex-wrap: wrap
  }

  .filter-group {
    flex: 1;
    min-width: 140px
  }

  .filter-group-search {
    min-width: 100%
  }
}

@media(max-width:768px) {
  .cursos-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .courses-filter-bar {
    flex-direction: column;
    gap: 12px
  }

  .filter-group,
  .filter-group-search {
    min-width: unset;
    width: 100%
  }

  .filter-actions {
    width: 100%;
    justify-content: space-between
  }

  /* Pagination */
  .page-item .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 8px
  }

  .pagination {
    gap: 3px
  }

  .pagination-info {
    font-size: 12px
  }

  /* Course card mobile */
  .course-card-body {
    padding: 16px
  }

  .course-name {
    font-size: 15px
  }

  .price-current {
    font-size: 16px
  }
}

@media(max-width:480px) {

  /* Pagination */
  .page-item .page-link {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
    padding: 0 6px
  }

  /* Cards stacked buttons */
  .course-card-actions {
    flex-direction: row
  }

  .course-card-actions .btn {
    font-size: 12px;
    padding: 6px 12px
  }
}

/* Banner admin fix */
.banner-img-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  background: var(--gray-50)
}

.banner-img-upload:hover {
  border-color: var(--primary);
  background: #f0f4ff
}

.banner-img-upload input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%
}

.size-note {
  display: inline-block;
  background: #e0f0ff;
  color: #0050b3;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 6px
}

@media(max-width:768px) {
  .turmas-carousel {
    aspect-ratio: 4/3
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 72px 0;
  background: var(--gray-50)
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s
}

.faq-item.open {
  box-shadow: var(--shadow-md)
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  gap: 14px;
  user-select: none
}

.faq-question h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 0
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1
}

.faq-item.open .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s
}

.faq-item.open .faq-answer {
  max-height: 600px
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 400;
  border-top: 1px solid var(--gray-100)
}

@media(max-width:768px) {
  .faq-question h4 {
    font-size: 14px
  }

  .faq-section {
    padding: 48px 0
  }
}

/* ===== BANNER CONTENT TOGGLE ===== */
.banner-content-hidden .hero-text {
  display: none
}

.hero-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55))
}

/* Course slug page */
.course-slug-page {
  min-height: 60vh
}

.slug-breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap
}

.slug-breadcrumb a {
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  text-decoration: none
}

.slug-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline
}

.slug-breadcrumb span {
  color: rgba(255, 255, 255, .5)
}

/* ===== CATEGORIAS E MODALIDADES ADMIN ===== */
.cat-mod-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cat-mod-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 14px
}

.cat-mod-item.oculto {
  opacity: .5;
  background: var(--gray-50)
}

.cat-mod-badge {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  font-family: var(--font-body);
  letter-spacing: .5px
}

.cat-mod-badge.mod {
  background: var(--success)
}

.cat-mod-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800)
}

.cat-mod-item-slug {
  font-size: 10px;
  color: var(--gray-400);
  font-family: monospace;
  margin-left: 4px
}

/* ===== CURSO DETAIL RESPONSIVE ===== */
.curso-detail-grid {
  display: flex;
  gap: 36px;
  align-items: flex-start
}

.curso-detail-grid>div:first-child {
  flex: 1;
  min-width: 0
}

.curso-detail-sidebar {
  width: 380px;
  flex-shrink: 0
}

.curso-detail-sidebar .sidebar-sticky {
  position: sticky;
  top: 100px
}

.cursos-relacionados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

@media(max-width:1024px) {
  .curso-detail-sidebar {
    width: 320px
  }

  .curso-detail-grid {
    gap: 24px
  }
}

@media(max-width:768px) {
  .curso-detail-grid {
    flex-direction: column
  }

  .curso-detail-sidebar {
    width: 100%
  }

  .curso-detail-sidebar .sidebar-sticky {
    position: static
  }

  .cursos-relacionados-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
  }
}

@media(max-width:480px) {
  .cursos-relacionados-grid {
    grid-template-columns: 1fr
  }
}

/* ===== RESPONSIVE IMAGES ===== */
.img-cover {
  width: 100%;
  object-fit: cover;
  display: block
}

.img-card {
  height: 160px
}

.img-blog {
  height: 200px
}

.img-blog-show {
  height: 180px
}

.img-banner {
  max-height: 360px
}

.img-curso-rel {
  height: 160px
}

@media(max-width:768px) {
  .about-img {
    aspect-ratio: 3/2
  }

  .img-card {
    height: 180px
  }

  .img-blog {
    height: 180px
  }

  .img-blog-show {
    height: 160px
  }

  .img-banner {
    max-height: 260px
  }

  .img-curso-rel {
    height: 140px
  }
}

@media(max-width:480px) {
  .about-img {
    aspect-ratio: 1/1
  }

  .img-card {
    height: 140px
  }

  .img-blog {
    height: 150px
  }

  .img-blog-show {
    height: 130px
  }

  .img-banner {
    max-height: 200px
  }

  .img-curso-rel {
    height: 120px
  }
}

/* ===== SEARCH NAVBAR ===== */
.nav-search-btn {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  transition: all var(--transition);
  font-family: var(--font-body);
  min-width: 200px
}

.nav-search-btn:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.nav-search-btn svg {
  flex-shrink: 0
}

.nav-search-btn span {
  opacity: .6
}

/* SEARCH MODAL */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 30, .85);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5vh;
  opacity: 0;
  visibility: hidden;
  transition: all .3s
}

.search-modal.active {
  opacity: 1;
  visibility: visible
}

.search-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 640px;
  padding: 32px;
  transform: translateY(-20px);
  transition: transform .3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  max-height: 85vh;
  overflow-y: auto
}

.search-modal.active .search-modal-box {
  transform: translateY(0)
}

.search-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px
}

.search-modal-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px
}

.search-input-wrap {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s
}

.search-input-wrap:focus-within {
  border-color: var(--primary)
}

.search-input-wrap input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body)
}

.search-input-wrap button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: background .2s
}

.search-input-wrap button:hover {
  background: var(--primary-dark)
}

.search-tags {
  margin-top: 20px
}

.search-tags h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 10px
}

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

.search-tag {
  padding: 6px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
  font-weight: 500
}

.search-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.search-ranking {
  margin-top: 22px;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px
}

.search-ranking h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 12px
}

.search-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-50)
}

.search-rank-item:last-child {
  border-bottom: none
}

.search-rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0
}

.search-rank-name {
  flex: 1;
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500
}

.search-rank-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display)
}

.mobile-search-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--gray-600);
  transition: color .2s
}

.mobile-search-btn:hover {
  color: var(--primary)
}

@media(max-width:768px) {
  .nav-search-btn {
    min-width: auto;
    padding: 8px
  }

  .nav-search-btn span {
    display: none
  }

  .mobile-search-btn {
    display: flex;
    align-items: center
  }

  .search-modal-box {
    padding: 22px
  }

  .search-modal {
    padding-top: 2vh;
    align-items: center
  }

  .search-modal-box {
    max-height: 92vh;
    padding: 18px
  }
}

/* FOOTER LINKS SECTION */
.footer-links-bar {
  background: rgba(255, 255, 255, .05);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  margin-bottom: 20px
}

.footer-links-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px
}

.footer-ext-link {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  transition: color var(--transition);
  font-weight: 400
}

.footer-ext-link:hover {
  color: #fff
}