/* Área Geschäftskunden — estilos isolados do front particulares */

:root {
  --emp-title: #275da0;
  --emp-text: #31445f;
  --emp-muted: #5b6a80;
  --emp-card-bg: rgba(255, 255, 255, 0.88);
  --emp-card-border: rgba(34, 74, 127, 0.1);
  --emp-btn-start: #2f6db0;
  --emp-btn-end: #255994;
}

/* —— Menu (index) —— */
body.empresas-menu {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--emp-text);
  background: url("/img/capa-site-web.jpg") center / cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  padding: 0;
}

body.empresas-menu .site-header--empresas {
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.empresas-menu .menu-screen {
  width: min(1100px, 100%);
  flex: 1;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto auto;
  gap: 1.25rem;
  align-content: center;
  text-align: center;
}

.empresas-menu .top-controls {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.empresas-menu .profile-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.empresas-menu .profile-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

.empresas-menu h1 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-top: 0.4rem;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.empresas-menu .subtitle {
  font-size: clamp(1rem, 2vw, 2rem);
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.empresas-menu .cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 175px));
  gap: 0.85rem;
  width: min(980px, 100%);
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.empresas-menu .card {
  background: var(--emp-card-bg);
  border: 1px solid var(--emp-card-border);
  border-radius: 14px;
  padding: 1rem clamp(0.85rem, 2.2vw, 1.15rem) 1.1rem;
  min-height: 220px;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--emp-text);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 24px rgba(35, 74, 121, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empresas-menu .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(35, 74, 121, 0.2);
}

.empresas-menu .icon {
  width: 90px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background-color: #e8f0fa;
  font-size: 2rem;
}

.empresas-menu .icon.icon--photo {
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, #fefefe, #dce9f8);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.empresas-menu .icon.icon--logo {
  background-color: #fff;
  background-size: 72%;
  background-position: center;
  background-repeat: no-repeat;
}

.empresas-menu .card-label {
  align-self: stretch;
  width: 100%;
  min-width: 0;
  display: block;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}

.empresas-menu .main-cta {
  margin: 0.1rem auto 0;
  display: inline-block;
  background: linear-gradient(180deg, var(--emp-btn-start), var(--emp-btn-end));
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.88rem 2.5rem;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(38, 92, 151, 0.36);
  transition: transform 0.2s ease;
}

.empresas-menu .main-cta:hover {
  transform: translateY(-2px);
}

.empresas-menu .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.22rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.empresas-menu .footer-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.empresas-menu .footer-links a:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.empresas-menu .dot {
  color: rgba(255, 255, 255, 0.85);
}

.empresas-menu .copyright {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 500;
  margin-top: -0.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

@media (min-width: 921px) {
  .empresas-menu .menu-screen {
    width: min(1180px, 100%);
  }

  .empresas-menu .cards {
    grid-template-columns: repeat(5, minmax(112px, 178px));
    gap: 1rem;
    width: min(980px, 100%);
  }

  .empresas-menu .icon {
    width: 98px;
  }
}

@media (max-width: 920px) {
  .empresas-menu .cards {
    grid-template-columns: repeat(3, minmax(130px, 150px));
  }
}

@media (max-width: 620px) {
  .empresas-menu .menu-screen {
    grid-template-rows: auto auto auto 1fr auto auto auto;
    padding-bottom: calc(30vh + env(safe-area-inset-bottom, 0px));
  }

  .empresas-menu .cards {
    grid-template-columns: repeat(2, minmax(130px, 150px));
  }

  .empresas-menu .main-cta {
    font-size: 1.2rem;
    padding: 0.8rem 1.8rem;
  }

  .empresas-menu .footer-links {
    font-size: 1rem;
  }
}

/* —— Cabeçalho das páginas internas —— */
.site-header--empresas .main-nav a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.site-header--empresas .empresas-back-menu {
  font-weight: 700;
  color: var(--primary);
}

.site-header--empresas .profile-switch-nav {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Blocos editáveis (CMS futuro) */
[data-cms-section] {
  position: relative;
}

/* —— Über Zmassage (sobre PJ) —— */
.pj-sobre__intro {
  margin-bottom: 2.5rem;
}

.pj-sobre__logo-wrap {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius-md, 14px);
  padding: 2rem;
  border: 1px solid var(--border-light, #dbe8f7);
}

.pj-sobre__logo {
  width: min(280px, 80%);
  height: auto;
  object-fit: contain;
}

.pj-section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--primary, #1f5f9f);
  text-align: center;
  margin: 0 0 1.75rem;
}

.pj-pillars {
  margin: 2.5rem 0;
}

.pj-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pj-pillar {
  text-align: center;
  padding: 1.35rem 1.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.pj-pillar h3 {
  font-size: 1.05rem;
  color: var(--primary, #1f5f9f);
  margin: 0;
  line-height: 1.3;
}

.pj-pillar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text, #31456c);
}

.pj-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f2fc, #d4e6f8);
  color: var(--primary, #1f5f9f);
}

.pj-pillar__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.pj-timeline {
  margin: 2.75rem 0 1rem;
}

.pj-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.pj-timeline__list::before {
  content: "";
  position: absolute;
  left: 4.25rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, #9ec5e8, #2f6db0);
  border-radius: 2px;
}

.pj-timeline__item {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
  padding-bottom: 1.75rem;
  position: relative;
}

.pj-timeline__item:last-child {
  padding-bottom: 0;
}

.pj-timeline__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary, #1f5f9f);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(31, 95, 159, 0.25);
}

.pj-timeline__body {
  background: var(--surface, #fff);
  border: 1px solid var(--border-light, #dbe8f7);
  border-radius: var(--radius-md, 14px);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 15px rgba(31, 95, 159, 0.06);
}

.pj-timeline__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--primary, #1f5f9f);
}

.pj-timeline__body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted, #5f7390);
}

@media (max-width: 900px) {
  .pj-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pj-pillars__grid {
    grid-template-columns: 1fr;
  }

  .pj-timeline__list::before {
    left: 1.35rem;
  }

  .pj-timeline__item {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.75rem;
  }

  .pj-timeline__year {
    min-width: 2.75rem;
    height: 2.75rem;
    font-size: 0.72rem;
  }
}