@font-face{
  font-family:"Bw Modelica SS02";
  src:url("assets/BwModelicaSS02-Medium.otf") format("opentype");
  font-weight:500;
  font-style:normal;
  font-display:block;
}

:root {
  --bg: #B6CCC3;
  --text: #626267;
  --text-dark: #4F5054;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  font-family: "Bw Modelica SS02", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* TV LG em pé, navegador landscape: canvas vertical girado para esquerda */
.stage {
  position: absolute;
  width: 100vh;
  height: 100vw;
  top: 100vh;
  left: 0;
  transform-origin: top left;
  transform: rotate(-90deg);
  background: linear-gradient(180deg, #BBD1C8 0%, var(--bg) 58%, #AEC6BB 100%);
  overflow: hidden;
}

.bg-mark { display: none !important; }

.logo {
  position: absolute;
  z-index: 10;
  top: 4.25vw;
  left: 50%;
  width: 35.7vh;
  max-height: 12vw;
  transform: translateX(-50%);
  object-fit: contain;
}

.screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 820ms cubic-bezier(.22,.61,.36,1), transform 820ms cubic-bezier(.22,.61,.36,1);
}

.hidden {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  pointer-events: none;
  filter: none;
}

.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.exiting {
  opacity: 0;
  transform: translateY(-18px) scale(.988);
  filter: none;
}

/* Lista principal */
.screen-list {
  top: 34vw;
  left: 7vh;
  right: 5vh;
  height: auto;
}

.screen-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.screen-list li {
  position: relative;
  margin: 0 0 2.05vw;
  padding-left: 5vh;
  font-size: 5.55vh;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.12vh;
  color: var(--text);
  transition: opacity 420ms ease, transform 420ms ease, color 420ms ease;
}

.screen-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -0.2vw;
  font-size: 5.35vh;
}

.screen-list li.dim {
  opacity: .62;
  color: #626267;
}

.screen-list li.highlight {
  opacity: 1;
  color: #48494D;
  transform: translateX(1.2vh);
}

.screen-area { display: none; }

/* Card */
.profile {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 19.2vw;
  transition: opacity 1300ms cubic-bezier(.4,0,.2,1), transform 1300ms cubic-bezier(.4,0,.2,1);
}

.card {
  width: 72vh;
  min-height: 61.5vw;
  border-radius: 6.2vh;
  background: var(--white);
  padding: 2.15vh 2.15vh 2.0vw;
  box-shadow:
    0 2.2vw 6.2vw rgba(55, 70, 65, .115),
    0 .45vw 1.4vw rgba(55, 70, 65, .045),
    0 1px 0 rgba(255,255,255,.62) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-frame {
  width: 63.5vh;
  height: 63.5vh; /* FOTO QUADRADA */
  border-radius: 5.2vh;
  overflow: hidden;
  background: #f4f4f4;
  flex: 0 0 auto;
}

.photo-frame img {
  display: block;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  animation: photoZoom 9.5s ease-in-out infinite alternate;
  opacity: 1;
  image-rendering: auto;
}

.photo-frame img[data-photo="clara.jpg"] { object-position: 51% 38%; }
.photo-frame img[data-photo="ana-laura-20260929.jpg"] { object-position: 52% 42%; }
.photo-frame img[data-photo="bruna.jpg"] { object-position: 50% 25%; }
.photo-frame img[data-photo="patricia.jpg"] { object-position: 50% 35%; }
.photo-frame img[data-photo="leticia.jpg"] { object-position: 50% 25%; }
.photo-frame img[data-photo="gabriela.jpg"] { object-position: 50% 34%; }

.tag {
  margin-top: 1.15vw;
  padding: .58vw 2.3vh;
  border-radius: 999px;
  background: #EEF4F1;
  border: 1.5px solid #C8D7D0;
  color: #6D7F77;
  font-size: 3.2vh;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .025vh;
}

#name {
  width: 100%;
  margin: 1.25vw 0 .55vw;
  text-align: center;
  color: #626267;
  font-size: 6.0vh;
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.08vh;
  white-space: nowrap;
}

#register {
  min-height: 3.1vw;
  color: #626267;
  font-size: 3.35vh;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: .10vh;
  text-align: center;
  white-space: pre-line;
}

#items {
  width: 100%;
  margin: 2.05vw 0 0;
  padding: 0 0.3vh 0 5.8vh;
}

#items li {
  color: #626267;
  font-size: 3.85vh;
  line-height: 1.32;
  font-weight: 500;
  margin-bottom: 1.05vw;
  padding-left: .55vh;
  white-space: pre-line;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Ajustes individuais para manter igual aos prints */
.card[data-person="ana"] #name { font-size: 5.6vh; }
.card[data-person="ana"] #register { font-size: 3.15vh; }
.card[data-person="ana"] #items li { font-size: 3.85vh; }

.card[data-person="bruna"] #items li { font-size: 3.55vh; white-space: nowrap; margin-bottom: 1.0vw; }
.card[data-person="bruna"] #items { padding-left: 3.0vh; margin-top: 1.65vw; }

.card[data-person="patricia"] #items li { font-size: 3.55vh; }
.card[data-person="patricia"] #items { padding-left: 3.7vh; }

.card[data-person="leticia"] #name { font-size: 5.65vh; }
.card[data-person="leticia"] #items li { font-size: 3.6vh; }
.card[data-person="leticia"] #items { padding-left: 4.0vh; }

.card[data-person="gabriela"] #name { font-size: 5.55vh; }
.card[data-person="gabriela"] #items li { font-size: 3.55vh; }
.card[data-person="gabriela"] #items { padding-left: 4.3vh; }

@keyframes photoZoom {
  from { transform: scale(1.000); }
  to { transform: scale(1.018); }
}


/* Barra inferior institucional */
.bottom-info {
  position: absolute;
  z-index: 20;
  left: 5.5vh;
  right: 5.5vh;
  bottom: 1.4vw;
  min-height: 4.4vw;
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 .9vw 2.4vw rgba(55, 70, 65, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3.0vh;
  color: #626267;
  font-size: 3.25vh;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02vh;
  text-align: center;
  backdrop-filter: blur(6px);
}






/* Frases da barra inferior - troca por CSS, sem JavaScript */
.bottom-info {
  overflow: hidden;
}

.bottom-message {
  position: absolute;
  left: 3vh;
  right: 3vh;
  text-align: center;
  opacity: 0;
  transform: translateY(.35vw);
  animation: bottomMessageCycle 30s infinite;
  white-space: nowrap;
}

.bottom-message.msg-1 { animation-delay: 0s; }
.bottom-message.msg-2 { animation-delay: 6s; }
.bottom-message.msg-3 { animation-delay: 12s; }
.bottom-message.msg-4 { animation-delay: 18s; }
.bottom-message.msg-5 { animation-delay: 24s; }

@keyframes bottomMessageCycle {
  0%   { opacity: 0; transform: translateY(.35vw); }
  5%   { opacity: 1; transform: translateY(0); }
  17%  { opacity: 1; transform: translateY(0); }
  22%  { opacity: 0; transform: translateY(-.35vw); }
  100% { opacity: 0; transform: translateY(-.35vw); }
}








/* Clima atual - canto superior direito */
.weather-widget {
  position: absolute;
  z-index: 30;
  top: 4.65vw;
  right: 6.2vh;
  min-width: 19vh;
  height: 5.2vw;
  padding: 0 2.8vh;
  border-radius: 999px;
  background: rgba(86, 104, 96, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25vh;
  color: #4F5B56;
  font-size: 3.75vh;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03vh;
  box-shadow: 0 .55vw 1.5vw rgba(55, 70, 65, .07);
}

#weatherIcon {
  font-size: 4.15vh;
  line-height: 1;
  filter: drop-shadow(0 0 .18vh rgba(60, 70, 66, .35));
}

#weatherTemp,
#weatherIcon {
  transition: opacity 420ms ease, transform 420ms ease;
}

.weather-widget.updating #weatherTemp,
.weather-widget.updating #weatherIcon {
  opacity: 0;
  transform: translateY(.35vw);
}

.photo-frame {
  position: relative;
  /* Recorte fixo, independente da camada animada da imagem. */
  -webkit-clip-path: inset(0 round 5.2vh);
  clip-path: inset(0 round 5.2vh);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 0;
}

.photo-frame::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(182, 204, 195, .98);
}

.visible .photo-frame img {
  animation: photoZoom 9.5s cubic-bezier(.22,.8,.22,1) infinite alternate;
}


/* Chamada discreta acima da barra */
.team-hint {
  position: absolute;
  z-index: 19;
  left: 0;
  right: 0;
  bottom: 7.2vw;
  text-align: center;
  color: rgba(98, 98, 103, .72);
  font-size: 2.25vh;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .16vh;
  text-transform: uppercase;
}


/* Dra. Ana Carolina A. Nuernberg */
.photo-frame img[data-photo="ana-carolina.jpg"] { object-position: 50% 50%; }
.card[data-person="ana-carolina"] #name {
  font-size: 5.35vh;
  line-height: 1.08;
  white-space: pre-line;
  margin-top: 1.0vw;
  margin-bottom: .45vw;
}
.card[data-person="ana-carolina"] #register {
  font-size: 3.1vh;
}
.card[data-person="ana-carolina"] #items {
  margin-top: 1.55vw;
  padding-left: 3.8vh;
}
.card[data-person="ana-carolina"] #items li {
  font-size: 3.48vh;
  white-space: nowrap;
  margin-bottom: .82vw;
}


/* Ajuste Ana Carolina: nome mais próximo da foto e mais respiro antes do CRM */
.card[data-person="ana-carolina"] #name {
  margin-top: 0.65vw;
  margin-bottom: 1.20vw;
}

/* Marina Mattei: preservar o topo da foto no recorte quadrado. */
.photo-frame img[data-photo="marina-mattei.jpg"] { object-position: 50% 0%; }

/* Relogio discreto, no canto oposto ao clima. */
.clock-widget {
  position: absolute;
  z-index: 30;
  top: 4.65vw;
  left: 6.2vh;
  min-width: 19vh;
  height: 5.2vw;
  padding: 0 2.8vh;
  border-radius: 999px;
  background: rgba(86, 104, 96, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4F5B56;
  font-size: 3.75vh;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03vh;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 .55vw 1.5vw rgba(55, 70, 65, .07);
}
