/* =====================================================
   ZM.COM - STYLE PRINCIPAL
   Arquivo: assets/css/style.css
===================================================== */

/* ===============================
   RESET GERAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  background: #ffffff;
  color: #222222;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
}

/* ===============================
   VARIÁVEIS GERAIS
================================ */
:root {
  --sidebar-width: 285px;
  --main-padding-x: 58px;

  --content-max-width: 1260px;
  --content-safe-margin: 24px;

  --grid-gap: 56px;

  --flag-btn-size: 44px;
  --flag-icon-size: 35px;

  --whatsapp-size: 72px;
  --whatsapp-icon-size: 38px;
}

/* ===============================
   CONTAINER PRINCIPAL
================================ */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background: #ffffff;
}

/* ===============================
   SIDEBAR LATERAL
================================ */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  min-height: 100vh;
  background: #f1f2f4;
  border-right: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(0);
  transition: transform 0.35s ease;
  scrollbar-width: thin;
  scrollbar-color: #9a9a9a #e5e5e5;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #e5e5e5;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #9a9a9a;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #555555;
}

/* ===============================
   LOGO SIDEBAR
================================ */
.sidebar-logo {
  width: calc(100% + 44px);
  min-height: 280px;
  height: 280px;
  margin-left: -22px;
  background: #eceeef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}

.sidebar-logo a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo img {
  width: 235px;
  max-width: 88%;
  height: auto;
  object-fit: contain;
}

/* ===============================
   MENU LATERAL
================================ */
.sidebar-menu {
  width: 100%;
  border-top: 1px solid #d7d7d7;
  flex-shrink: 0;
}

.sidebar-menu ul {
  width: 100%;
}

.sidebar-menu li {
  width: 100%;
  border-bottom: 1px solid #d7d7d7;
}

.sidebar-menu a {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.sidebar-menu a:hover {
  color: #000000;
  padding-left: 6px;
}

.sidebar-menu a.active {
  color: #000000;
  padding-left: 6px;
}

/* ===============================
   QR CODE
================================ */
.sidebar-qrcode {
  width: 100%;
  padding: 42px 0 30px;
  border-bottom: 1px solid #d7d7d7;
  flex-shrink: 0;
}

.sidebar-qrcode img {
  width: 160px;
  height: auto;
}

/* ===============================
   COPYRIGHT SIDEBAR
================================ */
.sidebar-copy {
  margin-top: 45px;
  padding-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #999999;
  line-height: 1.6;
  flex-shrink: 0;
}

/* ===============================
   CONTEÚDO PRINCIPAL
================================ */
.main-content {
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  padding: 28px var(--main-padding-x) 55px;
  background: #ffffff;
  overflow-x: hidden;
  transition:
    margin-left 0.35s ease,
    width 0.35s ease,
    padding 0.25s ease;
}

.main-content-home {
  padding-top: 28px;
}

/* =====================================================
   FRAME RESPONSIVO / ZOOM SAFE
===================================================== */
.responsive-layout-frame,
.zoom-safe-layout,
.responsive-content-frame,
.zoom-safe-content,
.top-header,
.zoom-safe-header {
  width: 100%;
  max-width: min(
    var(--content-max-width),
    calc(100vw - var(--sidebar-width) - (var(--main-padding-x) * 2) - var(--content-safe-margin))
  );
  margin: 0;
  overflow: visible;
}

.responsive-layout-frame,
.zoom-safe-layout {
  position: relative;
}

/* ===============================
   TOPO
================================ */
.top-header,
.zoom-safe-header {
  min-height: 135px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

/* ===============================
   BOTÃO MENU
================================ */
.menu-toggle {
  border: none;
  background: transparent;
  color: #555555;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1100;
  transition:
    color 0.25s ease,
    transform 0.35s ease;
}

.menu-toggle:hover {
  color: #000000;
}

.menu-toggle .fa-xmark::before {
  content: "\f0c9";
}

/* ===============================
   IDIOMAS
================================ */
.top-actions,
.zoom-safe-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.language-selector,
.zoom-safe-language {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  margin-top: 0;
  margin-right: 0;
  z-index: 2;
}

.flag-btn {
  width: var(--flag-btn-size);
  height: var(--flag-btn-size);
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.flag-btn:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

.flag-btn.active {
  opacity: 1;
  transform: scale(1.04);
}

.flag-btn .fi {
  width: var(--flag-icon-size);
  height: var(--flag-icon-size);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: none;
}

.flag-btn[data-lang="jp"] .fi {
  background-color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(160, 160, 160, 0.55),
    0 0 0 1px rgba(230, 230, 230, 0.9);
}

/* ===============================
   BREADCRUMB
================================ */
.site-mini-title {
  position: absolute;
  left: 0;
  top: 95px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #777777;
}

.site-mini-title a {
  color: #777777;
  transition: color 0.25s ease;
}

.site-mini-title a:hover {
  color: #000000;
}

.site-mini-title span,
.breadcrumb-separator {
  margin: 0 7px;
  color: #999999;
}

/* =====================================================
   FORMAÇÃO ACADÊMICA
===================================================== */
.academic-page .responsive-layout-frame,
.academic-page .zoom-safe-layout,
.academic-page .responsive-content-frame,
.academic-page .zoom-safe-content,
.academic-page .top-header,
.academic-page .zoom-safe-header {
  width: 100%;
  max-width: 1260px;
  margin: 0;
  overflow: visible;
}

.academic-section {
  width: 100%;
  max-width: 1260px;
  overflow: visible;
}

.academic-title-block,
.certifications-title-block {
  width: 100%;
  margin-bottom: 38px;
}

.academic-title-block h1,
.certifications-title-block h1 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.academic-title-block p,
.certifications-title-block p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.45;
}

/* ===============================
   GRID ACADÊMICO
================================ */
.academic-grid,
.certifications-grid,
.zoom-safe-certifications-grid {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: minmax(0, 520px);
  column-gap: 26px;
  row-gap: 28px;
  justify-content: start;
  align-items: stretch;
  overflow: visible;
}

/* ===============================
   CARD ACADÊMICO
================================ */
.academic-card,
.certification-card {
  width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.045);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.academic-card.show,
.certification-card.show {
  opacity: 1;
  transform: translateY(0);
}

.academic-card:hover,
.academic-card.hovered,
.certification-card:hover,
.certification-card.hovered {
  transform: translateY(-4px);
  border-color: #cfcfcf;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.academic-card a,
.certification-card a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 34px 34px 32px;
}

/* ===============================
   LOGO UFRRJ / UNIVERSIDADE
================================ */
.academic-logo,
.certification-logo {
  width: 100%;
  min-height: 72px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.academic-logo img,
.certification-logo img {
  width: auto;
  max-width: 210px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

/* fallback se a imagem não carregar */
.academic-logo-ufrrj {
  font-size: 0;
}

.academic-logo-ufrrj img {
  max-width: 210px;
  max-height: 70px;
}

/* ===============================
   CONTEÚDO ACADÊMICO
================================ */
.academic-content,
.certification-content {
  width: 100%;
}

.academic-group,
.certification-group {
  padding: 0;
  margin: 0;
  border-bottom: none;
}

.academic-group h2,
.certification-group h2 {
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
}

.academic-list,
.academic-group ul,
.certification-group ul {
  padding-left: 19px;
  list-style: disc;
}

.academic-list li,
.academic-group li,
.certification-group li {
  list-style: disc;
  margin-bottom: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #222222;
  line-height: 1.45;
}

.academic-list li:last-child,
.academic-group li:last-child,
.certification-group li:last-child {
  margin-bottom: 0;
}

/* ===============================
   RODAPÉ DO CONTEÚDO
================================ */
.content-footer,
.home-content-footer,
.zoom-safe-footer {
  width: 100%;
  max-width: 1260px;
  min-height: 60px;
  margin: 65px 0 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-links a {
  font-size: 26px;
  color: #050505;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.75;
}

/* =====================================================
   WHATSAPP
================================ */
.whatsapp-area,
.zoom-safe-whatsapp-area {
  position: fixed;
  left: var(--sidebar-width);
  right: 0;
  bottom: clamp(18px, 2vw, 34px);
  height: 1px;
  z-index: 1200;
  pointer-events: none;
}

.whatsapp-inner,
.zoom-safe-whatsapp-inner {
  width: min(
    var(--content-max-width),
    calc(100vw - var(--sidebar-width) - (var(--main-padding-x) * 2) - var(--content-safe-margin))
  );
  height: 1px;
  margin-left: var(--main-padding-x);
  position: relative;
  pointer-events: none;
}

.whatsapp-float,
.zoom-safe-whatsapp {
  width: var(--whatsapp-size);
  height: var(--whatsapp-size);
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--whatsapp-icon-size);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 1200;
  pointer-events: auto;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    width 0.25s ease,
    height 0.25s ease,
    font-size 0.25s ease;
}

.whatsapp-float:hover,
.zoom-safe-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
}

/* ===============================
   ESTADO DE PÁGINA CARREGADA
================================ */
body.page-loaded {
  opacity: 1;
}

/* =====================================================
   CONTROLE GLOBAL DO MENU
================================ */
body.sidebar-open .sidebar {
  transform: translateX(0);
}

body.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
}

body.sidebar-open .main-content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
}

body.sidebar-collapsed .main-content {
  margin-left: 0;
  width: 100%;
}

body.sidebar-collapsed .responsive-layout-frame,
body.sidebar-collapsed .zoom-safe-layout,
body.sidebar-collapsed .responsive-content-frame,
body.sidebar-collapsed .zoom-safe-content,
body.sidebar-collapsed .top-header,
body.sidebar-collapsed .zoom-safe-header {
  max-width: min(
    var(--content-max-width),
    calc(100vw - (var(--main-padding-x) * 2) - var(--content-safe-margin))
  );
}

body.sidebar-collapsed .whatsapp-area,
body.sidebar-collapsed .zoom-safe-whatsapp-area {
  left: 0;
}

body.sidebar-collapsed .whatsapp-inner,
body.sidebar-collapsed .zoom-safe-whatsapp-inner {
  width: min(
    var(--content-max-width),
    calc(100vw - (var(--main-padding-x) * 2) - var(--content-safe-margin))
  );
}

/* =====================================================
   TELAS GRANDES / ZOOM 90% A 75%
================================ */
@media (min-width: 1360px) and (max-width: 1919px) {
  :root {
    --content-max-width: 1260px;
    --flag-btn-size: 44px;
    --flag-icon-size: 35px;
    --whatsapp-size: 72px;
    --whatsapp-icon-size: 38px;
  }

  .academic-grid,
  .certifications-grid,
  .zoom-safe-certifications-grid {
    grid-template-columns: minmax(0, 520px);
    max-width: 1260px;
  }
}

/* =====================================================
   SMART TV / TELAS MUITO GRANDES
================================ */
@media (min-width: 1920px) {
  :root {
    --content-max-width: 1260px;
    --flag-btn-size: 50px;
    --flag-icon-size: 40px;
    --whatsapp-size: 86px;
    --whatsapp-icon-size: 46px;
  }

  .responsive-layout-frame,
  .zoom-safe-layout,
  .responsive-content-frame,
  .zoom-safe-content,
  .top-header,
  .zoom-safe-header {
    max-width: var(--content-max-width);
  }

  .academic-grid,
  .certifications-grid,
  .zoom-safe-certifications-grid {
    grid-template-columns: minmax(0, 520px);
    max-width: 1260px;
  }
}

/* =====================================================
   NOTEBOOKS / DESKTOP ESTREITO
================================ */
@media (min-width: 993px) and (max-width: 1359px) {
  :root {
    --main-padding-x: 42px;
    --content-max-width: 100%;
    --flag-btn-size: 40px;
    --flag-icon-size: 32px;
    --whatsapp-size: 64px;
    --whatsapp-icon-size: 34px;
  }

  .responsive-layout-frame,
  .zoom-safe-layout,
  .responsive-content-frame,
  .zoom-safe-content,
  .top-header,
  .zoom-safe-header {
    width: 100%;
    max-width: 100%;
  }

  .academic-grid,
  .certifications-grid,
  .zoom-safe-certifications-grid {
    grid-template-columns: minmax(0, 520px);
    max-width: 100%;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 38px;
  }
}

/* =====================================================
   SIDEBAR MENOR ENTRE 993px E 1200px
================================ */
@media (min-width: 993px) and (max-width: 1200px) {
  :root {
    --sidebar-width: 250px;
    --main-padding-x: 42px;
  }

  .sidebar {
    width: var(--sidebar-width);
    padding: 0 18px;
  }

  .sidebar-logo {
    width: calc(100% + 36px);
    margin-left: -18px;
    min-height: 250px;
    height: 250px;
  }

  .sidebar-logo img {
    width: 215px;
    max-width: 88%;
  }

  .main-content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    padding: 28px var(--main-padding-x) 55px;
  }
}

/* =====================================================
   TABLETS E TELAS MÉDIAS
================================ */
@media (max-width: 992px) {
  :root {
    --sidebar-width: 270px;
    --main-padding-x: 34px;
    --content-max-width: 100%;
    --flag-btn-size: 39px;
    --flag-icon-size: 31px;
    --whatsapp-size: 58px;
    --whatsapp-icon-size: 31px;
  }

  .sidebar {
    width: var(--sidebar-width);
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding: 0 22px 80px;
    box-shadow: 8px 0 26px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-logo {
    width: calc(100% + 44px);
    margin-left: -22px;
  }

  .sidebar-logo img {
    width: 220px;
    max-width: 88%;
  }

  .sidebar-copy {
    margin-top: 35px;
    padding-bottom: 90px;
  }

  .main-content,
  body.sidebar-open .main-content,
  body.sidebar-collapsed .main-content {
    width: 100%;
    margin-left: 0;
    padding: 28px var(--main-padding-x) 55px;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  body.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .responsive-layout-frame,
  .zoom-safe-layout,
  .responsive-content-frame,
  .zoom-safe-content,
  .top-header,
  .zoom-safe-header {
    width: 100%;
    max-width: 100%;
  }

  .top-header,
  .zoom-safe-header {
    min-height: 135px;
  }

  .site-mini-title {
    top: 85px;
    font-size: 13px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 8px;
  }

  .academic-grid,
  .certifications-grid,
  .zoom-safe-certifications-grid {
    grid-template-columns: minmax(0, 520px);
    max-width: 100%;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 34px;
  }

  .academic-title-block p,
  .certifications-title-block p {
    font-size: 15px;
  }

  .academic-card a,
  .certification-card a {
    padding: 28px 28px 26px;
  }

  .academic-logo,
  .certification-logo {
    min-height: 64px;
    margin-bottom: 22px;
  }

  .academic-logo img,
  .certification-logo img {
    max-height: 62px;
    max-width: 190px;
  }

  .whatsapp-area,
  .zoom-safe-whatsapp-area,
  body.sidebar-collapsed .whatsapp-area,
  body.sidebar-collapsed .zoom-safe-whatsapp-area {
    left: 0;
    right: 0;
  }

  .whatsapp-inner,
  .zoom-safe-whatsapp-inner {
    width: calc(100% - (var(--main-padding-x) * 2));
    margin-left: var(--main-padding-x);
  }
}

/* Fallback para navegadores que não entendem 100dvh */
@supports not (height: 100dvh) {
  @media (max-width: 992px) {
    .sidebar {
      height: 100vh;
      min-height: 100vh;
      max-height: 100vh;
      padding-bottom: 100px;
    }

    .sidebar-copy {
      padding-bottom: 110px;
    }
  }
}

/* =====================================================
   CELULARES GRANDES
================================ */
@media (max-width: 768px) {
  :root {
    --main-padding-x: 24px;
    --flag-btn-size: 37px;
    --flag-icon-size: 29px;
    --whatsapp-size: 56px;
    --whatsapp-icon-size: 30px;
  }

  .main-content,
  body.sidebar-open .main-content,
  body.sidebar-collapsed .main-content {
    padding: 24px var(--main-padding-x) 45px;
  }

  .top-header,
  .zoom-safe-header {
    min-height: 130px;
  }

  .menu-toggle {
    font-size: 25px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 8px;
  }

  .site-mini-title {
    top: 82px;
    font-size: 13px;
  }

  .academic-title-block,
  .certifications-title-block {
    margin-bottom: 28px;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 30px;
  }

  .academic-title-block p,
  .certifications-title-block p {
    font-size: 14px;
  }

  .academic-grid,
  .certifications-grid,
  .zoom-safe-certifications-grid {
    grid-template-columns: 1fr;
    row-gap: 22px;
    max-width: 100%;
  }

  .academic-card a,
  .certification-card a {
    padding: 24px 22px;
  }

  .academic-logo,
  .certification-logo {
    min-height: 56px;
    margin-bottom: 20px;
  }

  .academic-logo img,
  .certification-logo img {
    max-width: 175px;
    max-height: 54px;
  }

  .academic-group h2,
  .certification-group h2 {
    font-size: 15px;
  }

  .academic-list li,
  .academic-group li,
  .certification-group li {
    font-size: 13px;
  }

  .content-footer,
  .home-content-footer,
  .zoom-safe-footer {
    margin-top: 52px;
  }

  .social-links {
    justify-content: center;
  }
}

/* =====================================================
   CELULARES MÉDIOS
================================ */
@media (max-width: 576px) {
  :root {
    --main-padding-x: 18px;
    --flag-btn-size: 35px;
    --flag-icon-size: 27px;
    --whatsapp-size: 54px;
    --whatsapp-icon-size: 28px;
  }

  .sidebar {
    width: 245px;
    padding: 0 18px 90px;
  }

  .sidebar-logo {
    width: calc(100% + 36px);
    margin-left: -18px;
    height: 220px;
    min-height: 220px;
  }

  .sidebar-logo img {
    width: 190px;
    max-width: 88%;
  }

  .sidebar-menu a {
    font-size: 10px;
    padding: 13px 0;
  }

  .sidebar-qrcode {
    padding: 35px 0 26px;
  }

  .sidebar-qrcode img {
    width: 135px;
  }

  .sidebar-copy {
    margin-top: 35px;
    padding-bottom: 100px;
    font-size: 10px;
  }

  .main-content,
  body.sidebar-open .main-content,
  body.sidebar-collapsed .main-content {
    padding: 22px var(--main-padding-x) 42px;
  }

  .top-header,
  .zoom-safe-header {
    min-height: 125px;
  }

  .menu-toggle {
    font-size: 24px;
  }

  .site-mini-title {
    top: 78px;
    font-size: 12px;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 28px;
  }

  .academic-card,
  .certification-card {
    border-radius: 7px;
  }

  .academic-card a,
  .certification-card a {
    padding: 22px 18px;
  }

  .academic-logo img,
  .certification-logo img {
    max-width: 160px;
  }
}

/* =====================================================
   MOTOROLA G7 PLAY / POWER E SIMILARES
================================ */
@media (max-width: 420px) {
  :root {
    --main-padding-x: 15px;
    --flag-btn-size: 33px;
    --flag-icon-size: 25px;
    --whatsapp-size: 52px;
    --whatsapp-icon-size: 27px;
  }

  .main-content,
  body.sidebar-open .main-content,
  body.sidebar-collapsed .main-content {
    padding: 20px var(--main-padding-x) 40px;
  }

  .top-header,
  .zoom-safe-header {
    min-height: 118px;
  }

  .menu-toggle {
    font-size: 22px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 6px;
  }

  .site-mini-title {
    top: 74px;
    font-size: 12px;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 26px;
  }

  .academic-title-block p,
  .certifications-title-block p {
    font-size: 13px;
  }

  .academic-card a,
  .certification-card a {
    padding: 20px 16px;
  }

  .academic-logo,
  .certification-logo {
    min-height: 52px;
    margin-bottom: 18px;
  }

  .academic-logo img,
  .certification-logo img {
    max-width: 145px;
    max-height: 50px;
  }

  .academic-group h2,
  .certification-group h2 {
    font-size: 14px;
  }

  .academic-list,
  .academic-group ul,
  .certification-group ul {
    padding-left: 16px;
  }

  .academic-list li,
  .academic-group li,
  .certification-group li {
    font-size: 12px;
  }

  .content-footer,
  .home-content-footer,
  .zoom-safe-footer {
    margin-top: 45px;
  }

  .social-links {
    gap: 18px;
  }

  .social-links a {
    font-size: 22px;
  }
}

/* =====================================================
   TELAS MUITO PEQUENAS
================================ */
@media (max-width: 360px) {
  :root {
    --main-padding-x: 13px;
    --flag-btn-size: 31px;
    --flag-icon-size: 23px;
    --whatsapp-size: 50px;
    --whatsapp-icon-size: 26px;
  }

  .sidebar {
    width: 230px;
    padding-bottom: 100px;
  }

  .sidebar-logo {
    height: 200px;
    min-height: 200px;
  }

  .sidebar-logo img {
    width: 175px;
    max-width: 88%;
  }

  .sidebar-copy {
    padding-bottom: 110px;
  }

  .main-content,
  body.sidebar-open .main-content,
  body.sidebar-collapsed .main-content {
    padding: 18px var(--main-padding-x) 38px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 5px;
  }

  .academic-title-block h1,
  .certifications-title-block h1 {
    font-size: 24px;
  }

  .academic-logo img,
  .certification-logo img {
    max-width: 135px;
  }
}