

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  background-color: var(--background-dark);
}

.main-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Seção de previsão do tempo (lado esquerdo) */
.weather-section {
  width: 25%;
  height: 100%;
  background: var(--background-gradient);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}

.logo-container {
  text-align: center;
}

.company-logo {
  max-width: 80%;
  height: auto;
  margin-bottom: 1rem;
}

.location-info {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.weather-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.weather-date {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.current-temp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 0 0;
}

.temp-icon {
  font-size: 3rem;
  margin-right: 1rem;
  color: var(--secondary-color);
}

.temp-value {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
}

.weather-condition {
  text-align: center;
  font-size: 1.8rem;
}

.weather-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.weather-detail {
  display: flex;
  align-items: center;
}

.detail-icon {
  width: 2rem;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.detail-info {
  flex: 1;
}

.detail-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.digital-clock {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 1rem;
}

.forecast-report {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.forecast-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.forecast-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.bottom-logo {
  text-align: center;
  margin-top: 1rem;
}

.company-logo-small {
  max-width: 50%;
  height: auto;
}

/* Seção de conteúdo principal (centro/direita) */
.content-section {
  width: 75%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.main-carousel {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}


.carousel-image, .carousel-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Barra de notícias (parte inferior) */
.news-ticker {
  height: 100px;
  width: 100%;
  background-color: var(--news-ticker-bg);
  display: flex;
  overflow: hidden;
}


.news-ticker-header {
  display: flex;
  flex-direction: column;
  background-color: var(--dark-blue);
  padding: 0 1rem;
  min-width: 180px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.news-ticker-header::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 20px solid var(--dark-blue);
}


.ticker-time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.ticker-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.ticker-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  overflow: hidden;
}

.ticker-text {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  white-space: normal; /* permite quebra de linha */
  word-wrap: break-word; /* quebra palavras longas */
  overflow-wrap: break-word;
}


.bottom-banner {
  width: 100%;
  height: 215px;
  background-color: var(--background-dark);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 15px;
  z-index: 9999;
}

.scrolling-content {
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  font-size: 1.2rem;
}


#previsaoProxima {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;      /* 🚀 NÃO deixa quebrar linha */
  gap: 10px;
  overflow: hidden;       /* 🚀 Esconde os itens que não cabem */
  white-space: nowrap;    /* 🚀 Garante que tudo fica numa linha só */
}

/* Cada card */
#previsaoProxima > div {
  flex: 0 0 auto;         /* 🚀 Impede que os itens tentem se encolher ou expandir */
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsividade */
@media (max-width: 1200px) {
  .temp-value {
    font-size: 3.5rem;
  }
  
  .digital-clock {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .weather-section {
    padding: 1rem;
  }
  
  .temp-value {
    font-size: 3rem;
  }
  
  .weather-condition {
    font-size: 1rem;
  }
  
  .digital-clock {
    font-size: 1.8rem;
  }
}
