/* ============================
   FONTES
   ============================ */
@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot");
  src: url("../fonts/icomoon/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf") format("truetype"), url("../fonts/icomoon/icomoon.woff") format("woff"), url("../fonts/icomoon/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* ============================
   CONFIGURAÇÕES GERAIS / BASE
   ============================ */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
  background: #fff;
  font-weight: 300;
  overflow-x: hidden;
  color: #333
}
/* Estado offcanvas ativo */
body.ctmed-offcanvas {
  overflow: hidden;
}
/* ============================
   TIPOGRAFIA — CONTEÚDO PADRÃO
   (todas as seções exceto header, hero e footer)
   ============================ */
/* TÍTULOS DE SEÇÃO (PROFESSORES, SOBRE, ETC.) */
body h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 40px 0 30px 0;
}
body h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 20px 0;
}
/* TEXTO DO TÍTULO DA SEÇÃO */
body p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
}
h4 + p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 4px;
  padding-bottom: 20px;
  color: #555555;
}
/* Linha decorativa abaixo do título */
.heading-line {
  width: 100px;
  height: 2px;
  background: #FF5F00;
  margin: 40px auto 60px;
}
/* CONTEXTO BASE */
#ctmed-card-instructor-section, #ctmed-section-services, #nav-ancora-cursos, #ctmed-content-section, #nav-ancora-cursos_2 {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.75;
  color: #4a4a4a;
}
/* PARÁGRAFOS */
#ctmed-card-instructor-section p, #ctmed-section-services p, #nav-ancora-cursos p, #ctmed-content-section p, #nav-ancora-cursos_2 p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}
#nav-ancora-cursos {
  padding-bottom: 40px;
}
/* AJUSTE MOBILE */
@media screen and (max-width: 768px) {
  #ctmed-card-instructor-section, #ctmed-section-services, #nav-ancora-cursos, #ctmed-content-section, #nav-ancora-cursos_2 {
    font-size: 15.5px;
  }
}
/* ============================
   SELEÇÃO DE TEXTO
   ============================ */ ::-webkit-selection {
  color: #fcfcfc;
  background: #FF5F00;
}
::-moz-selection {
  color: #fcfcfc;
  background: #FF5F00;
}
::selection {
  color: #fcfcfc;
  background: #FF5F00;
}
/* ============================
   CABEÇALHO / HEADER
   ============================ */
/* Container principal do header */
#ctmed-header {
  position: relative;
  margin-bottom: 0;
  z-index: 9999999;
}
/* Header absoluto sobre o hero */
#ctmed-header-inner {
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
/* Estrutura interna do header */
.nav-header {
  position: relative;
  float: left;
  width: 100%;
}
/* ============================
   LOGO
   ============================ */
#ctmed-logo {
  position: relative;
  z-index: 2;
  font-size: 28px;
  text-transform: uppercase;
  margin-top: 35px;
  font-weight: 300;
  float: left;
}
#ctmed-logo span {
  font-weight: 700;
}
#ctmed-logo a {
  color: #fff;
}
#ctmed-logo a:hover, #ctmed-logo a:focus {
  color: #fff;
}
/* Centraliza logo em telas menores */
@media screen and (max-width: 768px) {
  #ctmed-logo {
    display: none;
  }
}
/* ============================
   MENU PRINCIPAL (DESKTOP)
   ============================ */
#ctmed-nav {
  position: relative;
  z-index: 2;
  display: block;
  float: right;
  margin-top: 22px;
}
#ctmed-nav .sf-menu a {
  padding: 1em .75em;
}
/* ============================
   SUPERFISH — MENU
   ============================ */
/* Lista principal */
.sf-menu {
  margin: 0;
  float: right;
}
/* Submenus */
.sf-menu ul {
  box-shadow: none;
  border: transparent;
  min-width: 12em;
  *width: 12em;
}
/* Links do menu */
.sf-menu a {
  color: rgba(255, 255, 255, 0.5);
  padding: 0.75em 1em;
  font-weight: normal;
  text-decoration: none;
  font-size: 18px;
  border: none;
}
/* Hover / focus */
.sf-menu a:hover, .sf-menu a:focus {
  color: #fff;
}
.sf-menu li.active a:hover, .sf-menu li.active a:focus {
  color: #fff;
}
/* ============================
   SUPERFISH — DROPDOWNS
   ============================ */
/* Remove backgrounds padrões */
.sf-menu li, .sf-menu ul li, .sf-menu ul ul li, .sf-menu li:hover, .sf-menu li.sfHover {
  background: transparent;
}
/* Links internos */
.sf-menu ul li a, .sf-menu ul ul li a {
  text-transform: none;
  padding: 0.25em 1em;
  letter-spacing: 1px;
}
/* Estados ativos */
.sf-menu li:hover a, .sf-menu li.sfHover a, .sf-menu ul li:hover a, .sf-menu ul li.sfHover a, .sf-menu li.active a {
  color: #fff;
}
.sf-menu ul li {
  background: transparent;
}
/* ============================
   SETAS DO MENU (ICOMOON)
   ============================ */
.sf-arrows .sf-with-ul {
  padding-right: 2.5em;
}
/* Seta para baixo */
.sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -3px;
  border: 5px solid transparent;
  border-top-color: #ccc;
}
/* Hover da seta */
.sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: #ccc;
}
/* Seta lateral */
.sf-arrows ul .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-left-color: #ccc;
  border-color: transparent;
}
/* ============================
   SUBMENUS CUSTOMIZADOS
   ============================ */
#ctmed-nav-list .ctmed-sub-menu {
  padding: 10px 7px;
  background: #fff;
  left: 0;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
#ctmed-nav-list .ctmed-sub-menu > li > .ctmed-sub-menu {
  left: 100%;
}
/* Texto dos submenus */
#ctmed-nav-list .ctmed-sub-menu a {
  font-size: 18px;
  line-height: 34px;
  color: #575757;
}
#ctmed-nav-list .ctmed-sub-menu a:hover {
  color: #FF5F00;
}
/* ============================
   HERO / CAPA PRINCIPAL
   ============================ */
.ctmed-hero, .ctmed-hero-cover {
  position: relative;
  height: 720px;
  overflow: hidden;
  z-index: 0;
}
/* BACKGROUND */
.ctmed-hero-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* OVERLAY */
.ctmed-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(66, 64, 64, 0.8);
}
/* CONTEÚDO CENTRAL */
.ctmed-hero-cover .desc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 0;
}
/* LOGO */
.hero-logo {
  margin: -20px 0 18px 0; /* ajuste fino aqui */
}
.hero-logo img {
  width: 300px;
  max-width: 80%;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
}
/* TEXTO */
#typing-text {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
/* BOTÃO */
.ctmed-hero-cover .desc .btn {
  padding: 14px 38px;
  font-size: 14px;
  letter-spacing: 2px;
}
/* MOBILE */
@media (max-width: 768px) {
  .hero-logo img {
    width: 220px;
  }
  #typing-text {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 20px;
  }
  .ctmed-hero-cover .desc .btn {
    padding: 12px 24px;
    font-size: 13px;
  }
  .ctmed-hero, .ctmed-hero-cover {
    height: 560px;
  }
}
/* ============================
   TEXTO DO HERO
   ============================ */
.ctmed-hero-cover .desc h1, .ctmed-hero-cover .desc h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: 42px;
  margin-bottom: 10px;
}
/* Redução tipográfica no mobile */
@media (max-width: 768px) {
  .ctmed-hero-cover .desc h1, .ctmed-hero-cover .desc h2 {
    font-size: 28px;
    line-height: 1.1;
  }
}
/* Texto secundário */
.ctmed-hero-cover .desc span {
  display: block;
  margin-bottom: 30px;
  font-size: 22px;
  letter-spacing: 1px;
}
/* Texto digitado */
#typing-text {
  opacity: 0;
  display: block;
  min-height: 50px;
  transition: opacity 0.2s ease-in-out;
}
#typing-text.show {
  opacity: 1;
}
/* Texto menor no mobile */
@media (max-width: 768px) {
  #typing-text {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 10px;
  }
}
/* ============================
   BOTÃO DO HERO
   ============================ */
/* Botão mais compacto no mobile */
@media (max-width: 768px) {
  .ctmed-hero-cover .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}
/* Links do hero */
.ctmed-hero-cover .desc span a {
  color: #fff;
}
.ctmed-hero-cover .desc span a:hover, .ctmed-hero-cover .desc span a:focus {
  color: #fff;
}
/* ============================
   REDES SOCIAIS (MOBILE)
   ============================ */
/* Oculto no desktop */
.social-mobile {
  display: none;
}
/* Visível apenas no mobile */
@media (max-width: 768px) {
  .social-mobile {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
  }
  .social-mobile a {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s ease;
  }
  .social-mobile a:hover {
    color: #fff;
  }
  .social-mobile svg {
    fill: currentColor;
  }
}
/* ============================
   SEÇÕES DE CONTEÚDO — BASE
   ============================ */
/* Redução de padding em telas menores */
@media screen and (max-width: 768px) {
  #ctmed-card-instructor-section, #ctmed-section-services, #nav-ancora-cursos, #ctmed-content-section, #nav-ancora-cursos_2 {
    padding: 4em 0;
  }
}
/* Fundo cinza padrão */
.ctmed-section-gray {
  background: rgba(0, 0, 0, 0.04);
}
/* ============================
   SEÇÃO PROFESSORES
   ============================ */
/* Card */
.ctmed-card-instructor {
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
}
/* Imagem */
.ctmed-card-instructor img {
  width: 100%;
  display: block;
  border-radius: 6px;
}
/* Conteúdo */
.ctmed-card-instructor .prod-title {
  border-radius: 0 0 6px 6px;
  text-align: left;
}
/* Texto */
.ctmed-card-instructor .prod-title p {
  margin: 0;
}
/* ============================
   SEÇÃO: MODELO DE ENSINO
   ============================ */
/* Ajuste fino de espaçamento geral */
#ctmed-section-services {
  padding-top: 40px;
  padding-bottom: 40px;
}
/* Bloco individual */
#ctmed-section-services .services {
  margin-bottom: 40px;
  text-align: center;
}
/* Ícone */
.services i, .services span i, .ctmed-section-services i {
  font-size: 48px;
  color: #FF5F00;
  display: inline-block;
  line-height: 1;
}
#ctmed-section-services .services span i {
  font-size: 50px;
  color: #FF5F00;
}
/* Texto */
#ctmed-section-services .services p {
  margin-top: 10px;
}
/* ============================
   SEÇÃO: CURSOS / WORK
   ============================ */
/* Grid base */
.ctmed-media-grid {
  height: 302px;
  background-size: cover;
  background-position: center center;
  margin-bottom: 30px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
/* Altura maior no mobile */
@media screen and (max-width: 480px) {
  .ctmed-media-grid {
    height: 400px;
  }
}
/* Overlay do hover */
.ctmed-media-grid .image-popup {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  border-radius: 7px;
}
/* Conteúdo do hover */
.ctmed-media-grid .image-popup .prod-title {
  position: absolute;
  top: 40%;
  left: 20px;
  right: 20px;
  margin-top: -25px;
}
/* Texto do hover */
.ctmed-media-grid .image-popup h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}
.ctmed-media-grid .image-popup span {
  color: #fff;
}
/* Overlay */
.ctmed-media-grid .image-popup {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* Texto começa mais embaixo */
.ctmed-media-grid .image-popup .prod-title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 30px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
}
/* Hover */
.ctmed-media-grid:hover .image-popup {
  opacity: 1;
}
.ctmed-media-grid:hover .image-popup .prod-title {
  transform: translateY(0);
  opacity: 1;
}
/* REMOVA ou suavize o scale */
.ctmed-media-grid {
  transition: transform 0.35s ease;
}
.ctmed-media-grid:hover {
  transform: scale(1.02); /* ou remova totalmente */
}
/* Foco no topo para grids quadrados */
.col-md-4.col-sm-4 .ctmed-media-grid {
  background-position: top center;
}
/* Exceção: imagem centralizada */
#nav-ancora-cursos .ctmed-media-grid.position-middle {
  background-position: center center;
}
/* ============================
   BOTÕES — BASE
   ============================ */
/* Transições padrão */
.btn {
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}
/* Botão primário */
.btn.btn-primary {
  background: #FF5F00;
  color: #fff;
  border: 2px solid transparent;
}
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active {
  background: #FF5F00;
  color: #fff;
  box-shadow: none;
}
/* Estados gerais */
.btn:hover, .btn:focus, .btn:active {
  background: #393e46;
  color: #fff;
  outline: none;
}
.btn.btn-default:hover, .btn.btn-default:focus, .btn.btn-default:active {
  border-color: transparent;
}

/* =========================
   SIMULADO - Cadastro
========================= */

.simulado-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simulado-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;   /* empilha */
  align-items: center;      /* centraliza */
  gap: 10px;                /* espaço entre input e botão */
}

.simulado-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
  margin-top: 10px;
}

.simulado-text span {
  font-size: 12px;
  opacity: 0.85;
}

.simulado-input {
  display: block;
  width: auto;
  min-width: 260px; /* ajuste fino se quiser */
  padding: 12px 22px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.95);
  font-size: 15px;
  color: #111;
}

.simulado-input:focus {
  outline: none;
}

.simulado-input::placeholder {
  color: #6b7280;
}

/* Estado normal */
.simulado-submit {
  display: block;
  width: auto;
  min-width: 260px; /* IGUAL AO INPUT */
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;

  background-color: #337ab7;
  border: 1px solid #2e6da4;
  color: #ffffff;

  transition: background 0.15s ease, border-color 0.15s ease;
}

/* Hover */
.simulado-submit:hover {
  background-color: #286090;
  border-color: #204d74;
  color: #ffffff;
}

/* Neutraliza estados extras */
.simulado-submit:active,
.simulado-submit:focus,
.simulado-submit:active:focus {
  background-color: #337ab7;
  border-color: #2e6da4;
  color: #ffffff;

  outline: none;
  box-shadow: none;
}

/* =========================
   BOTÃO — LOADING SHIMMER
========================= */

.simulado-submit {
  position: relative;
  overflow: hidden;
}

/* estado loading */
.simulado-submit.loading {
  pointer-events: none;
  opacity: 0.95;
}

/* brilho */
.simulado-submit.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: shimmer 1.1s infinite;
}

/* animação */
@keyframes shimmer {
  0% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
}


/* ============================
   ÍCONES SOCIAIS (GERAL)
   ============================ */
.ctmed-social-icons > a {
  padding: 4px 10px;
  color: #FF5F00;
}
.ctmed-social-icons > a i {
  font-size: 26px;
}
.ctmed-social-icons > a:hover, .ctmed-social-icons > a:focus, .ctmed-social-icons > a:active {
  text-decoration: none;
  color: #5a5a5a;
}
/* ============================
   FOOTER / RODAPÉ
   ============================ */
#footer {
  background: #1f252c;
  padding: 30px 0 18px;
  text-align: center;
}
/* Ícones */
#footer .ctmed-social-icons {
  margin-bottom: 10px;
}
#footer .ctmed-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px 0;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}
/* Ícones font */
#footer .ctmed-social-icons a i {
  font-size: 26px;
}
/* Ícone SVG (TikTok) */
#footer .ctmed-social-icons a svg {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}
/* Hover */
#footer .ctmed-social-icons a:hover {
  color: #ffffff;
}
/* Texto */
#footer p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
/* ============================
   UTILITÁRIOS DE LAYOUT
   ============================ */
/* Bordas */
.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
/* Texto destacado */
.lead {
  line-height: 1.8;
}
/* Espaçamentos verticais */
.row-bottom-padded-lg {
  padding-bottom: 7em;
}
.row-top-padded-lg {
  padding-top: 7em;
}
.row-bottom-padded-md {
  padding-bottom: 4em;
}
.row-top-padded-md {
  padding-top: 4em;
}
.row-bottom-padded-sm {
  padding-bottom: 2em;
}
.row-top-padded-sm {
  padding-top: 2em;
}
/* Ajustes mobile */
@media screen and (max-width: 768px) {
  .row-bottom-padded-lg, .row-top-padded-lg, .row-bottom-padded-md, .row-top-padded-md {
    padding: 2em 0;
  }
}
/* ============================
   ANIMAÇÕES / LOADER
   ============================ */
/* Elementos animados aguardam JS */
.js .animate-box {
  opacity: 0;
}
/* Loader */
.no-js #loader {
  display: none;
}
.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}
.ctmed-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url(../images/hourglass.svg) center no-repeat #222222;
}
/* ============================
   MENU MOBILE / OFFCANVAS
   ============================ */
/* Wrapper geral */
#ctmed-wrapper {
  overflow-x: hidden;
  position: relative;
}
/* Estado offcanvas ativo */
.ctmed-offcanvas {
  overflow: hidden;
}
.ctmed-offcanvas #ctmed-wrapper {
  overflow: hidden;
}
/* Página deslocável */
#ctmed-page {
  position: relative;
  transition: 0.5s;
}
/* Deslocamento quando menu abre */
.ctmed-offcanvas #ctmed-page {
  transform: translateX(-240px);
}
/* ============================
   MENU OFFCANVAS
   ============================ */
#offcanvas-menu {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -240px;
  width: 240px;
  padding: 20px;
  background: #222;
  z-index: 99;
  overflow-y: scroll;
}
/* Lista base */
#offcanvas-menu ul {
  margin: 0;
  padding: 0;
}
/* Itens */
#offcanvas-menu ul li {
  list-style: none;
  margin-bottom: 10px;
}
/* Links */
#offcanvas-menu ul li a {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
}
#offcanvas-menu ul li a:hover {
  color: #FF5F00;
}
/* Submenu */
#offcanvas-menu ul li > .ctmed-sub-menu {
  margin-top: 9px;
  padding-left: 20px;
}
/* Item ativo */
#offcanvas-menu ul li.active > a {
  color: #FF5F00;
}
/* Força exibição do submenu */
#offcanvas-menu ul .ctmed-sub-menu {
  display: block;
}
/* ============================
   BOTÃO TOGGLE (HAMBURGUER)
   ============================ */
.ctmed-nav-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  display: none;
}
/* Linhas do ícone */
.ctmed-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: all 0.2s ease-out;
}
/* Linhas extras */
.ctmed-nav-toggle i::before, .ctmed-nav-toggle i::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  background: #fff;
  transition: 0.2s;
}
.ctmed-nav-toggle i::before {
  top: -7px;
}
.ctmed-nav-toggle i::after {
  bottom: -7px;
}
/* Hover */
.ctmed-nav-toggle:hover i::before {
  top: -10px;
}
.ctmed-nav-toggle:hover i::after {
  bottom: -10px;
}
/* Estado ativo (X) */
.ctmed-nav-toggle.active i {
  background: transparent;
}
.ctmed-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}
.ctmed-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}
/* ============================
   RESPONSIVO — MOBILE
   ============================ */
/* Esconde menu desktop */
@media screen and (max-width: 768px) {
  #ctmed-nav {
    display: none;
  }
}
/* Toggle escondido conforme regra atual */
@media screen and (max-width: 768px) {
  .ctmed-nav-toggle {
    display: none;
    margin-top: 2em;
  }
}
/* Coluna full no mobile */
@media screen and (max-width: 480px) {
  .col-xxs-12 {
    width: 100%;
    float: none;
  }
}