/* =====================================================
   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;
  --card-max-width: 602px;
  --card-image-height: 225px;

  --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: #666666;
  padding-left: 0;
}

/* ===============================
   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,
.equalized-layout-frame,
.equalized-content-frame,
.equalized-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,
.equalized-layout-frame {
  position: relative;
}

/* ===============================
   TOPO
================================ */
.top-header,
.zoom-safe-header,
.equalized-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";
}

/* ===============================
   AÇÕES DO TOPO / 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);
}

/* ===============================
   TÍTULO PEQUENO / 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;
}

/* =====================================================
   GRID PRINCIPAL - BASE
===================================================== */
.services-section,
.home-services-section,
.zoom-safe-section,
.professional-services-section,
.consulting-services-section,
.equalized-services-section {
  width: 100%;
  padding-top: 0;
  scroll-margin-top: 20px;
  overflow: visible;
}

.services-grid,
.home-services-grid,
.responsive-grid,
.zoom-safe-grid,
.professional-services-grid,
.consulting-services-grid,
.equalized-services-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 65px;
  justify-content: start;
  align-items: start;
  margin: 0;
  overflow: visible;
}

/* ===============================
   CARD PADRÃO
================================ */
.service-card,
.home-service-card,
.zoom-safe-card,
.professional-service-card,
.consulting-service-card,
.equalized-service-card {
  width: 100%;
  max-width: var(--card-max-width);
  min-width: 0;
  position: relative;
  padding-bottom: 34px;
  border-bottom: 1px solid #e5e5e5;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.35s ease;
}

.service-card.show,
.home-service-card.show,
.zoom-safe-card.show,
.professional-service-card.show,
.consulting-service-card.show,
.equalized-service-card.show {
  opacity: 1;
  transform: translateY(0);
}

.service-card.hovered,
.service-card:hover,
.home-service-card.hovered,
.home-service-card:hover,
.zoom-safe-card.hovered,
.zoom-safe-card:hover,
.professional-service-card.hovered,
.professional-service-card:hover,
.consulting-service-card.hovered,
.consulting-service-card:hover,
.equalized-service-card.hovered,
.equalized-service-card:hover {
  transform: translateY(-4px);
}

.service-card a,
.home-service-card a,
.zoom-safe-card a,
.professional-service-card a,
.consulting-service-card a,
.equalized-service-card a {
  display: block;
  width: 100%;
}

.home-service-card:nth-child(odd)::after,
.service-card:nth-child(odd)::after,
.zoom-safe-card:nth-child(odd)::after,
.professional-service-card:nth-child(odd)::after,
.consulting-service-card:nth-child(odd)::after,
.equalized-service-card:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: calc(var(--grid-gap) / -2);
  top: 0;
  width: 1px;
  height: calc(100% - 5px);
  background: #dddddd;
}

/* ===============================
   IMAGEM PADRÃO DO CARD
================================ */
.service-image,
.home-service-image,
.service-card figure,
.zoom-safe-image,
.professional-service-image,
.consulting-service-image,
.equalized-service-image {
  width: 100%;
  max-width: var(--card-max-width);
  height: var(--card-image-height);
  max-height: var(--card-image-height);
  overflow: hidden;
  background: #f3f3f3;
  border-radius: 3px;
}

.service-image img,
.home-service-image img,
.service-card figure img,
.zoom-safe-image img,
.professional-service-image img,
.consulting-service-image img,
.equalized-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.service-card:hover figure img,
.service-card.hovered figure img,
.home-service-card:hover .home-service-image img,
.home-service-card.hovered .home-service-image img,
.zoom-safe-card:hover .zoom-safe-image img,
.zoom-safe-card.hovered .zoom-safe-image img,
.professional-service-card:hover .professional-service-image img,
.professional-service-card.hovered .professional-service-image img,
.consulting-service-card:hover .consulting-service-image img,
.consulting-service-card.hovered .consulting-service-image img,
.equalized-service-card:hover .equalized-service-image img,
.equalized-service-card.hovered .equalized-service-image img {
  transform: scale(1.03);
  filter: brightness(0.95);
}

.service-card h2,
.home-service-card h2,
.zoom-safe-card h2,
.professional-service-card h2,
.consulting-service-card h2,
.equalized-service-card h2 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  line-height: 1.35;
}

/* =====================================================
   EQUALIZAÇÃO ENTRE INDEX / CONSULTING / PROFESSIONAL
===================================================== */
.layout-equalized-page .equalized-layout-frame,
.layout-equalized-page .equalized-content-frame,
.layout-equalized-page .equalized-header {
  width: 100%;
  max-width: 1260px;
  margin: 0;
  overflow: visible;
}

.layout-equalized-page .equalized-services-section {
  width: 100%;
  max-width: 1260px;
  overflow: visible;
}

.layout-equalized-page .equalized-services-grid {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 602px));
  column-gap: 56px;
  row-gap: 65px;
  justify-content: start;
  align-items: start;
}

.layout-equalized-page .equalized-service-card {
  width: 100%;
  max-width: 602px;
  min-width: 0;
}

.layout-equalized-page .equalized-service-image {
  width: 100%;
  max-width: 602px;
  height: 225px;
  max-height: 225px;
  overflow: hidden;
}

.layout-equalized-page .equalized-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =====================================================
   PÁGINA CONSULTING
===================================================== */
.consulting-page .consulting-services-grid {
  max-width: 1260px;
}

.consulting-page .consulting-service-card:nth-child(2n)::after {
  display: none;
}

.consulting-page .consulting-service-card:nth-child(3)::after {
  display: none;
}

/* =====================================================
   PÁGINA PROFESSIONAL
===================================================== */
.professional-page .responsive-layout-frame,
.professional-page .zoom-safe-layout,
.professional-page .responsive-content-frame,
.professional-page .zoom-safe-content,
.professional-page .top-header,
.professional-page .zoom-safe-header {
  width: 100%;
  max-width: 1260px;
  margin: 0;
  overflow: visible;
}

.professional-page .services-grid,
.professional-page .home-services-grid,
.professional-page .responsive-grid,
.professional-page .zoom-safe-grid,
.professional-page .professional-services-grid {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(2, 602px);
  column-gap: 56px;
  row-gap: 48px;
  justify-content: start;
  align-items: start;
  margin: 0;
  overflow: visible;
}

.professional-page .service-card,
.professional-page .home-service-card,
.professional-page .zoom-safe-card,
.professional-page .professional-service-card {
  width: 602px;
  max-width: 602px;
  min-width: 0;
  padding-bottom: 24px;
}

.professional-page .service-image,
.professional-page .home-service-image,
.professional-page .zoom-safe-image,
.professional-page .professional-service-image,
.professional-page .service-card figure {
  width: 602px;
  max-width: 602px;
  height: 120px;
  max-height: 120px;
  overflow: hidden;
}

.professional-page .service-image img,
.professional-page .home-service-image img,
.professional-page .zoom-safe-image img,
.professional-page .professional-service-image img,
.professional-page .service-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.professional-page .service-card h2,
.professional-page .home-service-card h2,
.professional-page .zoom-safe-card h2,
.professional-page .professional-service-card h2 {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.35;
}

.professional-page .professional-service-card:nth-child(odd)::after {
  display: block;
  right: -28px;
}

.professional-page .professional-service-card:nth-child(even)::after {
  display: none;
}

/* =====================================================
   PÁGINA ABOUT / QUEM SOU EU
===================================================== */
.about-page .responsive-layout-frame,
.about-page .zoom-safe-layout,
.about-page .responsive-content-frame,
.about-page .zoom-safe-content,
.about-page .top-header,
.about-page .zoom-safe-header {
  width: 100%;
  max-width: 1260px;
  margin: 0;
  overflow: visible;
}

.about-section {
  width: 100%;
  max-width: 1260px;
  overflow: visible;
}

.section-title-block,
.about-title-block {
  width: 100%;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

.section-title-block h2,
.about-title-block h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.section-title-block p,
.about-title-block p {
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #444444;
  line-height: 1.5;
}

.about-card,
.zoom-safe-about-card {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: 490px minmax(0, 1fr);
  column-gap: 42px;
  align-items: center;
  padding: 28px;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.about-photo,
.zoom-safe-about-photo {
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: none;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo img,
.zoom-safe-about-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.about-text {
  width: 100%;
  min-width: 0;
}

.about-text h2 {
  font-size: 34px;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 22px;
}

.about-text p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-profile-grid,
.zoom-safe-profile-grid {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  margin-bottom: 36px;
  padding: 28px 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.about-profile-item {
  padding: 0 32px;
  text-align: center;
  border-right: 1px solid #dddddd;
}

.about-profile-item:last-child {
  border-right: none;
}

.about-profile-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f1f2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 24px;
}

.about-profile-item h3 {
  font-size: 23px;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-profile-item p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #333333;
  line-height: 1.55;
}

/* =====================================================
   DESTAQUE FINAL - IMAGEM SEMPRE PREENCHENDO A MOLDURA
===================================================== */
.about-highlight-card,
.zoom-safe-highlight-card {
  width: 100%;
  max-width: 1260px;
  margin-bottom: 36px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.about-highlight-image,
.zoom-safe-highlight-image,
.highlight-cover-image {
  width: 100%;
  height: clamp(260px, 24vw, 380px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #071a2d;
  border-radius: 8px 8px 0 0;
  display: block;
}

.about-highlight-image img,
.zoom-safe-highlight-image img,
.highlight-cover-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 32%;
}

.about-highlight-text,
.about-highlight-content {
  padding: 28px 36px 32px;
}

.about-highlight-text h2,
.about-highlight-content h2 {
  font-size: 30px;
  color: #111111;
  line-height: 1.2;
  margin: 0 0 14px;
}

.about-highlight-text p,
.about-highlight-content p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.65;
}

/* =====================================================
   PÁGINA CERTIFICAÇÕES
===================================================== */
.certifications-page .responsive-layout-frame,
.certifications-page .zoom-safe-layout,
.certifications-page .responsive-content-frame,
.certifications-page .zoom-safe-content,
.certifications-page .top-header,
.certifications-page .zoom-safe-header {
  width: 100%;
  max-width: 1260px;
  margin: 0;
  overflow: visible;
}

.certifications-section {
  width: 100%;
  max-width: 1260px;
  overflow: visible;
}

.certifications-title-block {
  width: 100%;
  margin-bottom: 26px;
}

.certifications-title-block h1 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.certifications-title-block p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.45;
}

.certifications-grid,
.zoom-safe-certifications-grid {
  width: 100%;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 28px;
  justify-content: start;
  align-items: stretch;
  overflow: visible;
}

.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;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.certification-card:hover {
  transform: translateY(-4px);
  border-color: #cfcfcf;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.certification-card a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 28px 26px 24px;
}

.certification-logo {
  width: 100%;
  height: 60px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.certification-logo img {
  width: auto;
  max-width: 210px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.certification-logo-microsoft img {
  max-width: 210px;
}

.certification-logo-google img {
  max-width: 185px;
}

.certification-logo-aws img {
  max-width: 120px;
  max-height: 56px;
}

.certification-logo-ancord img,
.certification-logo-anbima img {
  max-width: 195px;
  max-height: 58px;
}

.certification-content {
  width: 100%;
}

.certification-group {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e2e2e2;
}

.certification-group-last {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.certification-group h2 {
  margin-bottom: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
}

.certification-group ul {
  padding-left: 18px;
  list-style: disc;
}

.certification-group li {
  list-style: disc;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #333333;
  line-height: 1.45;
}

.certification-group li:last-child {
  margin-bottom: 0;
}

/* ===============================
   RODAPÉ DO CONTEÚDO
================================ */
.content-footer,
.home-content-footer,
.zoom-safe-footer,
.equalized-footer {
  width: 100%;
  max-width: 100%;
  min-height: 60px;
  margin: 65px 0 0;
}

.professional-page .content-footer,
.professional-page .home-content-footer,
.professional-page .zoom-safe-footer,
.consulting-page .content-footer,
.consulting-page .home-content-footer,
.consulting-page .zoom-safe-footer,
.about-page .content-footer,
.about-page .home-content-footer,
.about-page .zoom-safe-footer,
.certifications-page .content-footer,
.certifications-page .home-content-footer,
.certifications-page .zoom-safe-footer,
.layout-equalized-page .equalized-footer {
  width: 100%;
  max-width: 1260px;
  margin-top: 42px;
}

.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 - ZOOM SAFE
================================ */
.whatsapp-area,
.zoom-safe-whatsapp-area,
.equalized-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,
.equalized-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,
.equalized-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,
.equalized-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,
body.sidebar-collapsed .equalized-layout-frame,
body.sidebar-collapsed .equalized-content-frame,
body.sidebar-collapsed .equalized-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,
body.sidebar-collapsed .equalized-whatsapp-area {
  left: 0;
}

body.sidebar-collapsed .whatsapp-inner,
body.sidebar-collapsed .zoom-safe-whatsapp-inner,
body.sidebar-collapsed .equalized-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;
    --card-max-width: 602px;
    --grid-gap: 56px;
    --card-image-height: 225px;

    --flag-btn-size: 44px;
    --flag-icon-size: 35px;

    --whatsapp-size: 72px;
    --whatsapp-icon-size: 38px;
  }

  .responsive-layout-frame,
  .zoom-safe-layout,
  .responsive-content-frame,
  .zoom-safe-content,
  .top-header,
  .zoom-safe-header,
  .equalized-layout-frame,
  .equalized-content-frame,
  .equalized-header {
    max-width: min(
      var(--content-max-width),
      calc(100vw - var(--sidebar-width) - (var(--main-padding-x) * 2) - var(--content-safe-margin))
    );
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: clamp(280px, 24vw, 360px);
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-position: center 32%;
  }
}

/* =====================================================
   SMART TV / TELAS MUITO GRANDES
================================ */
@media (min-width: 1920px) {
  :root {
    --content-max-width: 1260px;
    --card-max-width: 602px;
    --grid-gap: 56px;
    --card-image-height: 225px;

    --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,
  .equalized-layout-frame,
  .equalized-content-frame,
  .equalized-header {
    max-width: var(--content-max-width);
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 390px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-position: center 34%;
  }
}

/* =====================================================
   NOTEBOOKS / DESKTOP ESTREITO
================================ */
@media (min-width: 993px) and (max-width: 1359px) {
  :root {
    --main-padding-x: 42px;
    --content-max-width: 100%;
    --card-max-width: 100%;
    --grid-gap: 32px;
    --card-image-height: 205px;

    --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,
  .equalized-layout-frame,
  .equalized-content-frame,
  .equalized-header {
    width: 100%;
    max-width: 100%;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: clamp(280px, 24vw, 360px);
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-position: center 32%;
  }
}

/* =====================================================
   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%;
    --card-max-width: 100%;
    --grid-gap: 42px;
    --card-image-height: 210px;

    --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,
  .equalized-layout-frame,
  .equalized-content-frame,
  .equalized-header {
    width: 100%;
    max-width: 100%;
  }

  .top-header,
  .zoom-safe-header,
  .equalized-header {
    min-height: 135px;
  }

  .site-mini-title {
    top: 85px;
    font-size: 13px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 8px;
  }

  .about-card,
  .zoom-safe-about-card {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 24px;
  }

  .about-photo,
  .zoom-safe-about-photo {
    height: auto;
    min-height: unset;
  }

  .about-photo img,
  .zoom-safe-about-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-profile-grid,
  .zoom-safe-profile-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .about-profile-item {
    border-right: none;
    border-bottom: 1px solid #dddddd;
    padding: 28px 34px;
  }

  .about-profile-item:last-child {
    border-bottom: none;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 270px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-fit: cover;
    object-position: center 30%;
  }

  .whatsapp-area,
  .zoom-safe-whatsapp-area,
  .equalized-whatsapp-area,
  body.sidebar-collapsed .whatsapp-area,
  body.sidebar-collapsed .zoom-safe-whatsapp-area,
  body.sidebar-collapsed .equalized-whatsapp-area {
    left: 0;
    right: 0;
  }

  .whatsapp-inner,
  .zoom-safe-whatsapp-inner,
  .equalized-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;
    --grid-gap: 0px;
    --card-image-height: 230px;

    --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,
  .equalized-header {
    min-height: 130px;
  }

  .menu-toggle {
    font-size: 25px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 8px;
  }

  .site-mini-title {
    top: 82px;
    font-size: 13px;
  }

  .services-grid,
  .home-services-grid,
  .responsive-grid,
  .zoom-safe-grid,
  .professional-services-grid,
  .consulting-services-grid,
  .equalized-services-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .service-card,
  .home-service-card,
  .zoom-safe-card,
  .professional-service-card,
  .consulting-service-card,
  .equalized-service-card {
    max-width: 100%;
    padding-bottom: 28px;
  }

  .home-service-card:nth-child(odd)::after,
  .service-card:nth-child(odd)::after,
  .zoom-safe-card:nth-child(odd)::after,
  .professional-service-card:nth-child(odd)::after,
  .consulting-service-card:nth-child(odd)::after,
  .equalized-service-card:nth-child(odd)::after {
    display: none;
  }

  .service-image,
  .home-service-image,
  .service-card figure,
  .zoom-safe-image,
  .professional-service-image,
  .consulting-service-image,
  .equalized-service-image {
    width: 100%;
    max-width: 100%;
    height: 230px;
    max-height: 230px;
  }

  .service-card h2,
  .home-service-card h2,
  .zoom-safe-card h2,
  .professional-service-card h2,
  .consulting-service-card h2,
  .equalized-service-card h2 {
    font-size: 17px;
    margin-top: 17px;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 245px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-fit: cover;
    object-position: center 28%;
  }

  .about-highlight-text,
  .about-highlight-content {
    padding: 24px 24px 28px;
  }

  .about-highlight-text h2,
  .about-highlight-content h2 {
    font-size: 27px;
  }

  .about-highlight-text p,
  .about-highlight-content p {
    font-size: 15px;
  }

  .content-footer,
  .home-content-footer,
  .zoom-safe-footer,
  .equalized-footer {
    margin-top: 52px;
  }

  .social-links {
    justify-content: center;
  }
}

/* =====================================================
   CELULARES MÉDIOS
================================ */
@media (max-width: 576px) {
  :root {
    --main-padding-x: 18px;
    --card-image-height: 205px;

    --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,
  .equalized-header {
    min-height: 125px;
  }

  .menu-toggle {
    font-size: 24px;
  }

  .site-mini-title {
    top: 78px;
    font-size: 12px;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 225px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-fit: cover;
    object-position: center 26%;
  }

  .about-highlight-text,
  .about-highlight-content {
    padding: 22px 20px 26px;
  }

  .about-highlight-text h2,
  .about-highlight-content h2 {
    font-size: 25px;
  }

  .about-highlight-text p,
  .about-highlight-content p {
    font-size: 14px;
  }
}

/* =====================================================
   MOTOROLA G7 PLAY / POWER E SIMILARES
================================ */
@media (max-width: 420px) {
  :root {
    --main-padding-x: 15px;
    --card-image-height: 185px;

    --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,
  .equalized-header {
    min-height: 118px;
  }

  .menu-toggle {
    font-size: 22px;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 6px;
  }

  .site-mini-title {
    top: 74px;
    font-size: 12px;
  }

  .service-image,
  .home-service-image,
  .service-card figure,
  .zoom-safe-image,
  .professional-service-image,
  .consulting-service-image,
  .equalized-service-image {
    width: 100%;
    max-width: 100%;
    height: 185px;
    max-height: 185px;
  }

  .service-card h2,
  .home-service-card h2,
  .zoom-safe-card h2,
  .professional-service-card h2,
  .consulting-service-card h2,
  .equalized-service-card h2 {
    font-size: 14px;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 210px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-fit: cover;
    object-position: center 24%;
  }

  .about-highlight-text,
  .about-highlight-content {
    padding: 20px 18px 24px;
  }

  .about-highlight-text h2,
  .about-highlight-content h2 {
    font-size: 23px;
  }

  .about-highlight-text p,
  .about-highlight-content p {
    font-size: 13px;
    line-height: 1.6;
  }

  .content-footer,
  .home-content-footer,
  .zoom-safe-footer,
  .equalized-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;
    --card-image-height: 165px;

    --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;
  }

  .about-highlight-image,
  .zoom-safe-highlight-image,
  .highlight-cover-image {
    height: 195px;
  }

  .about-highlight-image img,
  .zoom-safe-highlight-image img,
  .highlight-cover-image img {
    object-fit: cover;
    object-position: center 22%;
  }

  .language-selector,
  .zoom-safe-language {
    gap: 5px;
  }
}