/*
Theme Name: Palco Pop
Theme URI: https://palcopop.com
Description: Tema WordPress responsivo para portal Palco Pop. A cópia é totalmente proibida.
Author: Lucas Mantoani
Author URI: https://lucasmantoani.com.br
*/

/* ==================== VARIÁVEIS E RESET ==================== */

:root {
  --partner-bar-height: 38px;
  --color-primary: #550081;
  --color-primary-dark: #3D0052;
  --color-secondary: #CE6FFF;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-light: #F9FAFB;
  --color-border: #E5E7EB;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 40px;
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: calc(90px + var(--partner-bar-height));
  margin: 0;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  body {
    padding-top: calc(90px + var(--partner-bar-height));
  }
}

/* ==================== TIPOGRAFIA ==================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ==================== CONTAINER E LAYOUT ==================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: none;
    padding: 0 60px;
  }
}

@media (min-width: 1367px) and (max-width: 1440px) {
  .container {
    max-width: 1300px;
  }
}

@media (min-width: 1441px) and (max-width: 1600px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 1601px) {
  .container {
    max-width: 1600px;
  }
}

.row {
  display: grid;
  gap: var(--spacing-lg);
}

.col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.col-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* ==================== HEADER ==================== */

.site-header {
  background-color: var(--color-white);
  z-index: 999;
}

.uai-bar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}

.header-top {
  position: fixed;
  top: var(--partner-bar-height);
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  height: 90px;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

.header-top .header-container {
  width: 100%;
  max-width: 1200px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
  margin: 0;
  position: relative;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  height: 70px;
}

@media (max-width: 1024px) {
  .header-container,
  .header-top .header-container {
    width: 100%;
    max-width: none;
    padding: 0 60px;
  }
}

@media (min-width: 1367px) and (max-width: 1440px) {
  .header-container,
  .header-top .header-container {
    max-width: 1300px;
  }
}

@media (min-width: 1441px) and (max-width: 1600px) {
  .header-container,
  .header-top .header-container {
    max-width: 1400px;
  }
}

@media (min-width: 1601px) {
  .header-container,
  .header-top .header-container {
    max-width: 1600px;
  }
}

.header-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.header-hamburger svg {
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.header-hamburger:hover {
  color: #CE6FFF;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-height: 50px;
  width: auto;
}
  margin: 0;
}

.header-logo a,
.header-logo img {
  display: block;
  max-height: 50px;
  max-width: 150px;
  width: auto;
  height: auto;
}

.header-logo .site-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.header-search-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--color-primary);
  padding: var(--spacing-sm);
  transition: var(--transition);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-toggle:hover {
  color: #CE6FFF;
}

.header-nav {
  display: none !important;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-md) 0;
  width: 100%;
  position: relative;
  z-index: 100;
}

.header-nav .header-container {
  display: flex;
  justify-content: center;
  padding: 0 var(--spacing-md);
  height: auto;
}

.header-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  margin: 0;
  padding: 0;
  width: 100%;
}

.header-nav li {
  margin: 0;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
  padding: var(--spacing-sm) 0;
}

.header-nav a:hover {
  color: var(--color-primary);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-nav .current-menu-item a,
.header-nav .current_page_item a {
  color: var(--color-primary);
}

.header-nav .current-menu-item a::after,
.header-nav .current_page_item a::after {
  width: 100%;
}

/* ==================== SIDEBAR MENU ==================== */

.sidebar-menu {
  position: fixed;
  left: -100%;
  top: var(--partner-bar-height);
  width: 100%;
  height: calc(100vh - var(--partner-bar-height));
  background-color: var(--color-white);
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-menu.active {
  left: 0;
}

/* Desktop: menu mais estreito */
@media (min-width: 1024px) {
  .sidebar-menu {
    width: 300px;
    left: -300px;
  }

  .sidebar-menu.active {
    left: 0;
  }
}

.sidebar-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  min-height: 90px;
}

.sidebar-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sidebar-menu-close:hover {
  color: var(--color-primary);
}

.sidebar-menu-content {
  padding: var(--spacing-lg) 0;
}

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

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
  border-left-color: var(--color-primary);
}

.sidebar-menu .current-menu-item a,
.sidebar-menu .current_page_item a {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
  border-left-color: var(--color-primary);
}

/* ==================== MENU OVERLAY ==================== */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  transition: background-color 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.menu-overlay.active {
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: all;
  opacity: 1;
}

/* ==================== SEARCH MODAL ==================== */

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(85, 0, 129, 0.3) 100%);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: var(--spacing-md);
  backdrop-filter: blur(2px);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background-color: var(--color-white);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  padding: 48px 60px;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: none;
}

@keyframes slideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.search-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--color-white);
  padding: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
}

.search-modal-close:hover {
  color: #CE6FFF;
  transform: scale(1.2);
}

.search-form-wrapper {
  text-align: center;
}

.search-form-wrapper h2 {
  display: none;
}

.search-form-wrapper p {
  display: none;
}

.search-form-wrapper label span {
  display: none;
}

.search-form-wrapper label {
  display: contents;
}

.search-form-wrapper {
  position: relative;
}

.search-form-wrapper form {
  display: flex;
  gap: 12px;
  flex-direction: row;
  align-items: center;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 80px;
  background-color: var(--color-white);
  border: 1px solid rgba(85, 0, 129, 0.1);
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-suggestions.active {
  display: block;
}

.search-suggestion-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(85, 0, 129, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background-color: rgba(85, 0, 129, 0.05);
}

.search-suggestion-item .title {
  font-weight: 500;
  color: var(--color-text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-item .icon {
  color: var(--color-primary);
  font-size: 12px;
}

.search-form-wrapper input[type="search"],
.search-form-wrapper input[type="text"] {
  display: block !important;
  flex: 1;
  padding: 18px 24px;
  border: 2px solid rgba(85, 0, 129, 0.15) !important;
  border-radius: 14px;
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  transition: var(--transition);
  background-color: var(--color-white) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 54px;
}

.search-form-wrapper input[type="search"]::placeholder,
.search-form-wrapper input[type="text"]::placeholder {
  color: var(--color-text-light);
}

.search-form-wrapper input[type="search"]:focus,
.search-form-wrapper input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(85, 0, 129, 0.12), inset 0 0 0 0.5px rgba(85, 0, 129, 0.1);
  background-color: var(--color-white);
}

.search-form-wrapper button[type="submit"],
.search-form-wrapper input[type="submit"] {
  padding: 16px 36px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  font-size: var(--font-size-base);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(85, 0, 129, 0.3);
  font-family: var(--font-primary);
}

.search-form-wrapper button[type="submit"]:hover,
.search-form-wrapper input[type="submit"]:hover {
  background-color: #3D0052;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(85, 0, 129, 0.4);
}

.search-form-wrapper button[type="submit"]:active,
.search-form-wrapper input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(85, 0, 129, 0.3);
}

/* Mobile: Input e botão em coluna */
@media (max-width: 480px) {
  .search-form-wrapper form {
    flex-direction: column;
  }

  .search-form-wrapper button[type="submit"],
  .search-form-wrapper input[type="submit"] {
    width: 100%;
  }
}

/* ==================== HERO CARROSEL ==================== */

.hero-carousel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.carousel-progress-bar::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 0%;
  background-color: #CE6FFF;
  left: 0;
  top: 0;
  transition: width linear;
}

.carousel-progress-bar.active::after {
  animation: carouselProgress 5s linear forwards;
}

@keyframes carouselProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-slide {
  display: none;
  grid-template-columns: 1.1fr 1.2fr;
  align-items: center;
  gap: var(--spacing-2xl);
  padding: 60px var(--spacing-md);
  min-height: 400px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  display: grid;
  opacity: 1;
}

.carousel-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-badge {
  display: inline-block;
  background-color: #CE6FFF;
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  width: fit-content;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.carousel-content h2 {
  font-size: 36px;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.2;
}

.carousel-content h2 a {
  color: var(--color-white);
  text-decoration: none;
}

.carousel-content h2 a:hover {
  color: var(--color-white);
}

.carousel-content p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: calc(100% + 100px);
  left: -50px;
  display: flex;
  justify-content: space-between;
  padding: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.carousel-arrow {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.4s ease-in-out;
  pointer-events: all;
}

.carousel-arrow:hover {
  background-color: transparent;
  color: #CE6FFF;
}

/* ==================== SEÇÕES PRINCIPAIS ==================== */

.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.section.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-bottom: none;
}

.section.bg-primary h2,
.section.bg-primary h3 {
  color: var(--color-white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  text-align: left;
}

.section:not(.bg-primary) .section-header {
  justify-content: space-between;
}

.section:first-of-type .section-header {
  justify-content: center;
}

.section:first-of-type .section-title {
  text-align: center;
}

.colunas-section {
  background-color: #F7F7F7;
}

.colunas-section .section-header,
.lancamentos-section .section-header {
  justify-content: space-between;
}

.colunas-section .section-title,
.lancamentos-section .section-title {
  text-align: left;
}

.section.bg-primary .section-title {
  color: var(--color-white);
}

.section-link {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--color-text-light);
  text-decoration: none;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s ease;
}

.section.bg-primary .section-link {
  color: var(--color-white);
}

.section-link:hover {
  gap: var(--spacing-md);
}

/* ==================== CONTENT CARD ==================== */

.content-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #E5E7EB;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.content-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.content-card-image.placeholder {
  background-color: #E5E7EB;
}

.content-card-content {
  padding: var(--spacing-md) 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.content-card-date {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

.content-card-title {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.4;
  flex-grow: 1;
}

.content-card-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-card-title a:hover {
  color: var(--color-primary);
}

/* ==================== PLANTÃO POP ==================== */

.plantao-pop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ==================== COBERTURAS ==================== */

.section.bg-primary .section-header {
  justify-content: space-between;
}

.section.bg-primary .section-title {
  text-align: left;
}

.section-link {
  display: flex;
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  text-decoration: none;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s ease;
}

.section-link i {
  color: var(--color-secondary);
}

.section-link:hover {
  gap: var(--spacing-md);
  color: var(--color-primary);
}

.section.bg-primary .section-link {
  display: flex;
  font-size: var(--font-size-lg);
  font-weight: 400;
  padding: 0;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.section.bg-primary .section-link i {
  color: var(--color-secondary);
}

.section.bg-primary .section-link:hover {
  gap: var(--spacing-md);
}

.coberturas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.cobertura-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 400px;
  background-color: rgba(0, 0, 0, 0.3);
}

.cobertura-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s ease;
}

.cobertura-card:hover img {
  transform: scale(1.08);
}

.cobertura-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  color: var(--color-white);
}

.cobertura-content h3 {
  font-size: var(--font-size-xl);
  margin: 0;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.3;
}

.cobertura-content a {
  color: var(--color-white);
}

/* ==================== COLUNAS ==================== */

.colunas-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: 80px;
  padding-bottom: 0;
  border-bottom: none;
  align-items: center;
}

.colunas-featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.colunas-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.colunas-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.colunas-featured-content h3 {
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.colunas-featured-content p {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

.colunas-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.colunas-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-bottom: 0;
  border-bottom: none;
}

.colunas-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.colunas-item-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.colunas-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.colunas-item-content h4 {
  font-size: var(--font-size-base);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  line-height: 1.4;
}

.colunas-item-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

/* ==================== LANÇAMENTOS ==================== */

.lancamentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ==================== FOOTER ==================== */

.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.footer-logo a {
  display: flex;
  align-items: center;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav ul {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  font-size: var(--font-size-sm);
}

.footer-left {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-left a,
.footer-right {
  color: rgba(255, 255, 255, 0.9);
}

.footer-left a:hover {
  color: var(--color-white);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-dev-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-dev-logo:hover {
  opacity: 0.8;
}

.footer-dev-logo img {
  height: 20px;
  width: auto;
}

/* ==================== RESPONSIVO ==================== */

/* Mobile e Tablet: até 1023px */
@media (max-width: 1023px) {
  .header-logo a img {
    max-height: 45px;
  }
}

/* Desktop: 1025px e acima - Navbar visível */
@media (min-width: 1025px) {
  .header-nav {
    display: block !important;
  }

  .header-nav ul {
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  /* Espaçamento reduzido */

  .uai-bar {
    position: absolute !important;
  }

  .header-top {
    padding: 0;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    padding: var(--spacing-2xl) var(--spacing-md);
    min-height: 350px;
    gap: var(--spacing-lg);
  }

  .carousel-image {
    aspect-ratio: 16/9;
    min-height: auto;
  }

  .carousel-badge {
    display: none;
  }

  .carousel-content h2 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
  }

  .carousel-content p {
    margin-bottom: var(--spacing-xs);
  }

  .carousel-nav {
    width: calc(100% + 60px);
    left: -30px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .plantao-pop {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    margin-bottom: 0;
    text-align: center;
  }

  .colunas-section .section-title,
  .lancamentos-section .section-title,
  .section.bg-primary .section-title,
  .section:first-of-type .section-title {
    text-align: center;
  }

  .section-header {
    margin-bottom: 0;
  }

  .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .section.bg-primary .section-header {
    order: 1;
    display: contents;
  }

  .section.bg-primary .coberturas-grid {
    order: 2;
  }

  .section.bg-primary .section-link {
    order: 3;
    align-self: center;
    margin-top: var(--spacing-lg);
  }

  .colunas-section .section-header {
    order: 1;
    display: contents;
  }

  .colunas-section .colunas-featured {
    order: 2;
  }

  .colunas-section .colunas-list {
    order: 3;
  }

  .colunas-section .section-link {
    order: 4;
    align-self: center;
    margin-top: var(--spacing-lg);
  }

  .lancamentos-section .section-header {
    order: 1;
    display: contents;
  }

  .lancamentos-section .lancamentos-grid {
    order: 2;
  }

  .lancamentos-section .section-link {
    order: 3;
    align-self: center;
    margin-top: var(--spacing-lg);
  }

  .coberturas-grid {
    grid-template-columns: 1fr;
  }

  .cobertura-card {
    min-height: 300px;
  }

  .colunas-featured {
    grid-template-columns: 1fr;
  }

  .colunas-featured-image img {
    aspect-ratio: 16 / 9;
  }

  .colunas-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .colunas-item-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .lancamentos-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

/* Tablet: 481px até 1024px */
@media (min-width: 481px) and (max-width: 1024px) {
  /* Hero Carousel */
  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-image {
    aspect-ratio: 16/9;
    min-height: auto;
  }

  /* Plantão Pop */
  .plantao-pop {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Colunas Featured */
  .colunas-featured {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
    gap: var(--spacing-md);
  }

  /* Colunas List */
  .colunas-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Lançamentos */
  .lancamentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container,
  .header-container,
  .header-top .header-container {
    padding: 0 20px;
  }

  .header-container {
    height: 60px;
  }

  .section {
    padding: 40px 0;
  }

  .header-logo a img {
    max-height: 40px;
  }

  .header-search-toggle {
    font-size: 24px;
  }

  .header-hamburger span {
    width: 20px;
    height: 2px;
    margin: 4px 0;
  }

  .search-modal-content {
    padding: var(--spacing-lg);
    border-radius: 0;
  }

  .plantao-pop {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .cobertura-card {
    min-height: 250px;
  }

  .cobertura-content {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .section.bg-primary .section-link {
    margin-top: var(--spacing-sm);
  }

  .colunas-featured {
    gap: var(--spacing-md);
    margin-bottom: 0;
  }

  .colunas-featured-content h3 {
    font-size: 24px;
  }

  .footer-logo {
    margin-bottom: var(--spacing-md);
  }

  .footer-nav {
    padding-bottom: 0;
    border-bottom: none;
  }

  .cobertura-content h3 {
    font-size: var(--font-size-base);
  }

  .colunas-list {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-image {
    aspect-ratio: 16/9;
    min-height: auto;
  }

  .carousel-badge {
    display: none;
  }

  .carousel-nav {
    width: calc(100% + 40px);
    left: -20px;
  }

  .carousel-content h2 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
  }

  .carousel-content p {
    margin-bottom: var(--spacing-xs);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  h1 {
    font-size: var(--font-size-2xl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  .footer-nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

.palco-pop-ad.palco-pop-ad-home {
    margin: 0 auto 60px;
    width: 100%;
    img{
      max-width: 100%
    }
}

.palco-pop-ad.palco-pop-ad-post_conteudo{
    margin: 0 auto 20px;
    width: 100%;
    img{
      max-width: 100%
    }    
}

.palco-pop-ad.palco-pop-ad-lateral {
    margin: 25px auto 0px;
    width: 100%;
    img{
      max-width: 100%
    }    
}

