/* ==========================================================================
   UniFil Técnicos — Folha de estilo principal
   Centro Universitário Filadélfia – UniFil
   --------------------------------------------------------------------------
   Sumário
   01. Fontes e ícones
   02. Design tokens
   03. Base e utilitários
   04. Botões
   05. Header e navegação
   06. Hero (tema escuro — padrão)
   06-A. Hero (tema claro — alternativa)
   07. Faixa de informações
   08. Sobre
   09. Benefícios
   10. Cursos
   11. Curso — apresentação detalhada
   12. Certificação
   13. Grade curricular
   14. Público-alvo
   15. Dúvidas frequentes
   16. Ingresso e matrícula
   17. Fale conosco
   18. Chamada final
   19. Footer
   20. Ações flutuantes
   21. Animações e acessibilidade
   22. Responsividade
   ========================================================================== */

/* 01. Fontes e ícones ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* 02. Design tokens ======================================================== */
:root {
  /* Marca */
  --orange: #FF8040;
  --orange-light: #FE9252;
  --gray: #586169;
  --gray-light: #C2CDD6;
  --green: #1BBC9B;
  --green-light: #6DD7BD;

  /* Derivados neutros (apoio à leitura) */
  --ink: #232B31;
  --ink-deep: #12181D;
  --paper: #FFFFFF;
  --paper-soft: #F7F9FA;
  --paper-tint: #FFF8F4;

  /* Tons de leitura (contraste AA sobre fundos claros) */
  --orange-text: #FF8040;
  --gray-text: #5F6A72;
  --green-text: #0B7A66;

  /* Gradientes */
  --grad-orange: linear-gradient(135deg, #FF8040 0%, #FE9252 100%);
  --grad-green: linear-gradient(135deg, #1BBC9B 0%, #6DD7BD 100%);
  --grad-brand: linear-gradient(120deg, #FF8040 0%, #FE9252 55%, #1BBC9B 130%);

  /* Sombras */
  --shadow-xs: 0 2px 8px rgba(35, 43, 49, .05);
  --shadow-sm: 0 10px 26px -18px rgba(35, 43, 49, .35);
  --shadow-md: 0 22px 48px -30px rgba(35, 43, 49, .45);
  --shadow-lg: 0 42px 80px -46px rgba(35, 43, 49, .55);
  --shadow-orange: 0 18px 34px -18px rgba(255, 128, 64, .7);

  /* Raios */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Layout */
  --header-h: 84px;
  --section-y: clamp(72px, 8.5vw, 128px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 03. Base e utilitários =================================================== */
* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--gray);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-text); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--orange-light); }

img, svg { max-width: 100%; height: auto; }
img { display: block; }

::selection { background: rgba(255, 128, 64, .22); color: var(--ink); }

.container {
  padding-inline: 20px;
  max-width: 1264px;
}

@media (min-width: 768px) { .container { padding-inline: 28px; } }

.section {
  position: relative;
  padding: var(--section-y) 0;
}

/* Títulos de seção */
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.section-title--light { color: #fff; }

.section-lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  font-weight: 300;
  color: var(--gray);
  line-height: 1.75;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-orange);
  flex: none;
}

.eyebrow--light { color: var(--orange-light); }
.eyebrow--light > span { background: linear-gradient(90deg, var(--orange-light), rgba(254, 146, 82, .2)); }

.text-gradient {
  background: linear-gradient(100deg, #FF8040 8%, #FE9252 42%, #FFB07A 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(15px) saturate(200%);
  backdrop-filter: blur(15px) saturate(200%);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .6);
}

.sr-only-heading {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 12px 20px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); color: #fff; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-light) 55%, var(--green));
  border-radius: 0 3px 3px 0;
  transition: width .12s linear;
}

/* Atraso das animações de entrada ------------------------------------------
   Substituem os antigos atributos style="--reveal-delay" do HTML.
   Uso: <div class="reveal-delay-15" data-reveal>.                            */
.reveal-delay-05 { --reveal-delay: .05s; }
.reveal-delay-08 { --reveal-delay: .08s; }
.reveal-delay-10 { --reveal-delay: .10s; }
.reveal-delay-14 { --reveal-delay: .14s; }
.reveal-delay-15 { --reveal-delay: .15s; }
.reveal-delay-16 { --reveal-delay: .16s; }
.reveal-delay-20 { --reveal-delay: .20s; }
.reveal-delay-24 { --reveal-delay: .24s; }

/* 04. Botões =============================================================== */
.btn {
  --bs-btn-focus-box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-lg);
  font-family: inherit;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.2;
  padding: 14px 26px;
  border: 1px solid transparent;
  text-align: center;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), filter .28s var(--ease);
}

.btn i { font-size: 1.15em; line-height: 1; }

.btn:focus-visible {
  outline: 3px solid rgba(255, 128, 64, .55);
  outline-offset: 3px;
}

.btn-brand {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(255, 128, 64, .8);
  filter: brightness(1.03);
}
.btn-brand:active { transform: translateY(0); }

.btn-glass {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-glass:hover,
.btn-glass:focus {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-solid {
  background: #fff;
  color: var(--orange-text);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .5);
}
.btn-light-solid:hover,
.btn-light-solid:focus {
  color: #8F3A10;
  transform: translateY(-2px);
  box-shadow: 0 26px 46px -20px rgba(0, 0, 0, .55);
}

.btn-outline-brand {
  background: transparent;
  border-color: rgba(185, 80, 26, .4);
  color: var(--orange-text);
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--paper-tint);
  border-color: var(--orange-text);
  color: #8F3A10;
  transform: translateY(-2px);
}

.btn-link-arrow {
  color: var(--gray);
  font-weight: 500;
  font-size: .92rem;
  padding: 10px 2px;
  border-radius: 6px;
  gap: 8px;
}
.btn-link-arrow:hover { color: var(--orange-text); }
.btn-link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }

.btn-lg { padding: 17px 32px; font-size: 1rem; }

/* 05. Header e navegação =================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 20px 0;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  position: relative;
  display: block;
  height: 38px;
  flex: none;
  width: clamp(200px, 22vw, 267px);
}

.brand__logo {
  position: absolute;
  inset: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity .4s var(--ease);
}

.brand__logo--light { opacity: 1; }
.brand__logo--dark { opacity: 0; }

.site-header.is-scrolled {
  padding: 11px 0;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(15px) saturate(200%);
  backdrop-filter: blur(15px) saturate(200%);
  box-shadow: 0 12px 32px -24px rgba(35, 43, 49, .5);
  border-bottom-color: rgba(194, 205, 214, .45);
}

.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.site-nav__link:hover { color: #fff; }
.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: #fff; }

.site-header.is-scrolled .site-nav__link { color: var(--gray); }
.site-header.is-scrolled .site-nav__link:hover,
.site-header.is-scrolled .site-nav__link.is-active { color: var(--ink); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-cta { padding: 12px 22px; font-size: .875rem; }
.header-cta i { font-size: 1.3rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 70%; }
.nav-toggle:hover span:nth-child(2) { width: 100%; }

.site-header.is-scrolled .nav-toggle { border-color: rgba(88, 97, 105, .25); background: rgba(88, 97, 105, .05); }
.site-header.is-scrolled .nav-toggle span { background: var(--gray); }

/* Menu mobile */
.mobile-menu {
  --bs-offcanvas-width: min(88vw, 400px);
  border-left: 0;
  background: #fff;
}

.mobile-menu .offcanvas-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(194, 205, 214, .5);
  align-items: center;
}
.mobile-menu .brand { height: 30px; width: 200px; }
.mobile-menu .brand__logo--dark { opacity: 1; position: static; height: 30px; width: auto; }
.mobile-menu .btn-close { opacity: .55; }
.mobile-menu .btn-close:hover { opacity: 1; }

.mobile-menu .offcanvas-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 10px;
}

.mobile-menu__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.mobile-menu__list li { border-bottom: 1px solid rgba(194, 205, 214, .45); }

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu__list a i {
  font-size: 1rem;
  color: var(--gray-light);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.mobile-menu__list a:hover { color: var(--orange); }
.mobile-menu__list a:hover i { color: var(--orange); transform: translate(2px, -2px); }

.mobile-menu__actions { display: grid; gap: 10px; margin-bottom: 26px; }
.mobile-menu__actions .btn { width: 100%; }

.mobile-menu__contact {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(194, 205, 214, .5);
  font-size: .875rem;
}
.mobile-menu__contact a { display: flex; align-items: center; gap: 10px; color: var(--gray); }
.mobile-menu__contact i { color: var(--orange); }

/* 06. Hero ================================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 clamp(56px, 6vw, 84px);
  background: radial-gradient(120% 100% at 78% 0%, #324C4C 0%, #1C2126 45%, #12161A 100%);
  color: #fff;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}

.hero__glow--orange {
  width: 46vw;
  height: 46vw;
  min-width: 340px;
  min-height: 340px;
  top: -14%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 128, 64, .55), transparent 85%);
  animation: glowFloat 16s ease-in-out infinite alternate;
}

.hero__glow--steel {
  width: 38vw;
  height: 38vw;
  min-width: 280px;
  min-height: 280px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(194, 205, 214, .26), transparent 70%);
  animation: glowFloat 20s ease-in-out infinite alternate-reverse;
}

.hero__dots {
  position: absolute;
  top: 18%;
  left: 4%;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%);
  mask-image: radial-gradient(circle, #000 25%, transparent 72%);
  opacity: .7;
}

.hero__arc {
  position: absolute;
  top: 4%;
  right: 2%;
  width: min(58vw, 720px);
  opacity: .5;
}

.hero__inner { position: relative; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 26px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 128, 64, .2);
  flex: none;
}

.hero__title {
  font-size: clamp(2.35rem, 5.9vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  color: #fff;
  max-width: 15ch;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 26px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8);
  max-width: 54ch;
}

.hero__note {
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .55);
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__media {
  position: relative;
  margin: 0;
  max-width: 520px;
  margin-inline: auto;
}

.hero__media-frame {
  position: relative;
  border-radius: 32px 32px 32px 128px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}

.hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: -16px -16px 28px 28px;
  border: 1px solid rgba(255, 128, 64, .32);
  border-radius: 44px 44px 44px 140px;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  margin: 0;
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
  background: rgba(18, 24, 29, .55);
}
.hero__badge .material-symbols-outlined { font-size: 18px; color: var(--orange-light); }

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #fff;
  background: rgba(18, 24, 29, .58);
}

.hero__float i {
  font-size: 1.35rem;
  color: var(--orange-light);
  flex: none;
}

.hero__float div { display: flex; flex-direction: column; line-height: 1.2; }
.hero__float strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.hero__float span { font-size: .72rem; color: rgba(255, 255, 255, .68); }

.hero__float--hours { top: 32px; right: -18px; }
.hero__float--months { bottom: 96px; left: -26px; }

/* Hero da página do curso ================================================= */
.hero--course {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(52px, 6vw, 80px);
}

.breadcrumb-nav { position: relative; margin-bottom: 26px; }
.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .78rem;
  letter-spacing: .01em;
}
.breadcrumb-nav li { display: flex; align-items: center; gap: 10px; }
.breadcrumb-nav li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .25);
}
.breadcrumb-nav a {
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav [aria-current="page"] { color: #fff; font-weight: 500; }

.hero__title--course { max-width: 18ch; }

.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.course-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  font-size: .8rem;
  color: rgba(255, 255, 255, .88);
}
.course-hero__chip i { color: var(--orange-light); font-size: .95rem; }

.hero--course .hero__media { max-width: 560px; }
.hero--course .hero__media-frame {
  aspect-ratio: 5 / 4;
  border-radius: 28px 28px 28px 96px;
}
.hero--course .hero__media-frame img { object-position: center; }
.hero--course .hero__media::before { border-radius: 40px 40px 40px 108px; }

/* Página do curso ========================================================= */
.course-page { padding-top: clamp(44px, 5vw, 68px); }
.course-page .course-detail {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* 06-A. Hero — tema claro (alternativa) ===================================
   Ativado pela classe .hero-theme--light no <body>. O markup é o mesmo da
   versão escura: mudam apenas superfícies, cores de texto e sombras.
   As duas versões ficam disponíveis no projeto: a troca pode ser feita
   pelo alternador (seção 20-A) ou pela classe fixada no <body>.           */

.hero-theme--light .hero {
  /* Nuvem clara no centro que se dissolve em branco nas duas pontas,
     evitando uma faixa dura na transição com a seção seguinte. */
  background:
    radial-gradient(110% 85% at 84% 4%, rgba(255, 128, 64, .08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFB 30%, #ECF1F4 66%, #FFFFFF 100%);
  color: var(--ink);
}

/* Brilhos e textura */
.hero-theme--light .hero__glow--orange {
  background: radial-gradient(circle, rgba(255, 128, 64, .22), transparent 68%);
  opacity: .85;
}
.hero-theme--light .hero__glow--steel {
  background: radial-gradient(circle, rgba(194, 205, 214, .55), transparent 72%);
  opacity: .75;
}
.hero-theme--light .hero__dots {
  background-image: radial-gradient(rgba(35, 43, 49, .14) 1px, transparent 1px);
  opacity: .5;
}
.hero-theme--light .hero__arc { opacity: .3; }

/* Textos */
.hero-theme--light .hero__eyebrow {
  border-color: rgba(35, 43, 49, .12);
  background: rgba(255, 255, 255, .82);
  color: var(--gray-text);
  box-shadow: 0 12px 26px -24px rgba(35, 43, 49, .9);
}
.hero-theme--light .hero__title { color: var(--ink); }
.hero-theme--light .hero__lead { color: var(--gray-text); }
.hero-theme--light .hero__note { color: #6B757D; }

/* Destaque em gradiente com tons mais fechados (contraste AA sobre branco) */
.hero-theme--light .text-gradient {
  background: linear-gradient(100deg, #FF8040 8%, #FE9252 42%, #FFB07A 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Botão secundário (vidro escuro no tema dark, cartão branco no claro) */
.hero-theme--light .btn-glass {
  background: #FFFFFF;
  border-color: rgba(35, 43, 49, .16);
  color: var(--ink);
  box-shadow: 0 18px 34px -30px rgba(35, 43, 49, .9);
}
.hero-theme--light .btn-glass:hover,
.hero-theme--light .btn-glass:focus {
  background: #FFFFFF;
  border-color: rgba(255, 128, 64, .55);
  color: var(--ink);
}

/* Imagem e cartões flutuantes */
.hero-theme--light .hero__media-frame {
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 44px 80px -46px rgba(35, 43, 49, .5);
}
.hero-theme--light .hero__media::before { border-color: rgba(255, 128, 64, .4); }

.hero-theme--light .hero__badge {
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(194, 205, 214, .85);
  color: var(--ink);
  box-shadow: 0 18px 34px -30px rgba(35, 43, 49, .85);
}
.hero-theme--light .hero__badge .material-symbols-outlined { color: var(--orange-text); }

.hero-theme--light .hero__float {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(194, 205, 214, .8);
  color: var(--ink);
  box-shadow: 0 24px 46px -32px rgba(35, 43, 49, .85);
}
.hero-theme--light .hero__float i { color: var(--orange-text); }
.hero-theme--light .hero__float span { color: var(--gray-text); }

/* Faixa de informações: precisa de contorno sobre fundo claro */
.hero-theme--light .facts {
  border: 1px solid rgba(194, 205, 214, .6);
  box-shadow: 0 26px 50px -42px rgba(35, 43, 49, .45);
}

/* Cabeçalho sobre a hero clara (antes da rolagem) */
.hero-theme--light .site-header:not(.is-scrolled) .brand__logo--light { opacity: 0; }
.hero-theme--light .site-header:not(.is-scrolled) .brand__logo--dark { opacity: 1; }
.hero-theme--light .site-header:not(.is-scrolled) .site-nav__link { color: var(--gray); }
.hero-theme--light .site-header:not(.is-scrolled) .site-nav__link:hover,
.hero-theme--light .site-header:not(.is-scrolled) .site-nav__link.is-active { color: var(--ink); }
.hero-theme--light .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(35, 43, 49, .18);
  background: rgba(35, 43, 49, .03);
}
.hero-theme--light .site-header:not(.is-scrolled) .nav-toggle span { background: var(--ink); }

/* Página do curso sobre a hero clara */
.hero-theme--light .breadcrumb-nav a { color: var(--gray); }
.hero-theme--light .breadcrumb-nav a:hover { color: var(--ink); }
.hero-theme--light .breadcrumb-nav li + li::before { color: rgba(35, 43, 49, .32); }
.hero-theme--light .breadcrumb-nav [aria-current="page"] { color: var(--ink); }
.hero-theme--light .course-hero__chip {
  background: #FFFFFF;
  border-color: rgba(194, 205, 214, .85);
  color: var(--gray-text);
}
.hero-theme--light .course-hero__chip i { color: var(--orange-text); }

/* 07. Faixa de informações ================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: clamp(44px, 5vw, 68px);
  padding: 8px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .55);
}

.facts__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--r-md);
  transition: background-color .3s var(--ease);
}
.facts__item:hover { background: var(--paper-soft); }

.facts__item i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--paper-tint);
  color: var(--orange);
  font-size: 1.1rem;
}
.facts__item:nth-child(even) i { background: rgba(27, 188, 155, .1); color: var(--green); }

.facts__item div { display: flex; flex-direction: column; line-height: 1.3; }
.facts__item strong { font-size: .95rem; font-weight: 700; color: var(--ink); }
.facts__item span { font-size: .78rem; color: var(--gray); }

/* 08. Sobre ================================================================ */
.sobre { padding-top: clamp(56px, 7vw, 100px); }

.sobre__media {
  position: relative;
  margin: 0 0 32px;
}

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

.sobre__shape {
  position: absolute;
  inset: -26px auto auto -26px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--grad-green);
  opacity: .22;
  z-index: -1;
}

.sobre__stat {
  position: absolute;
  right: 18px;
  bottom: -26px;
  width: min(240px, 68%);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  -webkit-backdrop-filter: blur(15px) saturate(200%);
  backdrop-filter: blur(15px) saturate(200%);
}
.sobre__stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sobre__stat span { display: block; margin-top: 6px; font-size: .78rem; line-height: 1.5; color: var(--gray); }

.sobre__text { margin-top: 4px; }
.sobre__text p { font-size: 1rem; line-height: 1.8; color: var(--gray); }

.sobre__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.sobre__list li { display: flex; gap: 16px; }

.sobre__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--paper-tint);
  color: var(--orange);
  font-size: 1.15rem;
  border: 1px solid rgba(255, 128, 64, .14);
}

.sobre__list h3 { font-size: 1rem; margin-bottom: 4px; }
.sobre__list p { font-size: .9rem; line-height: 1.65; color: var(--gray); }

/* 09. Benefícios =========================================================== */
.benefits {
  background: var(--paper-soft);
  overflow: hidden;
}

.benefits__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.benefits__blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -30%;
  right: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 215, 189, .22), transparent 68%);
  filter: blur(20px);
}

.benefits__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 205, 214, .8), transparent);
}

.benefits__grid { position: relative; }

.benefit-card {
  position: relative;
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid rgba(194, 205, 214, .42);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 128, 64, .35);
}

.benefit-card__number {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(165deg, rgba(88, 97, 105, .34), rgba(88, 97, 105, .1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: opacity .4s var(--ease);
}
.benefit-card:hover .benefit-card__number {
  background: linear-gradient(165deg, rgba(255, 128, 64, .55), rgba(255, 128, 64, .16));
  -webkit-background-clip: text;
  background-clip: text;
}

.benefit-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 128, 64, .14), rgba(254, 146, 82, .06));
  border: 1px solid rgba(255, 128, 64, .18);
  color: var(--orange);
  font-size: 1.4rem;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}

.benefit-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.benefit-card p { font-size: .92rem; line-height: 1.65; color: var(--gray); }

.benefit-card__glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.benefit-card:hover .benefit-card__glow { transform: scaleX(1); }

/* Ajuste de alternância de cor dos ícones por coluna do grid */
.benefits__grid > div:nth-child(2n) .benefit-card__icon {
  background: linear-gradient(145deg, rgba(27, 188, 155, .14), rgba(109, 215, 189, .06));
  border-color: rgba(27, 188, 155, .2);
  color: var(--green);
}

/* 10. Cursos =============================================================== */
.courses { background: #fff; }

.course-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(194, 205, 214, .45);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.course-feature:hover { box-shadow: var(--shadow-lg); }

.course-feature__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.course-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.course-feature:hover .course-feature__media img { transform: scale(1.04); }

.course-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 29, .28) 0%, transparent 42%, rgba(18, 24, 29, .18) 100%);
  pointer-events: none;
}

.course-feature__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .6);
}
.course-feature__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 188, 155, .18);
}

.course-feature__body { padding: clamp(26px, 4vw, 48px); }

.course-feature__area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.course-feature__area i { font-size: 1rem; }

.course-feature__body h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.course-feature__desc { font-size: .96rem; line-height: 1.75; color: var(--gray); }

.course-feature__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(194, 205, 214, .5);
  border-bottom: 1px solid rgba(194, 205, 214, .5);
}

.course-feature__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  color: var(--gray);
}
.course-feature__specs i { color: var(--orange); font-size: 1.05rem; flex: none; }
.course-feature__specs strong { color: var(--ink); font-weight: 700; }

.course-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

/* 11. Curso — apresentação detalhada ======================================= */
.course-detail {
  margin-top: clamp(56px, 7vw, 92px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(194, 205, 214, .55);
}

.course-detail__intro { position: relative; }

.course-detail__title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.course-detail__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}

.course-detail__intro p:not(.eyebrow):not(.course-detail__subtitle) {
  font-size: .98rem;
  line-height: 1.8;
  color: var(--gray);
}

.course-detail__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.course-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-detail__media-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid rgba(194, 205, 214, .5);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
}
.course-detail__media-caption i { color: var(--green); font-size: 1.05rem; }

/* Informações gerais */
.course-info { margin-top: clamp(36px, 4vw, 52px); }

.course-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-info__grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px;
  background: var(--paper-soft);
  border: 1px solid rgba(194, 205, 214, .4);
  border-radius: var(--r-sm);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.course-info__grid li:hover {
  background: #fff;
  border-color: rgba(255, 128, 64, .3);
  transform: translateY(-2px);
}

.course-info__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(194, 205, 214, .5);
  color: var(--orange);
  font-size: .95rem;
}

.course-info__grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.course-info__label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.course-info__grid strong { font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* Objetivo */
.course-objective {
  position: relative;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 55%);
  border: 1px solid rgba(255, 128, 64, .18);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.course-objective::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-orange);
}

.course-objective__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--shadow-orange);
}

.course-objective__body :is(h3, h4) {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.course-objective__body p { font-size: .96rem; line-height: 1.8; color: var(--gray); }

/* 12. Certificação ========================================================= */
.certification {
  position: relative;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 85% 0%, #2A363E 0%, #1B242A 48%, #141B20 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.certification__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 46%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 128, 64, .3), transparent 68%);
  filter: blur(50px);
  z-index: -1;
}

.certification__head { max-width: 760px; }
.certification__head :is(h3, h4) {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  margin-bottom: 16px;
  letter-spacing: -.025em;
}
.certification__head p { color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.8; }

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  list-style: none;
  margin: clamp(34px, 4vw, 48px) 0 0;
  padding: 0;
}

.timeline__step { position: relative; padding-left: 74px; }

.timeline__dot {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 0 0 6px rgba(255, 128, 64, .12);
  z-index: 2;
}

.timeline__badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-light);
}

.timeline__step :is(h4, h5) {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.timeline__step p { font-size: .92rem; color: rgba(255, 255, 255, .72); line-height: 1.7; }

/* Linha vertical (mobile) */
.timeline__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -30px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 128, 64, .5), rgba(255, 255, 255, .12));
  border-radius: 2px;
}

/* 13. Grade curricular ===================================================== */
.grade {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3.6vw, 44px);
  background: var(--paper-soft);
  border: 1px solid rgba(194, 205, 214, .45);
  border-radius: var(--r-xl);
}

.grade__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.grade__head > div:first-child { max-width: 620px; }

.grade__head :is(h3, h4) {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.grade__subtitle { font-size: .94rem; line-height: 1.75; color: var(--gray); margin: 0; }

.grade__download { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.grade__download .btn { white-space: normal; text-align: left; }

.grade-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(194, 205, 214, .5);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
}

.grade-summary__total { display: flex; flex-direction: column; gap: 2px; }
.grade-summary__total strong {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grade-summary__total span { font-size: .82rem; color: var(--gray); }

.grade-summary__bars { display: grid; gap: 12px; }

.grade-bar__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .8rem;
  color: var(--gray);
}
.grade-bar__top b { font-size: .82rem; font-weight: 700; color: var(--ink); }

.grade-bar__track {
  height: 8px;
  border-radius: var(--r-lg);
  background: #EDF2F4;
  overflow: hidden;
}

.grade-bar__fill {
  display: block;
  height: 100%;
  /* Largura definida pelo JS a partir das tabelas (--bar-value). */
  width: var(--bar-value, 0%);
  border-radius: inherit;
  background: var(--grad-orange);
  transition: width 1.1s var(--ease);
}
.grade-bar:nth-child(2) .grade-bar__fill { background: linear-gradient(90deg, #FE9252, #FFB98F); }
.grade-bar:nth-child(3) .grade-bar__fill { background: linear-gradient(90deg, #FF8040, #FE9252); }

.grade-summary__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(194, 205, 214, .45);
  font-size: .78rem;
  color: var(--gray);
}
.grade-summary__legend li { display: inline-flex; align-items: center; gap: 8px; }

.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--orange { background: var(--orange); }
.dot--green { background: var(--green); }
.dot--gray { background: var(--gray-light); }

/* Acordeão dos módulos */
.grade-accordion { display: grid; gap: 12px; }

.grade-module {
  border: 1px solid rgba(194, 205, 214, .55) !important;
  border-radius: var(--r-md) !important;
  background: #fff;
  overflow: hidden;
}

.grade-module .accordion-header { margin: 0; }

.grade-module .accordion-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "index title arrow"
    "index count arrow";
  align-items: center;
  gap: 2px 14px;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  box-shadow: none;
  transition: background-color .3s var(--ease);
}

.grade-module .accordion-button:not(.collapsed) { background: #fff; color: var(--ink); box-shadow: none; }
.grade-module .accordion-button:hover { background: var(--paper-soft); }
.grade-module .accordion-button:focus-visible {
  outline: 3px solid rgba(255, 128, 64, .5);
  outline-offset: -3px;
  box-shadow: none;
}

.grade-module .accordion-button::after {
  grid-area: arrow;
  margin: 0 0 0 10px;
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  opacity: .55;
}

.grade-module__index {
  grid-area: index;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-tint);
  border: 1px solid rgba(255, 128, 64, .2);
  color: var(--orange-text);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.grade-module__title { grid-area: title; font-size: 1rem; font-weight: 700; color: var(--ink); }
.grade-module__meta { grid-area: meta; font-size: .78rem; font-weight: 500; color: var(--green-text); white-space: nowrap; }
.grade-module__count { grid-area: count; font-size: .78rem; color: var(--gray-text); }

.grade-module .accordion-body { padding: 0 14px 18px; }

.grade-table-wrap { border-radius: var(--r-sm); }

.grade-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--gray);
  width: 100%;
  margin: 0;
  font-size: .9rem;
  border-color: rgba(194, 205, 214, .5);
}

.grade-table thead th {
  padding: 12px 14px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-text);
  background: var(--paper-soft);
  border-bottom: 1px solid rgba(194, 205, 214, .6);
  white-space: nowrap;
}

.grade-table tbody th,
.grade-table tbody td { padding: 13px 14px; border-color: rgba(194, 205, 214, .35); }

.grade-table tbody th {
  font-weight: 400;
  color: var(--ink);
  font-size: .92rem;
}

.grade-table tbody tr { transition: background-color .25s var(--ease); }
.grade-table tbody tr:hover { background: rgba(255, 248, 244, .7); }

.grade-table tbody td { color: var(--gray-text); font-variant-numeric: tabular-nums; }
.grade-table tbody td strong { color: var(--ink); font-weight: 700; }

.grade-table tr.is-internship { background: rgba(27, 188, 155, .045); }
.grade-table tr.is-internship th { box-shadow: inset 3px 0 0 var(--green); }
.grade-table tr.is-internship:hover { background: rgba(27, 188, 155, .08); }

.grade-table tfoot th,
.grade-table tfoot td {
  padding: 14px;
  background: #FFF6F0;
  border-top: 1px solid rgba(255, 128, 64, .25);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 500;
}
.grade-table tfoot th { text-transform: none; letter-spacing: 0; }
.grade-table tfoot strong { font-size: 1rem; font-weight: 700; color: var(--orange-text); }

.badge-ead {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(27, 188, 155, .12);
  border: 1px solid rgba(27, 188, 155, .25);
  color: #0A6B58;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  vertical-align: middle;
}

.badge-stage {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 128, 64, .12);
  border: 1px solid rgba(255, 128, 64, .25);
  color: #9C4413;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.grade__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(194, 205, 214, .5);
}

.grade__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 560px;
  margin: 0;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--gray-text);
}
.grade__note i { color: var(--orange); font-size: .95rem; margin-top: 2px; flex: none; }

/* 14. Público-alvo ========================================================= */
.public { background: #fff; overflow: hidden; }

.public__text { font-size: 1rem; line-height: 1.8; color: var(--gray); }

.public__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.public__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--r-lg);
  background: var(--paper-soft);
  border: 1px solid rgba(194, 205, 214, .55);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink);
}
.public__list i { color: var(--green); font-size: .95rem; }

.public__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.public__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.public__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .9);
}
.public__badge i { color: var(--orange); font-size: 1rem; }

/* 15. Dúvidas frequentes =================================================== */
.faq { background: var(--paper-soft); }

.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }

.faq__help {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border-color: rgba(194, 205, 214, .6);
  box-shadow: var(--shadow-sm);
}
.faq__help > i { font-size: 1.6rem; color: var(--orange); }
.faq__help p { margin: 10px 0 16px; font-size: .92rem; font-weight: 500; color: var(--ink); }

.faq-accordion { display: grid; gap: 10px; }

.faq-accordion .accordion-item {
  border: 1px solid rgba(194, 205, 214, .55);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-accordion .accordion-item:hover { border-color: rgba(255, 128, 64, .35); }
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(255, 128, 64, .4);
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-header { margin: 0; }

.faq-accordion .accordion-button {
  padding: 20px 22px;
  background: #fff;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  box-shadow: none;
  gap: 16px;
}
.faq-accordion .accordion-button:not(.collapsed) { background: #fff; color: var(--orange-text); }
.faq-accordion .accordion-button:hover { background: #FFFCFA; }
.faq-accordion .accordion-button:focus-visible {
  outline: 3px solid rgba(255, 128, 64, .5);
  outline-offset: -3px;
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  width: 1.05rem;
  height: 1.05rem;
  background-size: 1.05rem;
  opacity: .5;
  flex: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after { opacity: .9; }

.faq-accordion .accordion-body {
  padding: 0 22px 22px;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--gray);
}
.faq-accordion .accordion-body p { margin-bottom: 10px; }
.faq-accordion .accordion-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list-check li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  line-height: 1.65;
}
.list-check li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: .9rem;
}

/* 16. Ingresso e matrícula ================================================= */
.ingresso { background: #fff; }

.status-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #FFF8F3 0%, #FFFFFF 60%);
  border: 1px solid rgba(255, 128, 64, .22);
  box-shadow: var(--shadow-sm);
}

.status-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: var(--r-lg);
  background: rgba(255, 128, 64, .12);
  color: #9C4413;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-card h3 { font-size: 1.45rem; margin-bottom: 10px; letter-spacing: -.025em; }
.status-card p { font-size: .92rem; line-height: 1.7; margin-bottom: 22px; }
.status-card .btn { margin-top: auto; }

.docs-card {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid rgba(194, 205, 214, .55);
  box-shadow: var(--shadow-sm);
}

.docs-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }

.docs-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: rgba(27, 188, 155, .1);
  border: 1px solid rgba(27, 188, 155, .2);
  color: var(--green);
  font-size: 1.25rem;
}

.docs-card__head h3 { font-size: 1.2rem; margin-bottom: 4px; }
.docs-card__head p { margin: 0; font-size: .88rem; color: var(--gray); }
.docs-card__head strong { color: var(--ink); }

.docs-card__list {
  display: grid;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-card__list li {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--gray);
}
.docs-card__list i {
  flex: none;
  margin-top: 3px;
  color: var(--green);
  font-size: .95rem;
}

/* 17. Fale conosco ========================================================= */
.contact {
  position: relative;
  background: radial-gradient(110% 120% at 15% 0%, #232E35 0%, #182026 48%, #12181D 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.contact__glow {
  position: absolute;
  width: 52vw;
  height: 52vw;
  min-width: 320px;
  min-height: 320px;
  top: -24%;
  left: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 64, .28), transparent 66%);
  filter: blur(60px);
}

.contact__dots {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}

.contact__text {
  margin: 18px 0 28px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, .75);
  max-width: 44ch;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-content: start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 128, 64, .4);
  transform: translateY(-3px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: rgba(255, 128, 64, .14);
  border: 1px solid rgba(255, 128, 64, .25);
  color: var(--orange-light);
  font-size: 1.1rem;
}

.contact-card__label {
  display: block;
  margin-bottom: 3px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.contact-card a {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}
.contact-card a:hover { color: var(--orange-light); }

.contact-card p { color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.6; margin: 0; }
.contact-card p strong { color: #fff; font-weight: 500; }

/* 18. Chamada final ======================================================== */
.cta-final { padding: 0 0 var(--section-y); background: #fff; }

.cta-final__panel {
  position: relative;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, #FF8040 0%, #FE9252 58%, #FF9E63 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 80px -46px rgba(255, 128, 64, .85);
}

.cta-final__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.cta-final__glow--1 {
  width: 46%;
  height: 130%;
  top: -40%;
  right: -6%;
  background: radial-gradient(circle, rgba(255, 255, 255, .38), transparent 66%);
}
.cta-final__glow--2 {
  width: 46%;
  height: 130%;
  bottom: -70%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 68%);
}

.cta-final__ring {
  position: absolute;
  right: -60px;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  z-index: -1;
}
.cta-final__ring::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.cta-final__content { position: relative; max-width: 780px; }
.cta-final__content .eyebrow { color: rgba(255, 255, 255, .82); }
.cta-final__content .eyebrow > span { background: rgba(255, 255, 255, .55); }

.cta-final__content h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.cta-final__content p {
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 30px;
  max-width: 58ch;
}

.cta-final__content .btn { text-align: left; white-space: normal; }

/* 19. Footer =============================================================== */
.site-footer {
  background: #0E1418;
  color: rgba(255, 255, 255, .65);
  padding: clamp(48px, 6vw, 76px) 0 26px;
}

.site-footer .brand { width: 220px; height: 33px; margin-bottom: 20px; }
.site-footer .brand__logo { position: static; height: 33px; width: auto; opacity: 1; }

.site-footer__about { font-size: .88rem; line-height: 1.7; max-width: 30ch; margin: 0; }

.site-footer__title {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 16px;
}

.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.site-footer__list a {
  color: rgba(255, 255, 255, .78);
  font-size: .875rem;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.site-footer__list a:hover { color: var(--orange-light); padding-left: 3px; }

.site-footer__list--icons a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__list--icons i { color: var(--orange); font-size: .95rem; }

.site-footer__address { font-size: .875rem; line-height: 1.8; margin: 0; }
.site-footer__address strong { color: #fff; font-weight: 500; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}
.site-footer__bottom p { margin: 0; }

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
}
.site-footer__top:hover { color: var(--orange-light); }
.site-footer__top i { font-size: .85rem; }

/* 20. Ações flutuantes ===================================================== */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 16px 30px -14px rgba(27, 188, 155, .9);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.floating-whatsapp:hover {
  background: #16A98A;
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(88, 97, 105, .18);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gray);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, color .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--orange); }

/* 21. Animações e acessibilidade =========================================== */
@keyframes glowFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 3px solid rgba(255, 128, 64, .6);
  outline-offset: 3px;
  border-radius: 4px;
}

.accordion-button:focus { box-shadow: none; }

/* 22. Responsividade ======================================================= */
@media (min-width: 576px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .course-info__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card--wide { grid-column: 1 / -1; }

  .docs-card__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .facts { padding: 10px; }

  .course-info__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course-info__grid-wide { grid-column: span 2; }

  .grade-summary {
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 28px;
    padding: 24px 28px;
  }
  .grade-summary__legend { grid-column: 1 / -1; }

  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .timeline__step { padding-left: 0; padding-top: 82px; }
  .timeline__dot { left: 0; top: 0; }
  .timeline__step:not(:last-child)::before {
    left: 56px;
    top: 28px;
    bottom: auto;
    width: calc(100% + 40px - 56px);
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 128, 64, .55), rgba(255, 255, 255, .1));
  }

  .sobre__media { margin-bottom: 0; }
  .sobre__stat { right: -18px; bottom: -28px; }

  .public__media img { aspect-ratio: 4 / 3; }
}

/* Hero em faixa horizontal no tablet (evita composição vertical longa) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero__media { max-width: 100%; }
  .hero__media-frame { aspect-ratio: 16 / 10; border-radius: 30px 30px 30px 90px; }
  .hero__media-frame img { object-position: center 34%; }
  .hero__media::before { border-radius: 42px 42px 42px 100px; }
  .hero .hero__float--hours { top: 20px; right: 20px; bottom: auto; left: auto; }
  .hero .hero__float--months { top: auto; bottom: 20px; left: auto; right: 20px; }
  .hero__badge { bottom: 20px; left: 20px; }
}

@media (min-width: 992px) {
  .hero { padding-top: calc(var(--header-h) + 54px); }
  .hero__media { max-width: none; }
  .hero__float--hours { right: -30px; }
  .hero__float--months { left: -38px; }

  .course-feature { grid-template-columns: 0.95fr 1.05fr; }
  .course-feature__media,
  .course-feature__media img { min-height: 100%; height: 100%; }

  .grade-summary { grid-template-columns: 210px 1fr; }
  .grade-summary__legend { grid-column: 2; }

  .grade-module .accordion-button {
    grid-template-columns: auto auto 1fr auto auto auto;
    grid-template-areas: "index title count . meta arrow";
    padding: 16px 22px;
  }
  .grade-module__meta { justify-self: end; }
  .grade-module .accordion-button::after { margin-left: 18px; }
}

@media (min-width: 1200px) {
  .course-feature { grid-template-columns: 1fr 1.02fr; }
  .public__media img { aspect-ratio: 16 / 11; }
}

@media (max-width: 1199.98px) {
  .site-nav__link { font-size: .78rem; }
  .site-nav__list { gap: 10px; }
  .header-cta { padding: 11px 18px; font-size: .82rem; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }

  .site-header { padding: 14px 0; }
  .brand { height: 32px; width: clamp(180px, 46vw, 220px); }
  .site-header.is-scrolled { padding: 10px 0; }
  .header-cta { padding: 11px 18px; font-size: .82rem; }
  .header-cta i { display: none; }

  .hero { padding-top: calc(var(--header-h) + 46px); }
  .hero__media { margin-top: 18px; }
  .hero__float--hours { right: 4px; top: 18px; }
  .hero__float--months { left: 4px; bottom: 84px; }

  .faq__aside { position: static; }
  .faq__help { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .faq__help > i { font-size: 1.4rem; }
  .faq__help p { margin: 0; flex: 1 1 auto; }

  .course-feature__media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 767.98px) {
  .hero__title { max-width: none; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 10px; }

  .facts { gap: 2px; }
  .facts__item { padding: 14px 12px; gap: 10px; }
  .facts__item i { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }
  .facts__item strong { font-size: .86rem; }
  .facts__item span { font-size: .72rem; }

  .sobre__stat { position: static; width: 100%; margin-top: 16px; }
  .sobre__media { margin-bottom: 8px; }

  .course-feature__actions .btn { width: 100%; }
  .course-feature__actions .btn-link-arrow { justify-content: center; }

  .course-objective { flex-direction: column; gap: 18px; }
  .course-objective__mark { width: 46px; height: 46px; font-size: 1.3rem; }

  .grade__head { flex-direction: column; align-items: stretch; }
  .grade__download .btn { width: 100%; justify-content: center; text-align: center; }
  .grade__footer .btn { width: 100%; justify-content: center; }

  .public__list { gap: 8px; }
  .public__list li { font-size: .8rem; }

  .contact__head .btn { width: 100%; }

  .cta-final__content .btn { width: 100%; }
  .cta-final__content .btn {
    border-radius: 18px;
    padding: 16px 20px;
    font-size: .92rem;
    justify-content: space-between;
  }
  .cta-final__ring { display: none; }

  .floating-actions { right: 14px; bottom: 14px; }
  .floating-whatsapp { width: 50px; height: 50px; font-size: 1.3rem; }

  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Em telas muito estreitas os CTAs da hero ocupam toda a largura e ficariam
   sob o botão flutuante do WhatsApp. O contato permanece nos botões da
   própria página e no menu mobile; aqui fica apenas o "voltar ao topo". */
@media (max-width: 575.98px) {
  .floating-whatsapp { display: none; }
}

/* Tabela da grade em formato de cards no mobile */
@media (max-width: 575.98px) {
  .header-cta { display: none; }
  .site-header__actions { gap: 0; }

  .course-info__grid { gap: 10px; }
  .course-info__grid li { padding: 12px; gap: 10px; }
  .course-info__icon { width: 30px; height: 30px; font-size: .85rem; border-radius: 9px; }
  .course-info__label { font-size: .63rem; letter-spacing: .06em; }
  .course-info__grid strong { font-size: .85rem; }
  .course-info__grid-wide { grid-column: 1 / -1; }

  .grade-table-wrap { overflow: visible; }

  .grade-table,
  .grade-table tbody,
  .grade-table tfoot,
  .grade-table tr,
  .grade-table th,
  .grade-table td { display: block; width: 100%; }

  .grade-table thead { display: none; }

  .grade-table tbody tr {
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(194, 205, 214, .6);
    border-radius: var(--r-sm);
    background: #fff;
  }

  .grade-table tbody th {
    padding: 0 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(194, 205, 214, .6);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.45;
  }

  .grade-table tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 3px 0;
    border: 0;
    text-align: right;
    font-size: .82rem;
  }

  .grade-table tbody td::before {
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray-text);
    text-align: left;
  }

  .grade-table tr.is-internship { box-shadow: inset 3px 0 0 var(--green); }
  .grade-table tr.is-internship th { box-shadow: none; }

  .grade-table tfoot tr {
    margin-top: 12px;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--r-sm);
    background: #FFF6F0;
  }
  .grade-table tfoot th {
    padding: 0 0 6px;
    background: transparent;
    border: 0;
    font-size: .82rem;
    line-height: 1.4;
  }
  .grade-table tfoot td {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    background: transparent;
    border: 0;
    text-align: right;
  }
  .grade-table tfoot td::before {
    content: attr(data-label);
    font-size: .72rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .grade-table tfoot strong { font-size: 1rem; }

  .grade-module .accordion-button { padding: 14px; gap: 2px 10px; }
  .grade-module .accordion-button {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "index title arrow"
      "index count meta";
  }
  .grade-module__meta { justify-self: end; }
  .grade-module__index { width: 36px; height: 36px; font-size: .8rem; }
  .grade-module__title { font-size: .92rem; }
  .grade-module__count { font-size: .72rem; }
  .grade-module .accordion-body { padding: 0 10px 12px; }
}

/* Impressão */
@media print {
  .site-header, .floating-actions, .scroll-progress, .cta-final, .mobile-menu { display: none !important; }
  body { color: #000; }
  .hero { background: #fff; color: #000; padding-top: 24px; }
  .hero__title, .section-title, .section-title--light { color: #000; }
  .grade-module .accordion-collapse { display: block !important; height: auto !important; }
  a[href]::after { content: ""; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .grade-bar__fill { width: var(--bar-value, 0%); }
}
.faq__aside .section-title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.faq__aside .section-lead { font-size: .98rem; }

/* Ajustes finos da hero em telas pequenas ================================= */
@media (max-width: 575.98px) {
  .hero__float { padding: 10px 14px; gap: 9px; }
  .hero__float i { font-size: 1.05rem; }
  .hero__float strong { font-size: 1rem; }
  .hero__float span { font-size: .64rem; }
  .hero__float--hours { top: 14px; right: 12px; }
  .hero__float--months { bottom: 76px; left: 12px; }
  .hero__badge { left: 14px; bottom: 14px; padding: 9px 13px; font-size: .72rem; }
  .course-hero__chip { font-size: .74rem; padding: 7px 12px; }
  .breadcrumb-nav { margin-bottom: 20px; }
  .breadcrumb-nav ol { font-size: .72rem; gap: 8px; }
}
