@import url('https://fonts.googleapis.com/css?family=Bricolage+Grotesque'); /* Carregar fonte dos titulos */
@import url('https://fonts.googleapis.com/css?family=Figtree'); /* Carregar fonte dos textos */

body {
    font-family: 'Figtree', sans-serif; /* Setar fonte dos textos */
    color: #3E5160; /* Setar cores dos textos */
    background-color: #FFFFFF; /* Setar cor 5 */
}
h1, h2, h3, h4, h5, h6, .navbar .nav>li>a, .dropdown-menu>li>a, #admin #toolbar .btn {
    font-family: 'Bricolage Grotesque', sans-serif; /* Setar fonte dos titulos */
}
h1, h2, h3, h4, h5, h6 {
    color: #0F2A3D; /* Setar cores dos titulos */
}
a, .btn-link {
    color: #17777B; /* Setar cores dos links */

}
a:hover, a:focus {
    color: #0F5558; /* Setar cores dos links com foco*/
}
#top-menu, footer, #course-banner {
    background-color: #0F2A3D; /* Setar cor 1 */
}
#menu-main.navbar {
    background-color: #FFFFFF; /* Setar cor 2 */
}
#footer-top, #top-internal, #menu-main .nav>li.active>a, #landing-page #instructor-course {
    background-color: #EAF4F4; /* Setar cor 3 */
}
.nav>li>a:hover, .nav>li>a:focus, .panel-default .panel-heading, .panel-default .panel-title, .panel-default .panel-footer, #list-courses .course-unit .course-text, .borda-instrutor, #cart ul li, .nav-tabs>li>a, .pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #F2F7F8; /* Setar cor 4 */
}
#landing-page .lessons-course {
    border-color: #F2F7F8; /* Setar cor 4 */
}
.nav-pills li.active>a, .nav-pills li>a:hover, .nav-tabs.nav-justified>li>a, .panel-default>.panel-heading+.panel-collapse>.panel-body, .profile-usermenu .nav>li>a, .profile-usermenu, .information-post, .pagination>li>a, .pagination>li>span, .blog-post, .panel-default>.panel-heading, hr, #landing-page #grid-course, .panel-default, .nav-tabs.nav-justified>.active>a, .nav-tabs.nav-justified>.active>a:hover, .nav-tabs.nav-justified>.active>a:focus, #landing-page #description-course #informations h5, .form-control, .pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus, .pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
    border-color: #DDE7EA; /* Setar cor das Bordas */
}
.btn-default, .btn-default:hover {
    background-color: #0F2A3D; /* Setar cor do botão Padrão */
}
.btn-info, .btn-info:hover {
    background-color: #FB6120; /* Setar cor do botão de informação */
}
.btn-success, .btn-success:hover, #landing-page #registration-course  {
    background-color: #17777B; /* Setar cor do botão de sucesso */
}
.btn-danger, .btn-danger:hover, #list-courses .course-unit .language-course-title {
    background-color: #C9450E; /* Setar cor do botão de atenção */
}

/* aqui entra o css especifico no cliente */
/* ---------- regras que já existiam no site (página do curso e blog), mantidas ---------- */
.course-img .height-img {
    height: auto !important;
}
#blog-show #collum-center #body dd, #blog-show #collum-center #body ul, #blog-show #collum-center #body ol {
    margin-bottom: 50px;
}
#description-course .text-left p, #description-course .text-left ul {
    margin-bottom: 30px;
}
/* Garante o título centralizado */
#grid-course .container h3 {
    column-span: all; /* Expande o título por todas as colunas */
}

/* Divide todo o conteúdo do container em duas colunas */
#grid-course .container {
    column-count: 2;
    column-gap: 40px;
}

/* Evita que os elementos se quebrem entre as colunas */
#grid-course .container p,
#grid-course .container ul {
    break-inside: avoid;
}
#grid-course .container ul {
    margin-bottom: 30px;
}
#course-banner .container h1,
#course-banner .container h2 {
    max-width: 800px;        /* Largura máxima ideal para melhor leitura */
    margin-left: auto;       /* Centraliza horizontalmente */
    margin-right: auto;
}

#course-banner .container h1 {
    margin-bottom: 20px;     /* Espaçamento visual entre título e subtítulo */
    line-height: 1.2;        /* Melhor espaçamento entre linhas */
}

#course-banner .container h2 {
    line-height: 1.4;        /* Melhor espaçamento entre linhas para subtítulo */
}
#menu-landing.nav-pills>li>a {
    font-family: 'Figtree', sans-serif;
}
.panel-title>a, .nav-pills a, .breadcrumb a, .breadcrumb>.active {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: #143044;
}

/* ==========================================================
   Meu Negócio · custom_css · proposta v1 · 2026-09-18
   Tema Padrão (theme_id 1), plano grátis. Anexado ao fim do client.css.
   Carrega também no checkout e nas páginas internas: o que é só da
   home está escopado por body#index ou pelas classes pv-.
   ========================================================== */

/* ---------- base ---------- */
body { font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }
::selection { color: #fff; background: #17777B; }
.btn, .btn-lg { text-shadow: none; border: 0; border-radius: 10px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 22px -10px rgba(15,42,61,.45); }
.btn:focus-visible { outline: 3px solid #FB6120; outline-offset: 2px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-default, .btn-default:hover, .btn-default:focus,
.btn-success, .btn-success:hover, .btn-success:focus,
.btn-danger, .btn-danger:hover, .btn-danger:focus { color: #fff; }
/* botão laranja da marca: texto marinho (4,8:1); branco daria 3,1:1 */
.btn-info, .btn-info:hover, .btn-info:focus { color: #0F2A3D; }
.form-control { border-radius: 10px; box-shadow: none; }
.form-control:focus { border-color: #17777B; box-shadow: 0 0 0 3px rgba(23,119,123,.2); }
/* o bootstrap.css do LMS (Bootswatch Sandstone) força MAIÚSCULAS; a arte usa caixa normal */
.btn, .nav, .navbar .nav > li > a, .dropdown-menu > li > a, .breadcrumb, .pagination, .pager,
.panel .panel-heading, .panel .panel-title { text-transform: none; }
.panel-default > .panel-heading .panel-title, .panel-default > .panel-heading .panel-title a { font-size: 16px; font-weight: 600; color: #0F2A3D; }
#search-site .form-control::placeholder { color: #6B7C88; opacity: 1; }

/* ---------- ícones dos blocos ----------
   O CKEditor 4 do admin APAGA elementos vazios como <i class="fa ..."></i> ao salvar.
   Por isso o ícone é um ::before em elemento com texto: class="pv-ic pv-ic-<nome>". */
.pv-ic::before { display: inline-block; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; }
.pv-ic-gift::before { content: "\f06b"; }
.pv-ic-tag::before { content: "\f02b"; }
.pv-ic-certificate::before { content: "\f0a3"; }
.pv-ic-shield::before { content: "\f132"; }
.pv-ic-rocket::before { content: "\f135"; }

/* ---------- barra do topo (head_block) ---------- */
#top-menu { min-height: 44px; margin: 0; border: 0; border-radius: 0; }
#text-top-menu { font-size: 13px; color: #B9C7D0; }
.pv-topo { margin: 12px 0; }
.pv-topo a, .pv-topo span { color: #D8E3E9; }
.pv-topo a:hover { color: #FB8A55; text-decoration: none; }
.pv-topo .pv-ic::before { margin-right: 7px; color: #FB8A55; }
.pv-topo > * + * { margin-left: 14px; padding-left: 14px; border-left: 1px solid #2C4A5E; } /* separador sem ::before: o ::before é do ícone */
#top-menu ul.flag { margin-top: 12px; }
#top-menu ul.flag li img { width: 18px; border-radius: 2px; }
#menu-top > li > a { color: #fff; font-size: 13px; font-weight: 600; padding-top: 12px; padding-bottom: 12px; }
#menu-top > li > a:hover, #menu-top > li > a:focus { background: transparent; color: #FB8A55; }
/* 1º item do topo = Cadastrar/Login (visitante) ou o ambiente (logado): vira o botão laranja.
   Só o logado ganha id="environment-access"; para o visitante o <li> vem sem id nem classe. */
#menu-top > li:first-child { margin: 7px 0 7px 12px; }
#menu-top > li:first-child > a, #menu-top > li:first-child > a:hover, #menu-top > li:first-child > a:focus {
  color: #0F2A3D; background: #FB6120; border-radius: 8px; padding: 7px 16px; }

/* ---------- logo + busca ---------- */
#logotipo-search { padding: 18px 0; background: #fff; }
#logotipo-search img { max-height: 64px; width: auto; margin: 0; }
#logotipo-search .input-group { margin-top: 8px; }
#search-site .form-control { height: 46px; padding-left: 20px; border-radius: 999px 0 0 999px; background: #F2F7F8; border-color: transparent; }
#search-site .btn { height: 46px; padding: 0 22px; font-size: 14px; border-radius: 0 999px 999px 0; }
#search-site .btn:hover { transform: none; box-shadow: none; }

/* ---------- menu principal: branco, fixo ao rolar ---------- */
#menu-main.navbar { min-height: 0; position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid #DDE7EA; border-bottom: 1px solid #DDE7EA; }
#menu-main .nav-justified { display: flex; gap: 6px; width: auto; }
#menu-main .nav-justified > li { display: block; width: auto; float: none; }
#menu-main .nav > li > a { position: relative; padding: 16px 18px; font-size: 15px; font-weight: 600; color: #0F2A3D; background: transparent; }
#menu-main .nav > li > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 9px; height: 2px;
  background: #FB6120; border-radius: 2px; transform: scaleX(0); transition: transform .2s ease; }
#menu-main .nav > li > a:hover, #menu-main .nav > li > a:focus, #menu-main .nav > li.active > a { color: #17777B; background: transparent; }
#menu-main .nav > li > a:hover::after, #menu-main .nav > li.active > a::after { transform: scaleX(1); }

/* ---------- slides: hero com texto à esquerda ---------- */
#slider { margin-bottom: 0; }
#slider .carousel-inner .item { background: #0F2A3D; }
#slider .item > a { display: block; position: relative; }
#slider .item > a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(15,42,61,.94) 0%, rgba(15,42,61,.74) 34%, rgba(15,42,61,0) 64%); }
#slider .item img { width: 100%; }
#slider .carousel-caption { left: 50%; right: auto; top: 50%; bottom: auto; width: 100%; max-width: 1170px;
  padding: 0 15px; transform: translate(-50%, -50%); text-align: left; text-shadow: none; }
#slider .carousel-caption h2 { max-width: 620px; margin: 0 0 16px; font-size: 48px; line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
#slider .carousel-caption p { max-width: 500px; margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: #CFDCE3; }
#slider .carousel-control { width: 64px; background: none; opacity: .55; }
#slider .carousel-control:hover { opacity: 1; }
@media (max-width: 1199px) { #slider .carousel-caption h2 { font-size: 40px; } }
@media (max-width: 991px)  { #slider .carousel-caption h2 { font-size: 30px; max-width: 440px; } }

/* ---------- banner do plano grátis (fixo do LMS) ---------- */
#idFree { margin-top: 36px; }

/* ---------- blocos da home (content_block / footer_block) ---------- */
section.content_block + hr, #courses-list + hr { display: none; }
section.content_block { overflow-x: clip; } /* a faixa .pv-cta usa 100vw; evita rolagem lateral */
.pv-lead { max-width: 640px; margin: 0 auto; font-size: 18px; color: #3E5160; }

/* garantias: fatos da FAQ e do catálogo */
.pv-provas { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px;
  background: #fff; border: 1px solid #DDE7EA; border-radius: 18px; box-shadow: 0 24px 50px -32px rgba(15,42,61,.4); }
.pv-prova { display: flex; gap: 14px; align-items: center; padding: 22px 22px; }
.pv-prova + .pv-prova { border-left: 1px solid #DDE7EA; }
.pv-prova.pv-ic::before { flex: 0 0 46px; height: 46px; line-height: 46px; text-align: center; font-size: 20px;
  color: #17777B; background: #EAF4F4; border-radius: 12px; }
.pv-prova:first-child.pv-ic::before { color: #fff; background: #FB6120; }
.pv-prova strong { display: block; font-size: 16px; line-height: 1.3; color: #0F2A3D; }
.pv-prova span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: #5B6D7A; }

/* trilha: os 8 cursos nas três etapas do negócio */
.pv-trilha { padding: 88px 0 8px; text-align: center; }
.pv-trilha h2 { max-width: 760px; margin: 0 auto 16px; font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.pv-etapas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; text-align: left; }
.pv-etapa { display: flex; flex-direction: column; padding: 30px 28px 18px; background: #F2F7F8; border-radius: 18px; }
.pv-etapa-n { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #C9450E; }
.pv-etapa h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.pv-etapa > p:not(.pv-etapa-n) { min-height: 3.3em; margin: 0 0 18px; font-size: 15px; color: #3E5160; }
.pv-cursos { margin: 0; padding: 0; list-style: none; }
.pv-cursos li { border-top: 1px solid #DDE7EA; }
.pv-cursos a { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-size: 15.5px; font-weight: 600; color: #0F2A3D; }
.pv-cursos a::after { content: "\f105"; margin-left: auto; font-family: FontAwesome; font-weight: normal; color: #17777B; transition: transform .2s ease; }
.pv-cursos a:hover { color: #17777B; text-decoration: none; }
.pv-cursos a:hover::after { transform: translateX(4px); }
.pv-gratis { padding: 2px 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: #C9450E; border-radius: 999px; }

/* ---------- títulos das listagens ---------- */
#courses-list h2.text-center { margin: 80px 0 36px; font-size: 36px; font-weight: 800; }
#courses-list h2.text-center::after { content: ""; display: block; width: 44px; height: 4px; margin: 14px auto 0; background: #FB6120; border-radius: 4px; }

/* ---------- cards de curso ---------- */
#courses-list #list-courses { display: flex; flex-wrap: wrap; }
#courses-list #list-courses::before, #courses-list #list-courses::after { display: none; }
#courses-list #list-courses > div { float: none; }
#list-courses .course-unit { height: calc(100% - 30px); overflow: hidden; background: #fff; border: 1px solid #DDE7EA; border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease; }
#list-courses .course-unit:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(15,42,61,.38); }
#list-courses .course-unit .course-img { overflow: hidden; border-radius: 0; }
#list-courses .course-unit .course-img img.height-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .45s ease; }
#list-courses .course-unit:hover .course-img img.height-img { transform: scale(1.04); }
#list-courses .course-unit .language-course-title { left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
#list-courses .course-unit .course-text { padding: 18px 18px 16px; text-align: left; background: #fff; }
/* o tema corta o título em UMA linha com reticências; aqui cabem duas inteiras */
#list-courses .course-unit .course-text h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  white-space: normal; text-overflow: clip; min-height: 2.6em; max-height: none; margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
#list-courses .course-unit .course-text h4 a { color: #0F2A3D; }
#list-courses .course-unit .course-text p { margin-bottom: 0; font-size: 13px; color: #5B6D7A; }
#list-courses .course-unit .course-text br { display: none; }
#list-courses .course-unit .course-text .btn-block { margin-top: 14px; font-size: 14px; padding: 10px 12px; }
#list-courses .course-unit .course-text hr { margin: 14px 0 12px; border-color: #DDE7EA; }
#list-courses .course-unit p.teacher-name a { color: #3E5160; font-weight: 500; }
#list-courses .course-unit p.teacher-name img { width: 28px; height: 28px; margin-right: 8px; }

/* ---------- footer_block: CTA dos dois produtos (LMS Estúdio + HotLearn) ----------
   Sem margem negativa: faixa position:relative com margin-bottom negativo pinta por cima
   da seção seguinte (Acadtec, 17/09/2026). */
.pv-cta { position: relative; overflow: hidden; margin: 88px calc(50% - 50vw) 0; padding: 84px 0; text-align: center; color: #fff;
  background: radial-gradient(55% 120% at 50% 0%, rgba(46,173,177,.30) 0%, rgba(15,42,61,0) 62%), #0F2A3D; }
.pv-cta-in { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.pv-cta h2 { max-width: 720px; margin: 0 auto 14px; font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.pv-cta p { max-width: 540px; margin: 0 auto 32px; font-size: 18px; color: #B9C7D0; }
.pv-produtos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; text-align: left; }
.pv-produto { display: flex; flex-direction: column; padding: 32px 32px 30px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.pv-produto-k { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; color: #6FD3D6 !important; }
.pv-produto h3 { margin: 0 0 14px; font-size: 30px; font-weight: 800; color: #fff; }
.pv-produto ul { margin: 0 0 24px; padding: 0; list-style: none; }
.pv-produto li { position: relative; padding: 6px 0 6px 22px; font-size: 16px; color: #D5E0E6; }
.pv-produto li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: #FB6120; }
.pv-produto .btn { margin-top: auto; align-self: flex-start; }
.pv-btn-ghost, .pv-btn-ghost:hover, .pv-btn-ghost:focus { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

/* ---------- rodapé ---------- */
#footer-top { padding: 56px 0 48px; }
#footer-top h3 { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #17777B; }
#footer-top ul li { margin-bottom: 9px; font-size: 14px; }
#footer-top a { color: #0F2A3D; }
#footer-top a:hover { color: #17777B; }
#footer-top .media-object { border-radius: 8px; object-fit: cover; }
#footer-top .media-heading { font-size: 14px; font-weight: 600; line-height: 1.35; }
#footer-top .media-body a { font-size: 13px; color: #5B6D7A; }
footer { padding: 22px 0; font-size: 13px; color: #B9C7D0; }
footer a { color: #fff; }

/* ==========================================================
   PÁGINAS INTERNAS — o custom_css é global (catálogo, blog, FAQ,
   curso, login, checkout). Regras que a Acadtec mostrou serem necessárias.
   ========================================================== */

/* 1. Catálogo, categoria e blog usam <h3> no título do item (a home usa <h4>). */
#list-courses .course-unit h3 a, .blog-post h3 a { color: #0F2A3D; }
#list-courses .course-unit h3 a:hover, .blog-post h3 a:hover { color: #17777B; }

/* 2. O esqueleto pinta o BLOCO INTEIRO de inscrição com a cor de button3. */
#landing-page #registration-course { background-color: #0F2A3D; }

/* 3. As duas ações principais nascem .btn-default: comprar o curso e entrar. */
#registration-course .btn-default, #registration-course .btn-default:hover, #registration-course .btn-default:focus,
form[action$="/auth"] button[type="submit"].btn-default,
form[action$="/auth"] button[type="submit"].btn-default:hover { background-color: #FB6120; color: #0F2A3D; }

/* 4. No FAQ e nas dúvidas do curso a pergunta é o conteúdo. */
#site-faq .panel-default > .panel-heading .panel-title, #site-faq .panel-default > .panel-heading .panel-title a,
#course-show .panel-default > .panel-heading .panel-title, #course-show .panel-default > .panel-heading .panel-title a { font-size: 18px; line-height: 1.4; }

/* 5. Na home a faixa .pv-cta encosta no rodapé; nas outras páginas ele precisa de respiro. */
#footer-top { margin-top: 72px; }
body#index #footer-top { margin-top: 0; }

/* 6. Grades escalonadas: flex iguala a linha (a lista do catálogo .list2 é horizontal). */
#list-courses:not(.list2) { display: flex; flex-wrap: wrap; }
#list-courses:not(.list2)::before, #list-courses:not(.list2)::after { display: none; }
#list-courses:not(.list2) > div { float: none; }

/* 7. Paginação do blog: classes do Tailwind num site Bootstrap 3 (o bloco numérico em inglês fica oculto). */
#blog-list nav[role="navigation"] { display: flex; justify-content: center; margin: 40px 0 0; }
#blog-list nav[role="navigation"] > div:first-child { display: flex; flex: none; gap: 12px; }
#blog-list nav[role="navigation"] > div:first-child > span,
#blog-list nav[role="navigation"] > div:first-child > a { margin: 0; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  line-height: 1.2; background: #F2F7F8; border: 1px solid #DDE7EA; color: #3E5160; }
#blog-list nav[role="navigation"] > div:first-child > a { background: #17777B; border-color: #17777B; color: #fff; }
#blog-list nav[role="navigation"] > div:first-child > span { opacity: .5; }

/* 8. Grade do blog: aqui .course-unit É a coluna (col-md-4 col-sm-6 course-unit). */
#blog-list #list-courses { gap: 26px; }
#blog-list #list-courses > .course-unit { width: 100%; padding: 0; margin: 0; height: auto; align-self: stretch;
  background: #fff; border: 1px solid #DDE7EA; border-radius: 16px; overflow: hidden; }
@media (min-width: 768px) { #blog-list #list-courses > .course-unit { width: calc((100% - 26px) / 2); } }
@media (min-width: 992px) { #blog-list #list-courses > .course-unit { width: calc((100% - 52px) / 3); } }
#blog-list #list-courses .course-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- responsivo ---------- */
@media (max-width: 991px) {
  .pv-provas { grid-template-columns: repeat(2, 1fr); }
  .pv-prova:nth-child(3) { border-left: 0; }
  .pv-prova:nth-child(n+3) { border-top: 1px solid #DDE7EA; }
  .pv-etapas { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .pv-trilha h2 { font-size: 34px; }
}

/* ==========================================================
   CELULAR (até 767px) — o desktop não muda.
   Topo: uma barra só com logo + menu (antes: barra marinho só com o
   hambúrguer + faixa branca da logo). Slide: título centralizado e o
   botão, que o tema esconde no celular, volta — senão o slide é só enfeite.
   ========================================================== */
@media (max-width: 767px) {
  #top-menu { position: absolute; top: 0; left: 0; right: 0; z-index: 1030; min-height: 0; background: transparent; pointer-events: none; }
  #top-menu .navbar-header { display: flex; align-items: center; justify-content: flex-end; height: 68px; }
  #top-menu .navbar-toggle { pointer-events: auto; float: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 46px; height: 46px; margin: 0; padding: 0; background: #F2F7F8; border: 1px solid #DDE7EA; border-radius: 12px; }
  #top-menu .navbar-toggle .icon-bar { width: 20px; height: 2px; margin: 0; border-radius: 2px; background: #0F2A3D; }
  #top-menu .navbar-toggle[aria-expanded="true"] { background: #0F2A3D; border-color: #0F2A3D; }
  #top-menu .navbar-toggle[aria-expanded="true"] .icon-bar { background: #fff; }
  #top-menu #menu-mobile { pointer-events: auto; margin: 0 -15px; padding: 10px 20px 18px; max-height: none;
    background: #fff; border: 0; border-bottom: 1px solid #DDE7EA; box-shadow: 0 30px 40px -24px rgba(15,42,61,.45); }
  #top-menu #menu-top { margin: 0; }
  #top-menu #menu-top > li > a { padding: 15px 0; font-size: 16px; text-align: center; color: #0F2A3D; border-bottom: 1px solid #EDF2F4; }
  #top-menu #menu-top > li:last-child > a { border-bottom: 0; }
  #top-menu #menu-top > li:first-child { margin: 6px 0 8px; }
  #top-menu #menu-top > li:first-child > a { padding: 14px 0; color: #0F2A3D; background: #FB6120; border-bottom: 0; border-radius: 10px; }

  #logotipo-search { display: flex; align-items: center; height: 68px; padding: 0; border-bottom: 1px solid #DDE7EA; }
  #logotipo-search .container { width: 100%; }
  #logotipo-search .col-sm-4 { padding-right: 76px; }
  #logotipo-search img { max-height: 40px; }

  #slider .item img { height: 300px; min-height: 0; object-fit: cover; object-position: 74% center; }
  #slider .item > a::after { background: linear-gradient(180deg, rgba(15,42,61,.35) 0%, rgba(15,42,61,.88) 62%, rgba(15,42,61,.96) 100%); }
  #slider .carousel-caption { top: auto; bottom: 26px; transform: translateX(-50%); padding: 0 22px; text-align: center; }
  #slider .carousel-caption h2 { max-width: none; margin: 0 0 16px; font-size: 26px; }
  #slider .carousel-caption .btn.hidden-xs { display: inline-block !important; padding: 12px 22px; font-size: 15px; }
  #slider .carousel-control { display: none; }

  #idFree { margin-top: 24px; }
  .pv-provas { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .pv-prova { flex-direction: column; gap: 10px; padding: 18px 12px; text-align: center; }
  .pv-prova.pv-ic::before { flex: none; width: 46px; }
  .pv-prova span { font-size: 13px; }
  .pv-trilha { padding-top: 60px; }
  .pv-trilha h2, #courses-list h2.text-center, .pv-cta h2 { font-size: 29px; }
  .pv-lead, .pv-cta p { font-size: 16px; }
  .pv-etapas { gap: 14px; margin-top: 32px; }
  .pv-etapa { padding: 24px 22px 12px; text-align: center; }
  .pv-etapa > p:not(.pv-etapa-n) { min-height: 0; }
  .pv-cursos a { text-align: left; }
  #courses-list h2.text-center { margin: 56px 0 24px; }
  /* duas colunas: oito cursos em coluna única davam uma rolagem enorme */
  #courses-list #list-courses > div { width: 50%; padding-left: 7px; padding-right: 7px; }
  #list-courses .course-unit { margin-bottom: 14px; height: calc(100% - 14px); }
  #list-courses .course-unit .course-text { padding: 14px 12px; text-align: center; }
  #list-courses .course-unit .course-text h4 { font-size: 14.5px; }
  #list-courses .course-unit .course-text .btn-block { margin-top: 10px; padding: 9px 6px; font-size: 13px; }
  #list-courses .course-unit p.teacher-name a { font-size: 12px; }
  #list-courses .course-unit p.teacher-name img { width: 22px; height: 22px; margin-right: 6px; }
  #list-courses .course-unit .language-course-title { left: 8px; bottom: 8px; padding: 3px 9px; font-size: 11px; }
  .pv-cta { margin-top: 56px; padding: 60px 0; }
  .pv-produtos { grid-template-columns: 1fr; }
  .pv-produto { padding: 26px 22px; text-align: center; }
  .pv-produto li { padding-left: 0; }
  .pv-produto li::before { display: none; }
  .pv-produto .btn { align-self: stretch; }
  /* o tema esconde o rodapé inteiro no celular (hidden-xs): aqui ele volta, centralizado */
  #footer-top.hidden-xs { display: block !important; padding: 40px 0 30px; text-align: center; }
  #footer-top .col-sm-4, #footer-top .col-sm-3 { margin-bottom: 30px; }
  #footer-top .media { display: flex; flex-direction: column; align-items: center; }
  #footer-top .media-left { padding: 0 0 10px; }
  #footer-top .media-body { width: auto; }
}

/* Página do curso: a regra antiga do site divide o conteúdo programático em 2 colunas (column-count: 2).
   No celular cada coluna fica com 160px e palavras longas vazam: 21px de rolagem lateral medidos. */
@media (max-width: 767px) { #grid-course .container { column-count: 1; } }
