:root {
  --purple: #12023f;
  --purple-dark: #12023f;
  --purple-soft: #5a51a8;
  --navy: #12023f;
  --charcoal: #11121b;
  --gold: #c9a84c;
  --gold-light: #e6c96d;
  --ice: #f5f5f8;
  --line: #e2e2ec;
  --text: #1a1a2e;
  --muted: #646477;
  --white: #fff;
  --shadow: 0 16px 40px rgba(42, 37, 96, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(18, 22, 40, .1);
}

.header-top {
  min-height: 94px;
  display: grid;
  grid-template-columns: 310px minmax(260px, 520px) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.brand-logo {
  width: auto;
  height: 78px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  height: 92px;
  filter: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 42px;
  border: 0;
  background: linear-gradient(135deg, #12023f, #251063);
  color: var(--white);
  box-shadow: none;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid #cbd4e3;
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
}

.site-search input {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0 48px 0 18px;
  color: #2e3447;
}

.site-search button {
  position: absolute;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #7d8da8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.student-area {
  justify-self: end;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: #12023f;
  color: #fff;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(7,31,104,.18);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  min-height: 52px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.01em;
}

.main-nav a { opacity: .9; transition: color .2s ease, opacity .2s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--gold); opacity: 1; }

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  background: #c9f4d8;
  color: #049035 !important;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cbd4e3;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--purple-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-small { min-height: 40px; padding: 0 16px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #191223;
  box-shadow: 0 16px 34px rgba(201,168,76,.28), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(201,168,76,.35), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn-outline {
  border-color: rgba(255,255,255,.22);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-outline:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(230,201,109,.38);
  transform: translateY(-1px);
}
.btn-light { background: var(--white); color: var(--purple-dark); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #080b5f;
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 420px;
  opacity: 0;
  visibility: hidden;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .14) 0%, rgba(18, 2, 63, .08) 38%, rgba(18, 2, 63, .02) 100%),
    var(--hero-image) center center / cover no-repeat,
    #12023f;
  transition: opacity .45s ease, visibility .45s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .06), transparent 52%);
  pointer-events: none;
}

.hero-slide::after {
  content: "RTX";
  position: absolute;
  right: clamp(22px, 4vw, 70px);
  bottom: 28px;
  color: rgba(255,255,255,.08);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: clamp(84px, 14vw, 190px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.04em;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-controls > button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-controls > button:hover {
  background: var(--gold);
  color: #191223;
}

.hero-dots {
  display: inline-flex;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(4, 7, 38, .36);
  backdrop-filter: blur(12px);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 28px;
  background: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  padding: 48px 0 54px;
}

.hero-content h1 {
  max-width: 690px;
}

.eyebrow {
  color: var(--gold);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

h1, h2 {
  margin: 0;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.025em;
}

h1 { margin-top: 18px; font-size: clamp(44px, 5.1vw, 64px); }
h2 { font-size: clamp(34px, 5vw, 54px); color: var(--purple-dark); }
h3 {
  margin: 0;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
p { margin: 0; }

.hero p {
  max-width: 580px;
  margin-top: 20px;
  color: rgba(255,255,255,.8);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.58;
}

.hero-actions, .section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill {
  border: 1px solid rgba(255,255,255,.14);
  padding: 9px 12px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.12);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.stats-strip {
  padding: 54px 0 58px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats-strip .stat {
  border: 0;
  padding: 8px 18px;
  box-shadow: none;
}

.stats-strip .stat strong {
  color: #000;
  font-size: clamp(34px, 3vw, 44px);
}

.stats-strip .stat span {
  color: #29364f;
  font-size: 16px;
  font-weight: 500;
}

.section { padding: 88px 0; }
.section-muted { background: var(--ice); }
.section-dark { background: var(--purple-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.course-showcase {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f6f7fb 100%);
  border-top: 1px solid var(--line);
}

.course-showcase .eyebrow { color: var(--purple); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

.section-dark .section-head p { color: rgba(255,255,255,.78); }

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

.carousel-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(61, 53, 129, .18);
  border-radius: 999px;
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 12px 28px rgba(42, 37, 96, .1);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  background: var(--purple);
  color: #fff;
}

.course-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 26px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) #e9eaf3;
}

.course-carousel::-webkit-scrollbar { height: 8px; }
.course-carousel::-webkit-scrollbar-track { background: #e9eaf3; border-radius: 999px; }
.course-carousel::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 999px; }

.testimonial-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 28px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  min-width: 0;
}

.incompany-form-panel {
  align-items: start;
}

.incompany-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(18, 2, 63, .1);
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(42,37,96,.08);
}

.incompany-form .form-full {
  grid-column: 1 / -1;
}

.incompany-form textarea {
  min-height: 150px;
}

.incompany-form .btn {
  justify-self: start;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  box-shadow: 0 8px 22px rgba(42,37,96,.06);
  padding: 26px;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); transition: .2s ease; }
.card.gold { border-left-color: var(--gold); }
.card p { color: var(--muted); margin-top: 10px; }

.stat {
  text-align: center;
  padding: 28px 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 52px;
  line-height: 1;
}

.stat span { color: var(--muted); font-weight: 700; }

.course-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(61, 53, 129, .13);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(42,37,96,.1);
  scroll-snap-align: start;
}

.course-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--purple);
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 130px;
  background: linear-gradient(180deg, rgba(42,37,96,.24), transparent);
  pointer-events: none;
}

.course-body { padding: 22px; }
.course-meta { color: var(--muted); font-size: 14px; margin: 12px 0 18px; }

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  background: rgba(61,53,129,.1);
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature {
  border: 1px solid rgba(255,255,255,.14);
  padding: 24px;
  background: rgba(255,255,255,.04);
}

.feature span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  background: var(--gold);
  color: var(--purple-dark);
  font-weight: 700;
}

.area-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.area-group {
  padding: 24px;
  border: 1px solid rgba(18, 2, 63, .1);
  border-top: 4px solid var(--purple);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fafaff);
  box-shadow: 0 14px 34px rgba(42,37,96,.08);
}

.area-group h3 {
  margin-bottom: 16px;
  color: var(--purple);
  font-size: 20px;
}

.area-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-group li {
  position: relative;
  padding: 10px 12px 10px 30px;
  border: 1px solid rgba(18, 2, 63, .08);
  border-radius: 10px;
  background: rgba(18, 2, 63, .035);
  color: #27314a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.area-group li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.person img, .testimonial-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--ice);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 700;
}

.testimonial-photo {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(18, 2, 63, .08);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 18px 42px rgba(18, 2, 63, .14);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

textarea { min-height: 130px; resize: vertical; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; }
label small {
  color: #7a8194;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer {
  background: var(--purple-dark);
  color: var(--white);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h3 { margin-bottom: 14px; color: var(--gold); font-size: 16px; }
.site-footer a, .site-footer p { display: block; color: rgba(255,255,255,.76); margin-bottom: 8px; }
.footer-brand { margin-bottom: 14px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding: 18px; text-align: center; color: rgba(255,255,255,.6); }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff;
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.page-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .9) 0%, rgba(18, 2, 63, .68) 42%, rgba(18, 2, 63, .18) 100%),
    url("../img/sobre-hero.webp") center center / cover no-repeat;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.06), rgba(18,2,63,.34));
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.trainings-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .94) 0%, rgba(18, 2, 63, .72) 43%, rgba(18, 2, 63, .18) 100%),
    url("../img/treinamentos-hero.webp") center center / cover no-repeat;
}

.trainings-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.05), rgba(18,2,63,.28));
  pointer-events: none;
}

.trainings-hero .container {
  position: relative;
  z-index: 1;
}

.incompany-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .94) 0%, rgba(18, 2, 63, .72) 43%, rgba(18, 2, 63, .18) 100%),
    url("../img/incompany-hero.webp") center center / cover no-repeat;
}

.incompany-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.05), rgba(18,2,63,.28));
  pointer-events: none;
}

.incompany-hero .container {
  position: relative;
  z-index: 1;
}

.certidoes-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .94) 0%, rgba(18, 2, 63, .72) 43%, rgba(18, 2, 63, .18) 100%),
    url("../img/certidoes-hero.webp") center center / cover no-repeat;
}

.certidoes-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.05), rgba(18,2,63,.28));
  pointer-events: none;
}

.certidoes-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .94) 0%, rgba(18, 2, 63, .72) 43%, rgba(18, 2, 63, .18) 100%),
    url("../img/contato-hero.webp") center center / cover no-repeat;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.05), rgba(18,2,63,.28));
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 2, 63, .96) 0%, rgba(18, 2, 63, .78) 52%, rgba(18, 2, 63, .42) 100%),
    url("../img/hero-default.webp") center center / cover no-repeat;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,2,63,.04), rgba(18,2,63,.34));
  pointer-events: none;
}

.privacy-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 { max-width: 820px; }
.page-hero p { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.82); }

.filters {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.sidebar-card {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.content-block + .content-block { margin-top: 22px; }
.content-block ul { padding-left: 20px; }

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background:
    linear-gradient(135deg, rgba(18, 2, 63, .96) 0%, rgba(18, 2, 63, .86) 48%, rgba(8, 10, 84, .78) 100%),
    url("../img/hero-rtx-cover.webp") center center / cover no-repeat;
}

.admin-login::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.5), transparent 72%);
  pointer-events: none;
}

.admin-login-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 430px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}

.admin-login-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 560px;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18,2,63,.1), rgba(18,2,63,.5)),
    url("../img/treinamentos-hero.webp") center center / cover no-repeat;
}

.admin-login-brand {
  position: absolute;
  top: 34px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.admin-login-brand img {
  height: 42px;
  width: auto;
}

.admin-login-copy h1 {
  max-width: 420px;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 68px);
}

.admin-login-copy p {
  max-width: 460px;
  margin-top: 18px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.admin-login-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
  background: rgba(255,255,255,.96);
}

.admin-login-head span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201,168,76,.16);
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-login-head h2 {
  font-size: 36px;
  line-height: 1;
}

.admin-login-head p {
  margin-top: 10px;
  color: var(--muted);
}

.admin-login-card label {
  gap: 9px;
  color: #3b3f55;
}

.admin-login-card input {
  min-height: 54px;
  border: 1px solid #cfd3e6;
  border-radius: 14px;
  padding: 0 16px;
  background: #fbfcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(18,2,63,.05);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.admin-login-card input:focus {
  outline: 0;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,168,76,.18), 0 12px 24px rgba(18,2,63,.08);
}

.admin-login-card .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border-radius: 14px;
}

.admin-login-flash {
  margin: 0;
  border-radius: 12px;
  background: #fff8e1;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(201,168,76,.16), transparent 28%),
    linear-gradient(135deg, #eef0f8 0%, #f8f9fc 45%, #eef1f8 100%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 22px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(18,2,63,.96), rgba(18,2,63,.9)),
    url("../img/hero-rtx-cover.webp") center center / cover no-repeat;
  color: var(--white);
  box-shadow: 16px 0 44px rgba(18,2,63,.18);
}

.admin-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}

.admin-brand img {
  height: 48px;
  width: auto;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
}

.admin-brand span {
  color: rgba(255,255,255,.86);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 800;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a,
.admin-sidebar-actions a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255,255,255,.78);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-sidebar-actions a:hover {
  transform: translateX(2px);
  border-color: rgba(230,201,109,.26);
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.admin-nav a.is-active {
  color: #201531;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.admin-sidebar-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.admin-content {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(18,2,63,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 42px rgba(42,37,96,.08);
  backdrop-filter: blur(16px);
}

.admin-topbar strong {
  display: block;
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.admin-topbar > span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18,2,63,.07);
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.admin-body .section-head {
  padding: 24px;
  border: 1px solid rgba(18,2,63,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(42,37,96,.08);
}

.admin-body .section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.admin-body .stat {
  border: 1px solid rgba(18,2,63,.08);
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 18px 42px rgba(42,37,96,.08);
}

.admin-body .stat strong {
  font-size: 48px;
}

.admin-body .content-block,
.admin-form,
.admin-body .filters,
.admin-table {
  border: 1px solid rgba(18,2,63,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 42px rgba(42,37,96,.08);
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding: 26px;
}

.admin-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-body label {
  color: #3d4054;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  min-height: 52px;
  border: 1px solid #cfd3e6;
  border-radius: 14px;
  padding: 0 15px;
  background: #fbfcff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(18,2,63,.04);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.admin-body textarea {
  min-height: 150px;
  padding: 14px 15px;
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,168,76,.18), 0 12px 24px rgba(18,2,63,.08);
}

.admin-body input[readonly] {
  color: #686a7c;
  background: #f1f3f8;
  cursor: not-allowed;
}

.admin-body input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin-right: 8px;
  accent-color: var(--gold);
  box-shadow: none;
}

.admin-body input[type="file"] {
  min-height: auto;
  padding: 12px;
}

.admin-body .filters {
  grid-template-columns: minmax(260px, 1fr) 220px auto;
  padding: 18px;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(18,2,63,.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f3f4fa;
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-table tbody tr:hover td {
  background: #faf7ed;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-order-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-order-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(18,2,63,.08);
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.admin-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(18,2,63,.12);
  border-radius: 10px;
  background: #fff;
  color: var(--purple);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(18,2,63,.06);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.admin-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201,168,76,.52);
  background: #fff8df;
}

.admin-icon-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.admin-actions .btn,
.admin-form .btn,
.admin-body .filters .btn {
  border-radius: 12px;
}

.inline-form {
  display: inline;
  margin: 0;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18,2,63,.08);
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-status.is-active,
.admin-status.is-new,
.admin-status.is-converted {
  background: rgba(4,144,53,.12);
  color: #087233;
}

.admin-status.is-draft,
.admin-status.is-progress {
  background: rgba(201,168,76,.18);
  color: #7a5b07;
}

.admin-status.is-archived,
.admin-status.is-inactive {
  background: rgba(100,100,119,.14);
  color: #56576a;
}

.flash {
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18,2,63,.08);
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 30px rgba(42,37,96,.08);
}

.flash-success {
  border-left-color: #049035;
}

.flash-error {
  border-left-color: #b42318;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 116px;
  padding: 28px;
  border: 1px solid rgba(18, 2, 63, .1);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(42,37,96,.09);
}

.privacy-summary h2 {
  margin-top: 12px;
  font-size: 31px;
  line-height: 1;
}

.privacy-summary p {
  margin-top: 16px;
  color: var(--muted);
}

.privacy-highlight {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(201,168,76,.13);
  color: var(--purple);
}

.privacy-highlight strong,
.privacy-contact-box strong {
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  line-height: 1.2;
}

.privacy-highlight span,
.privacy-contact-box span {
  color: #4e5064;
  font-size: 14px;
}

.privacy-content {
  display: grid;
  gap: 18px;
}

.privacy-card {
  position: relative;
  padding: 30px 32px 30px 96px;
  border: 1px solid rgba(18, 2, 63, .1);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(42,37,96,.06);
}

.privacy-card > span {
  position: absolute;
  left: 30px;
  top: 30px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--purple);
  color: var(--gold-light);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-weight: 800;
}

.privacy-card h2 {
  font-size: 28px;
  line-height: 1.05;
}

.privacy-card p {
  margin-top: 14px;
  color: #3a3d4d;
}

.privacy-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-card li {
  position: relative;
  padding-left: 20px;
  color: #3a3d4d;
}

.privacy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.privacy-contact {
  border-top: 4px solid var(--gold);
}

.privacy-contact-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 10px;
  background: #f7f3e6;
}

.privacy-contact-box a {
  color: var(--purple);
  font-weight: 800;
}

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

.certificate-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(18, 2, 63, .1);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(42,37,96,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.certificate-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,.5);
  box-shadow: 0 20px 44px rgba(42,37,96,.13);
}

.certificate-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(201,168,76,.14);
  color: var(--purple);
  font-family: "Inter Tight", Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.certificate-content h3 {
  color: var(--purple);
}

.certificate-content p {
  margin-top: 10px;
  color: var(--muted);
}

.certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.certificate-actions .btn-light {
  border-color: var(--line);
  color: var(--purple);
}

.certificate-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(18, 2, 63, .22);
  background: var(--white);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-top {
    min-height: 88px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .site-search, .student-area { display: none; }
  .brand-logo { height: 68px; }
  .main-nav {
    position: fixed;
    inset: 126px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    background: #fff;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: var(--text);
    box-shadow: 0 20px 34px rgba(18, 22, 40, .12);
  }
  .main-nav.is-open { display: flex; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .course-detail, .filters, .form-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-carousel {
    grid-auto-columns: minmax(280px, 86vw);
  }
  .incompany-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .admin-login {
    padding: 20px;
  }
  .admin-login-panel {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .admin-login-copy {
    min-height: 300px;
    padding: 96px 26px 28px;
  }
  .admin-login-brand {
    top: 24px;
    left: 24px;
  }
  .admin-login-card {
    padding: 28px 24px 30px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }
  .admin-brand img {
    height: 42px;
  }
  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-sidebar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }
  .admin-content {
    padding: 18px;
  }
  .admin-topbar,
  .admin-body .section-head {
    display: grid;
    align-items: start;
  }
  .admin-form .row {
    grid-template-columns: 1fr;
  }
  .admin-body .filters {
    grid-template-columns: 1fr;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-summary { position: static; }
  .privacy-card {
    padding: 24px;
  }
  .privacy-card > span {
    position: static;
    margin-bottom: 16px;
  }
  .certificates-grid { grid-template-columns: 1fr; }
  .area-groups { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .hero {
    min-height: 430px;
  }
  .hero-slide {
    min-height: 430px;
    background:
      linear-gradient(90deg, rgba(18, 2, 63, .18) 0%, rgba(18, 2, 63, .08) 46%, rgba(18, 2, 63, .02) 100%),
      var(--hero-image) center center / cover no-repeat,
      #12023f;
  }
  .hero-content {
    max-width: 100%;
    padding: 36px 0 40px;
  }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.52;
  }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 11px;
  }
  .credibility {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }
  .pill {
    padding: 8px 9px;
    font-size: 9px;
  }
}
