.meios-canais-widget {
  display: flex;
  background: #1818a7;
  color: white;
  border-radius: 10px;
  overflow: hidden;
}

.mc-sidebar {
  width: 25%;
  background: #1e1eb3;
  padding: 30px 15px;
}

.mc-item {
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
  position: relative;
  padding-left: 30px;
}

.mc-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  border-radius: 4px;
}

.mc-item:hover {
  color: #d9cd2c;
}

.mc-content {
  width: 75%;
  padding: 80px 0 0 80px;
  position: relative;
}

.mc-header h5 {
  font-size: 20px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.mc-header h2 {
  font-size: 86px;
  margin: 5px 0 20px;
  font-family: 'ExtendaTTF';
}

.mc-panel-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mc-panel-text {
  flex: 1 1 45%;
}

.mc-panel-text h3 {
  color: #d9cd2c;
  font-size: 75px;
  margin-bottom: 10px;
  font-family: 'ExtendaTTF';
}

.mc-panel-text p {
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Inter';
  width: 84%;
}

.mc-panel-image {
  position: relative;
  flex: 1 1 45%;
  max-width: 500px;
  right: 90px;
}

.mc-panel-image img {
  max-width: 100%;
  z-index: 2;
  position: relative;
}

.mc-panel-image .circle-bg {
  border-radius: 50%;
  position: absolute;
  width: 100%;
  padding-top: 100%;
  /* Mantém formato circular */
  top: 0;
  left: 0;
  z-index: 1;
}

.mc-sidebar {
  width: 25%;
  background: #1818a7;
  padding: 80px 15px;
  position: relative;
}

.mc-line-indicator {
  position: absolute;
  width: 40px;
  height: 4px;
  background: #d9cd2c;
  left: 0px;
  border-radius: 4px;
  transition: top 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(-12px);
  z-index: 1;
}

.mc-line-indicator.visible {
  opacity: 1;
  transform: translateX(0);
}

.mc-panel {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== MEDIA QUERIES PARA RESPONSIVIDADE ===== */

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .mc-content {
    padding: 60px 0 0 60px;
  }
  
  .mc-header h2 {
    font-size: 64px;
  }
  
  .mc-panel-text h3 {
    font-size: 56px;
  }
  
  .mc-panel-image {
    right: 60px;
    max-width: 400px;
  }
}

/* Tablets pequenos e smartphones grandes (481px - 768px) */
@media screen and (max-width: 768px) {
  .meios-canais-widget {
    flex-direction: column;
    border-radius: 8px;
  }
  
  .mc-sidebar {
    width: 100%;
    padding: 15px 10px;
    background: #1e1eb3;
    order: 1;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .mc-sidebar::-webkit-scrollbar {
    display: none;
  }
  
  .mc-content {
    width: 100%;
    padding: 40px 20px 20px 20px;
    order: 2;
  }
  
  .mc-header h5 {
    font-size: 16px;
  }
  
  .mc-header h2 {
    font-size: 48px;
    margin: 5px 0 15px;
  }
  
  .mc-panel-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .mc-panel-text {
    flex: 1 1 100%;
  }
  
  .mc-panel-text h3 {
    font-size: 42px;
    margin-bottom: 8px;
  }
  
  .mc-panel-text p {
    font-size: 14px;
    width: 100%;
    line-height: 1.5;
  }
  
  .mc-panel-image {
    flex: 1 1 100%;
    right: 0;
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  
  .mc-line-indicator {
    display: none;
  }
  
  .mc-item {
    padding: 8px 15px;
    margin-bottom: 0;
    margin-right: 0;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .mc-item.active {
    background-color: #d9cd2c;
    color: #1818a7;
    font-weight: bold;
  }
  
  .mc-item.active::before {
    display: none;
  }
  
  .mc-item:hover {
    background-color: rgba(217, 205, 44, 0.2);
    color: #d9cd2c;
  }
}

/* Smartphones (320px - 480px) */
@media screen and (max-width: 480px) {
  .meios-canais-widget {
    border-radius: 6px;
    margin: 0 10px;
  }
  
  .mc-sidebar {
    padding: 12px 8px;
    gap: 8px;
  }
  
  .mc-content {
    padding: 30px 15px 15px 15px;
  }
  
  .mc-header h5 {
    font-size: 14px;
  }
  
  .mc-header h2 {
    font-size: 36px;
    margin: 3px 0 12px;
    line-height: 1.1;
  }
  
  .mc-panel-inner {
    gap: 15px;
  }
  
  .mc-panel-text h3 {
    font-size: 32px;
    margin-bottom: 6px;
    line-height: 1.1;
  }
  
  .mc-panel-text p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .mc-panel-image {
    margin-top: 15px;
  }
  
  .mc-item {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 15px;
  }
}

/* Smartphones muito pequenos (até 320px) */
@media screen and (max-width: 320px) {
  .meios-canais-widget {
    margin: 0 5px;
    border-radius: 4px;
  }
  
  .mc-sidebar {
    padding: 10px 6px;
    gap: 6px;
  }
  
  .mc-content {
    padding: 25px 12px 12px 12px;
  }
  
  .mc-header h5 {
    font-size: 12px;
  }
  
  .mc-header h2 {
    font-size: 28px;
    margin: 2px 0 10px;
  }
  
  .mc-panel-text h3 {
    font-size: 26px;
    margin-bottom: 5px;
  }
  
  .mc-panel-text p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .mc-item {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 12px;
  }
}

/* Ajustes específicos para orientação landscape em dispositivos móveis */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .mc-sidebar {
    padding: 8px 10px;
  }
  
  .mc-content {
    padding: 20px 15px 10px 15px;
  }
  
  .mc-header h2 {
    font-size: 32px;
    margin: 2px 0 8px;
  }
  
  .mc-panel-text h3 {
    font-size: 28px;
    margin-bottom: 4px;
  }
  
  .mc-panel-text p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .mc-item {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* Melhorias de acessibilidade e usabilidade para touch */
@media (hover: none) and (pointer: coarse) {
  .mc-item {
    min-height: 36px;
    min-width: 60px;
  }
  
  .mc-item:active {
    transform: scale(0.95);
    background-color: #d9cd2c;
    color: #1818a7;
  }
}
